initial commit
This commit is contained in:
25
src/utils/workers/setup.hpp
Normal file
25
src/utils/workers/setup.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
namespace hr
|
||||
{
|
||||
enum class DOMAIN_PLUGIN
|
||||
{
|
||||
TIME,
|
||||
FREQUENSY
|
||||
};
|
||||
|
||||
struct setup
|
||||
{
|
||||
// Эти данные заполняются из прочитанного файла (sndfile)
|
||||
int m_sample_rate;
|
||||
int m_frames;
|
||||
int m_channels;
|
||||
|
||||
std::filesystem::path m_file;
|
||||
std::size_t m_block_size = 1'024;
|
||||
std::size_t m_step_size = 512;
|
||||
DOMAIN_PLUGIN m_domain = DOMAIN_PLUGIN::FREQUENSY;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user