diff options
Diffstat (limited to 'toxav/groupav.h')
-rw-r--r-- | toxav/groupav.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/toxav/groupav.h b/toxav/groupav.h index a65921a4..45ff1d60 100644 --- a/toxav/groupav.h +++ b/toxav/groupav.h | |||
@@ -59,5 +59,19 @@ int join_av_groupchat(const Logger *log, Tox *tox, Group_Chats *g_c, uint32_t fr | |||
59 | int group_send_audio(Group_Chats *g_c, uint32_t groupnumber, const int16_t *pcm, unsigned int samples, uint8_t channels, | 59 | int group_send_audio(Group_Chats *g_c, uint32_t groupnumber, const int16_t *pcm, unsigned int samples, uint8_t channels, |
60 | uint32_t sample_rate); | 60 | uint32_t sample_rate); |
61 | 61 | ||
62 | /* Enable A/V in a groupchat. | ||
63 | * | ||
64 | * return 0 on success. | ||
65 | * return -1 on failure. | ||
66 | */ | ||
67 | int groupchat_enable_av(const Logger *log, Tox *tox, Group_Chats *g_c, uint32_t groupnumber, | ||
68 | audio_data_cb *audio_callback, void *userdata); | ||
69 | |||
70 | /* Disable A/V in a groupchat. | ||
71 | * | ||
72 | * return 0 on success. | ||
73 | * return -1 on failure. | ||
74 | */ | ||
75 | int groupchat_disable_av(Group_Chats *g_c, uint32_t groupnumber); | ||
62 | 76 | ||
63 | #endif // C_TOXCORE_TOXAV_GROUPAV_H | 77 | #endif // C_TOXCORE_TOXAV_GROUPAV_H |