mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-15 08:14:12 +02:00
Allow kerchunk audio to pass through.
This commit is contained in:
@@ -75,7 +75,7 @@ void CFM::samples(bool cos, q15_t* samples, uint8_t length)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Only let audio through when relaying audio
|
// Only let audio through when relaying audio
|
||||||
if (m_state != FS_RELAYING) {
|
if (m_state != FS_RELAYING && m_state != FS_KERCHUNK) {
|
||||||
for (uint8_t i = 0U; i < length; i++)
|
for (uint8_t i = 0U; i < length; i++)
|
||||||
samples[i] = 0;
|
samples[i] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user