From 1ba55d0ca737c21b78471180e90e6e81780aa52c Mon Sep 17 00:00:00 2001 From: mannol Date: Sat, 27 Jun 2015 16:12:33 +0200 Subject: Added explanation about how audio callback works --- toxav/toxav.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toxav/toxav.h') 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 * ******************************************************************************/ /** - * The function type for the audio_receive_frame callback. + * The function type for the audio_receive_frame callback. The callback can be + * called multiple times per single iteration depending on the amount of queued + * frames in the buffer. * * @param friend_number The friend number of the friend who sent an audio frame. * @param pcm An array of audio samples (sample_count * channels elements). -- cgit v1.2.3