mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 11:46:45 +02:00
group audio almost works
This commit is contained in:
@ -35,6 +35,10 @@
|
||||
#include "prompt.h"
|
||||
#include "help.h"
|
||||
|
||||
#ifdef AUDIO
|
||||
#include "audio_call.h"
|
||||
#endif
|
||||
|
||||
extern char *DATA_FILE;
|
||||
extern ToxWindow *prompt;
|
||||
extern FriendsList Friends;
|
||||
@ -347,7 +351,7 @@ void cmd_groupchat(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*arg
|
||||
groupnum = tox_add_groupchat(m);
|
||||
#ifdef AUDIO
|
||||
else
|
||||
groupnum = toxav_add_av_groupchat(m, NULL, NULL);
|
||||
groupnum = toxav_add_av_groupchat(m, write_device_callback_group, self);
|
||||
#endif
|
||||
|
||||
if (groupnum == -1) {
|
||||
|
Reference in New Issue
Block a user