diff --git a/plugins/samplesink/audiooutput/audiooutput.cpp b/plugins/samplesink/audiooutput/audiooutput.cpp index ac25223f9..6aaf1a7fe 100644 --- a/plugins/samplesink/audiooutput/audiooutput.cpp +++ b/plugins/samplesink/audiooutput/audiooutput.cpp @@ -217,7 +217,6 @@ void AudioOutput::applySettings(const AudioOutputSettings& settings, const QList m_audioDeviceIndex = audioDeviceManager->getOutputDeviceIndex(settings.m_deviceName); //qDebug("AMDemod::applySettings: audioDeviceName: %s audioDeviceIndex: %d", qPrintable(settings.m_audioDeviceName), audioDeviceIndex); audioDeviceManager->removeAudioSink(&m_audioFifo); - audioDeviceManager->addAudioSink(&m_audioFifo, getInputMessageQueue(), m_audioDeviceIndex); m_sampleRate = audioDeviceManager->getOutputSampleRate(m_audioDeviceIndex); forwardChange = true; } diff --git a/plugins/samplesource/audioinput/audioinput.cpp b/plugins/samplesource/audioinput/audioinput.cpp index 4c9b695b3..f998f157b 100644 --- a/plugins/samplesource/audioinput/audioinput.cpp +++ b/plugins/samplesource/audioinput/audioinput.cpp @@ -250,7 +250,6 @@ void AudioInput::applySettings(const AudioInputSettings& settings, QListremoveAudioSource(&m_fifo); - audioDeviceManager->addAudioSource(&m_fifo, getInputMessageQueue(), m_audioDeviceIndex); m_sampleRate = audioDeviceManager->getInputSampleRate(m_audioDeviceIndex); qDebug("AudioInput::applySettings: audioDeviceName: %s audioDeviceIndex: %d sampleRate: %d", qPrintable(settings.m_deviceName), m_audioDeviceIndex, m_sampleRate);