1
0
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:
Jfreegman
2014-11-26 00:48:58 -05:00
parent 1baeb15073
commit 4a337ae3cb
5 changed files with 44 additions and 36 deletions

View File

@@ -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);
}