1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Debug build shouldn't hang when MIDI play fails to start

This commit is contained in:
Paul Licameli 2020-12-24 14:28:17 -05:00
parent 5057e2360a
commit c410228cfb

View File

@ -2116,6 +2116,9 @@ bool AudioIO::StartPortMidiStream()
}
} // (else playback device has Pm_GetDefaultOuputDeviceID())
if (playbackDevice < 0)
return false;
/* open output device */
mLastPmError = Pm_OpenOutput(&mMidiStream,
playbackDevice,