aboutsummaryrefslogtreecommitdiff
path: root/utils/winmm_drv/config/regconfig.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2024-08-22 18:26:45 +0300
committerWohlstand <admin@wohlnet.ru>2024-08-22 18:26:45 +0300
commitb00d3f8d933fc7de26b954bedf841cb484139562 (patch)
treef2a7d6b2ee45cece57fdbe78a944b41c459a5c0a /utils/winmm_drv/config/regconfig.h
parentc68dc6970d5b4abab13e138ac977f7212ef32e4a (diff)
downloadlibADLMIDI-b00d3f8d933fc7de26b954bedf841cb484139562.tar.gz
libADLMIDI-b00d3f8d933fc7de26b954bedf841cb484139562.tar.bz2
libADLMIDI-b00d3f8d933fc7de26b954bedf841cb484139562.zip
WinMM: Added gaining function
Diffstat (limited to 'utils/winmm_drv/config/regconfig.h')
-rw-r--r--utils/winmm_drv/config/regconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/winmm_drv/config/regconfig.h b/utils/winmm_drv/config/regconfig.h
index 7c49bd6..2dac28a 100644
--- a/utils/winmm_drv/config/regconfig.h
+++ b/utils/winmm_drv/config/regconfig.h
@@ -30,6 +30,8 @@ typedef struct DriverSettings_t
int num4ops;
UINT outputDevice;
+
+ UINT gain100;
} DriverSettings;
extern const WCHAR g_adlSignalMemory[];
@@ -38,9 +40,13 @@ extern void setupDefault(DriverSettings *setup);
extern void loadSetup(DriverSettings *setup);
extern void saveSetup(DriverSettings *setup);
+extern void saveGain(DriverSettings *setup);
+extern void getGain(DriverSettings *setup);
+
#define DRV_SIGNAL_RELOAD_SETUP 1
#define DRV_SIGNAL_RESET_SYNTH 2
+#define DRV_SIGNAL_UPDATE_GAIN 3
// Client
/**