void terminate_audio() { int i; for (i = 0; i < MAX_CALLS; ++i) stop_transmission(&CallControl.calls[i], i); if ( CallControl.av ) toxav_kill(CallControl.av); terminate_devices(); }
void terminate_audio() { int i; for (i = 0; i < MAX_CALLS; i ++) stop_transmission(i); if ( ASettins.av ) toxav_kill(ASettins.av); terminate_devices(); }