CONFIG_MIDI -> CONFIG_MIDI_OUT

This commit is contained in:
Jasmine Iwanek
2022-02-20 00:14:07 -05:00
parent 25e9087f3f
commit 2836c7f05b
4 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@
#define CONFIG_INT 1
#define CONFIG_BINARY 2
#define CONFIG_SELECTION 3
#define CONFIG_MIDI 4
#define CONFIG_MIDI_OUT 4
#define CONFIG_FNAME 5
#define CONFIG_SPINNER 6
#define CONFIG_HEX16 7

View File

@@ -178,7 +178,7 @@ void DeviceConfig::ConfigureDevice(const _device_* device, int instance, Setting
config_set_int(device_context.name, const_cast<char*>(config->name), cbox->isChecked() ? 1 : 0);
break;
}
case CONFIG_MIDI:
case CONFIG_MIDI_OUT:
case CONFIG_MIDI_IN:
case CONFIG_SELECTION:
{

View File

@@ -235,7 +235,7 @@ rtmidi_in_get_dev_name(int num, char *s)
static const device_config_t system_midi_config[] =
{
{
"midi", "MIDI out device", CONFIG_MIDI, "", 0
"midi", "MIDI out device", CONFIG_MIDI_OUT, "", 0
},
{
"", "", -1

View File

@@ -93,7 +93,7 @@ deviceconfig_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
id += 2;
break;
case CONFIG_MIDI:
case CONFIG_MIDI_OUT:
val_int = config_get_int((char *) config_device.name,
(char *) config->name, config->default_int);