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 --- other/apidsl/toxav.in.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'other/apidsl') diff --git a/other/apidsl/toxav.in.h b/other/apidsl/toxav.in.h index 59a46612..6e50d0d5 100644 --- a/other/apidsl/toxav.in.h +++ b/other/apidsl/toxav.in.h @@ -578,8 +578,10 @@ namespace video { namespace audio { event receive_frame { /** - * The function type for the ${event receive_frame} callback. - * + * The function type for the ${event 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). * @param sample_count The number of audio samples per channel in the PCM array. -- cgit v1.2.3