Mercurial > hg > svapp
comparison audioio/AudioPortAudioTarget.cpp @ 195:d9c21e7bff21
* Some debug, turn off PulseAudio autospawn
author | Chris Cannam |
---|---|
date | Thu, 15 Jul 2010 15:25:59 +0000 |
parents | 58b64dbb49c6 |
children | 8c13e8219903 |
comparison
equal
deleted
inserted
replaced
194:302dae1f6016 | 195:d9c21e7bff21 |
---|---|
75 m_bufferSize = 1024; | 75 m_bufferSize = 1024; |
76 } | 76 } |
77 | 77 |
78 if (err != paNoError) { | 78 if (err != paNoError) { |
79 std::cerr << "ERROR: AudioPortAudioTarget: Failed to open PortAudio stream: " << Pa_GetErrorText(err) << std::endl; | 79 std::cerr << "ERROR: AudioPortAudioTarget: Failed to open PortAudio stream: " << Pa_GetErrorText(err) << std::endl; |
80 std::cerr << "Note: device ID was " << op.device << std::endl; | |
80 m_stream = 0; | 81 m_stream = 0; |
81 Pa_Terminate(); | 82 Pa_Terminate(); |
82 return; | 83 return; |
83 } | 84 } |
84 | 85 |