Commit 0fb47a84 authored by Stephane Letz's avatar Stephane Letz
Browse files

More debug messages in JackPortAudioDriver::Close().

parent fcf8c5ae
...@@ -259,6 +259,9 @@ int JackPortAudioDriver::Close() ...@@ -259,6 +259,9 @@ int JackPortAudioDriver::Close()
jack_log("JackPortAudioDriver::Close"); jack_log("JackPortAudioDriver::Close");
JackAudioDriver::Close(); JackAudioDriver::Close();
PaError err = Pa_CloseStream(fStream); PaError err = Pa_CloseStream(fStream);
if (err != paNoError) {
jack_error("Pa_CloseStream error = %s", Pa_GetErrorText(err));
}
delete fPaDevices; delete fPaDevices;
fPaDevices = NULL; fPaDevices = NULL;
return (err != paNoError) ? -1 : 0; return (err != paNoError) ? -1 : 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment