mirror of https://github.com/odrling/Aegisub
Fix portaudio compilation failure
Originally committed to SVN as r6261.
This commit is contained in:
parent
d451cf3e9c
commit
ea819a2e1a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue