Start streaming of sound/SDR just before main loop

This prevents buffer overflow during init/creation processes
This commit is contained in:
Andreas Eversberg
2017-02-25 07:09:53 +01:00
parent 04fd1ddcea
commit 2e1999b1ee
13 changed files with 82 additions and 8 deletions

View File

@@ -532,6 +532,14 @@ int call_open_audio(void)
return 0;
}
int call_start_audio(void)
{
if (!call.audiodev[0])
return 0;
return sound_start(call.sound);
}
void call_cleanup(void)
{
if (call.use_mncc_sock)