summaryrefslogtreecommitdiff
path: root/toxav/toxav.h
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-06-27 16:12:33 +0200
committermannol <eniz_vukovic@hotmail.com>2015-06-27 16:12:33 +0200
commit1ba55d0ca737c21b78471180e90e6e81780aa52c (patch)
tree163ba932f5575e5729a793dd50a22daf29c3602e /toxav/toxav.h
parent08bc4eb0e09cb4d4d9724f7bfeae5f4feb3aaf29 (diff)
Added explanation about how audio callback works
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r--toxav/toxav.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h
index 2094f66c..917a6bf5 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -592,7 +592,9 @@ bool toxav_video_send_frame(ToxAV *toxAV, uint32_t friend_number, uint16_t width
592 * 592 *
593 ******************************************************************************/ 593 ******************************************************************************/
594/** 594/**
595 * The function type for the audio_receive_frame callback. 595 * The function type for the audio_receive_frame callback. The callback can be
596 * called multiple times per single iteration depending on the amount of queued
597 * frames in the buffer.
596 * 598 *
597 * @param friend_number The friend number of the friend who sent an audio frame. 599 * @param friend_number The friend number of the friend who sent an audio frame.
598 * @param pcm An array of audio samples (sample_count * channels elements). 600 * @param pcm An array of audio samples (sample_count * channels elements).