mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Compare commits
2 Commits
c051a707b8
...
5c7313639a
Author | SHA1 | Date | |
---|---|---|---|
|
5c7313639a | ||
|
efd98785cf |
@ -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;
|
||||
}
|
||||
|
@ -250,7 +250,6 @@ void AudioInput::applySettings(const AudioInputSettings& settings, QList<QString
|
||||
}
|
||||
|
||||
audioDeviceManager->removeAudioSource(&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);
|
||||
|
Loading…
Reference in New Issue
Block a user