mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-05 02:58:37 -04:00
AM demod: fixed copy audio to UDP switching
This commit is contained in:
parent
27d504e1ac
commit
2e18f50eaf
@ -257,7 +257,7 @@ private:
|
||||
|
||||
m_audioBuffer[m_audioBufferFill].l = sample;
|
||||
m_audioBuffer[m_audioBufferFill].r = sample;
|
||||
m_udpBufferAudio->write(m_audioBuffer[m_audioBufferFill]);
|
||||
if (m_running.m_copyAudioToUDP) m_udpBufferAudio->write(m_audioBuffer[m_audioBufferFill]);
|
||||
++m_audioBufferFill;
|
||||
|
||||
if (m_audioBufferFill >= m_audioBuffer.size())
|
||||
|
Loading…
Reference in New Issue
Block a user