1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-04-10 13:40:37 -04:00

Multi device support: fixed segfault in audio stop

This commit is contained in:
f4exb 2016-05-14 01:01:28 +02:00
parent 4306192097
commit 7aaed679c7

View File

@ -112,14 +112,6 @@ bool AudioOutput::start(int device, int rate)
void AudioOutput::stop()
{
QMutexLocker mutexLocker(&m_mutex);
if (m_audioOutput != 0)
{
m_audioOutput->stop();
delete m_audioOutput;
m_audioOutput = 0;
}
QIODevice::close();
}