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:
parent
5057e2360a
commit
c410228cfb
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user