Open audio device for call (headset) after everything is prepared
It is not allowed to stall after trigger reading of audio device.
This commit is contained in:
@@ -435,6 +435,10 @@ void main_common(int *quit, int latency, int interval, void (*myhandler)(void))
|
||||
if (sender_open_audio())
|
||||
return;
|
||||
|
||||
/* afterwards open call audio, because we cannot wait for SDR to open */
|
||||
if (call_open_audio())
|
||||
return;
|
||||
|
||||
/* real time priority */
|
||||
if (rt_prio > 0) {
|
||||
struct sched_param schedp;
|
||||
|
Reference in New Issue
Block a user