Fix portaudio compilation failure

Originally committed to SVN as r6261.
This commit is contained in:
Thomas Goyne 2012-01-10 19:09:41 +00:00
parent d451cf3e9c
commit ea819a2e1a
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void PortAudioPlayer::OpenStream() {
if (pa_device == paNoDevice) { if (pa_device == paNoDevice) {
pa_device = Pa_GetDefaultOutputDevice(); pa_device = Pa_GetDefaultOutputDevice();
if (pa_device == paNoDevice) if (pa_device == paNoDevice)
throw PortAudioError("No PortAudio output devices found"); throw PortAudioError("No PortAudio output devices found", 0);
LOG_D("audio/player/portaudio") << "using default output device:" << pa_device; LOG_D("audio/player/portaudio") << "using default output device:" << pa_device;
} }