1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

DSD demod: copy to UDO only from first audio FIFO when both slots are selected

This commit is contained in:
f4exb 2017-08-25 00:04:44 +02:00
parent 511686f820
commit 1b2df9f0fc

View File

@ -494,7 +494,7 @@ void DSDDemod::apply(bool force)
|| (m_config.m_slot2On != m_running.m_slot2On) || force) || (m_config.m_slot2On != m_running.m_slot2On) || force)
{ {
m_audioFifo1.setCopyToUDP(m_config.m_slot1On && m_config.m_udpCopyAudio); m_audioFifo1.setCopyToUDP(m_config.m_slot1On && m_config.m_udpCopyAudio);
m_audioFifo2.setCopyToUDP(m_config.m_slot2On && m_config.m_udpCopyAudio); m_audioFifo2.setCopyToUDP(m_config.m_slot2On && !m_config.m_slot1On && m_config.m_udpCopyAudio);
} }
m_running = m_config; m_running = m_config;