13
0

Use better debug output in PortaudioBackend

When failing to open audio stream in callback mode
This commit is contained in:
Tim Mayberry 2016-11-10 11:41:19 +10:00
parent ed09a68f24
commit 8b5fad0cf9

View File

@ -808,7 +808,8 @@ PortAudioIO::open_callback_stream(int device_input,
data);
if (err != paNoError) {
DEBUG_AUDIO ("PortAudio failed to start stream.\n");
DEBUG_AUDIO(string_compose("PortAudio failed to open stream %1\n",
Pa_GetErrorText(err)));
return paInternalError;
}