Set vocoder_loaded to true for all sw only modes
This commit is contained in:
parent
47ae06e09b
commit
21ec14fde7
3 changed files with 3 additions and 0 deletions
1
iax.cpp
1
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]));
|
||||
|
|
1
m17.cpp
1
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);
|
||||
}
|
||||
|
|
1
p25.cpp
1
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue