From 21ec14fde7f3661cd06cc033e2f614cc990c2ebc Mon Sep 17 00:00:00 2001 From: Doug McLain Date: Thu, 9 Feb 2023 21:11:54 -0500 Subject: [PATCH] Set vocoder_loaded to true for all sw only modes --- iax.cpp | 1 + m17.cpp | 1 + p25.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/iax.cpp b/iax.cpp index 942e3f1..ee3ed30 100644 --- a/iax.cpp +++ b/iax.cpp @@ -632,6 +632,7 @@ void IAX::process_udp() m_audio->set_input_buffer_size(640); m_audio->start_capture(); //m_txtimer->start(19); + m_modeinfo.sw_vocoder_loaded = true; } ++m_rxframes; m_dcallno = (((buf.data()[0] & 0x7f) << 8) | ((uint8_t)buf.data()[1])); diff --git a/m17.cpp b/m17.cpp index cb0a0fd..4423cb0 100755 --- a/m17.cpp +++ b/m17.cpp @@ -245,6 +245,7 @@ void M17::process_udp() m_ping_timer->start(8000); m_audio = new AudioEngine(m_audioin, m_audioout); m_audio->init(); + m_modeinfo.sw_vocoder_loaded = true; } emit update(m_modeinfo); } diff --git a/p25.cpp b/p25.cpp index 61d0355..2e57a1a 100755 --- a/p25.cpp +++ b/p25.cpp @@ -86,6 +86,7 @@ void P25::process_udp() m_ping_timer->start(5000); m_audio = new AudioEngine(m_audioin, m_audioout); m_audio->init(); + m_modeinfo.sw_vocoder_loaded = true; } if((m_modeinfo.stream_state == STREAM_LOST) || (m_modeinfo.stream_state == STREAM_END) ){ m_modeinfo.stream_state = STREAM_IDLE;