mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 20:46:34 +01:00
update for core audio refactor
This commit is contained in:
@@ -717,9 +717,14 @@ static void do_toxic(Tox *m, ToxWindow *prompt)
|
||||
do_connection(m, prompt);
|
||||
do_file_senders(m);
|
||||
|
||||
if (arg_opts.no_connect == 0)
|
||||
if (arg_opts.no_connect == 0) {
|
||||
tox_do(m); /* main tox-core loop */
|
||||
|
||||
#ifdef AUDIO
|
||||
toxav_do(av); /* TODO: put in separate thread? */
|
||||
#endif
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&Winthread.lock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user