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:
parent
4306192097
commit
7aaed679c7
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user