Start streaming of sound/SDR just before main loop
This prevents buffer overflow during init/creation processes
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user