summaryrefslogtreecommitdiff
path: root/toxav/toxav.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r--toxav/toxav.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h
index f9d29de4..30ac66d1 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -341,8 +341,10 @@ enum TOXAV_FRIEND_CALL_STATE {
341 * The function type for the call_state callback. 341 * The function type for the call_state callback.
342 * 342 *
343 * @param friend_number The friend number for which the call state changed. 343 * @param friend_number The friend number for which the call state changed.
344 * @param state The new call state which is guaranteed to be different than 344 * @param state The bitmask of the new call state which is guaranteed to be
345 * the previous state. The state is set to 0 when the call is paused. 345 * different than the previous state. The state is set to 0 when the call is
346 * paused. The bitmask represents all the activities currently performed by the
347 * friend.
346 */ 348 */
347typedef void toxav_call_state_cb(ToxAV *toxAV, uint32_t friend_number, uint32_t state, void *user_data); 349typedef void toxav_call_state_cb(ToxAV *toxAV, uint32_t friend_number, uint32_t state, void *user_data);
348/** 350/**
@@ -597,7 +599,7 @@ bool toxav_video_send_frame(ToxAV *toxAV, uint32_t friend_number, uint16_t width
597/** 599/**
598 * The function type for the audio_receive_frame callback. The callback can be 600 * The function type for the audio_receive_frame callback. The callback can be
599 * called multiple times per single iteration depending on the amount of queued 601 * called multiple times per single iteration depending on the amount of queued
600 * frames in the buffer. 602 * frames in the buffer. The received format is the same as in send function.
601 * 603 *
602 * @param friend_number The friend number of the friend who sent an audio frame. 604 * @param friend_number The friend number of the friend who sent an audio frame.
603 * @param pcm An array of audio samples (sample_count * channels elements). 605 * @param pcm An array of audio samples (sample_count * channels elements).