mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-27 12:42:25 -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…
x
Reference in New Issue
Block a user