Only try to stop audio output if there is an audio output device
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Jul 2014 00:44:43 -0700
1 files changed,
3 insertions(+),
1 deletions(-)
M
src/platform/qt/AudioProcessor.cpp
→
src/platform/qt/AudioProcessor.cpp
@@ -52,7 +52,9 @@ m_audioOutput->start(m_device);
} void AudioProcessor::pause() { - m_audioOutput->stop(); + if (m_audioOutput) { + m_audioOutput->stop(); + } } void AudioProcessor::setBufferSamples(int samples) {