mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 13:41:05 +00:00
parent
69e7eca670
commit
45efbd97c0
1 changed files with 6 additions and 2 deletions
|
@ -249,15 +249,19 @@ new_fluid_winmidi_driver(fluid_settings_t *settings,
|
|||
|
||||
if(res == MMSYSERR_NOERROR)
|
||||
{
|
||||
FLUID_LOG(FLUID_DBG, "Testing midi device: %s\n", in_caps.szPname);
|
||||
FLUID_LOG(FLUID_DBG, "Testing midi device: %s", in_caps.szPname);
|
||||
|
||||
if(FLUID_STRCASECMP(dev_name, in_caps.szPname) == 0)
|
||||
{
|
||||
FLUID_LOG(FLUID_DBG, "Selected midi device number: %d\n", i);
|
||||
FLUID_LOG(FLUID_DBG, "Selected midi device number: %u", i);
|
||||
midi_num = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
FLUID_LOG(FLUID_DBG, "Error testing midi device %u of %u: %s (error %d)", i, num, fluid_winmidi_input_error(strError, res), res);
|
||||
}
|
||||
}
|
||||
|
||||
if(midi_num != i)
|
||||
|
|
Loading…
Reference in a new issue