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:
Andreas Eversberg
2017-01-29 16:54:28 +01:00
parent 8cb0187133
commit 5026e161aa
3 changed files with 26 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ enum number_type {
int call_init(const char *station_id, const char *audiodev, int samplerate, int latency, int dial_digits, int loopback, int use_mncc_sock, int send_patterns, int release_on_disconnect);
void call_cleanup(void);
int call_open_audio(void);
void process_call(int c);
void clear_console_text(void);
void print_console_text(void);