CONFIG_MIDI -> CONFIG_MIDI_OUT
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
#define CONFIG_INT 1
|
#define CONFIG_INT 1
|
||||||
#define CONFIG_BINARY 2
|
#define CONFIG_BINARY 2
|
||||||
#define CONFIG_SELECTION 3
|
#define CONFIG_SELECTION 3
|
||||||
#define CONFIG_MIDI 4
|
#define CONFIG_MIDI_OUT 4
|
||||||
#define CONFIG_FNAME 5
|
#define CONFIG_FNAME 5
|
||||||
#define CONFIG_SPINNER 6
|
#define CONFIG_SPINNER 6
|
||||||
#define CONFIG_HEX16 7
|
#define CONFIG_HEX16 7
|
||||||
|
@@ -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);
|
config_set_int(device_context.name, const_cast<char*>(config->name), cbox->isChecked() ? 1 : 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CONFIG_MIDI:
|
case CONFIG_MIDI_OUT:
|
||||||
case CONFIG_MIDI_IN:
|
case CONFIG_MIDI_IN:
|
||||||
case CONFIG_SELECTION:
|
case CONFIG_SELECTION:
|
||||||
{
|
{
|
||||||
|
@@ -235,7 +235,7 @@ rtmidi_in_get_dev_name(int num, char *s)
|
|||||||
static const device_config_t system_midi_config[] =
|
static const device_config_t system_midi_config[] =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
"midi", "MIDI out device", CONFIG_MIDI, "", 0
|
"midi", "MIDI out device", CONFIG_MIDI_OUT, "", 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"", "", -1
|
"", "", -1
|
||||||
|
@@ -93,7 +93,7 @@ deviceconfig_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
id += 2;
|
id += 2;
|
||||||
break;
|
break;
|
||||||
case CONFIG_MIDI:
|
case CONFIG_MIDI_OUT:
|
||||||
val_int = config_get_int((char *) config_device.name,
|
val_int = config_get_int((char *) config_device.name,
|
||||||
(char *) config->name, config->default_int);
|
(char *) config->name, config->default_int);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user