Added: Support for having individual configurations for multiple devices. This is possible via the new command "Device" that allows to select the output devices to which the following commands (filters etc.) should be applied. The Configurator got a new button to generate a Device command for the selected connection(s).
This commit is contained in:
1 parent
7758366b58
commit
ef61580c19
17 files changed
+290
-92
No files matched your search
+5
-1
@@ -36,15 +36,19 @@ public:
|
||||
ParametricEQ();
|
||||
~ParametricEQ();
|
||||
|
||||
void setDeviceInfo(const std::wstring& deviceName, const std::wstring& connectionName, const std::wstring& deviceGuid);
|
||||
void initialize(float sampleRate, unsigned channelCount);
|
||||
void loadConfig();
|
||||
void process(float *output, float *input, unsigned frameCount);
|
||||
|
||||
private:
|
||||
void loadConfig(std::wstring path, unsigned& loadFilterCount, float& loadPreamp);
|
||||
float getFreq(char* freqString);
|
||||
float getFreq(const std::wstring& freqString);
|
||||
static unsigned long __stdcall notificationThread(void* parameter);
|
||||
|
||||
std::wstring deviceName;
|
||||
std::wstring connectionName;
|
||||
std::wstring deviceGuid;
|
||||
std::wstring configPath;
|
||||
float sampleRate;
|
||||
unsigned channelCount;
|
||||
|
||||
Reference in new issue
Block a user