Set vocoder_loaded to true for all sw only modes

pull/4/head
Doug McLain 2 years ago
parent 47ae06e09b
commit 21ec14fde7

@ -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]));

@ -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);
}

@ -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;

Loading…
Cancel
Save