port audio settings to new config system

This commit is contained in:
Arisotura
2024-05-23 02:23:24 +02:00
parent d634c450bb
commit daf981e7c2
12 changed files with 132 additions and 75 deletions

View File

@ -39,6 +39,9 @@ public:
EmuThread* getEmuThread() { return emuThread; }
melonDS::NDS* getNDS() { return nds; }
Config::Table& getGlobalConfig() { return globalCfg; }
Config::Table& getLocalConfig() { return localCfg; }
void createWindow();
// return: empty string = setup OK, non-empty = error message
@ -182,6 +185,13 @@ private:
melonDS::u32 micBufferLength;
melonDS::u32 micBufferReadPos;
//int audioInterp;
int audioVolume;
bool audioDSiVolumeSync;
int micInputType;
std::string micDeviceName;
std::string micWavPath;
friend class EmuThread;
friend class MainWindow;
};