Fixed the configuration file section the MIDI input device is obtained from.
This commit is contained in:
@@ -166,7 +166,7 @@ rtmidi_input_init(const device_t *info)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
midi_in_id = config_get_int((char*)SYSTEM_MIDI_NAME, (char*)"midi_input", 0);
|
midi_in_id = config_get_int((char*)MIDI_INPUT_NAME, (char*)"midi_input", 0);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
midiin->openPort(midi_in_id);
|
midiin->openPort(midi_in_id);
|
||||||
|
Reference in New Issue
Block a user