diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-06-27 16:12:33 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-06-27 16:12:33 +0200 |
commit | 1ba55d0ca737c21b78471180e90e6e81780aa52c (patch) | |
tree | 163ba932f5575e5729a793dd50a22daf29c3602e /other/apidsl | |
parent | 08bc4eb0e09cb4d4d9724f7bfeae5f4feb3aaf29 (diff) |
Added explanation about how audio callback works
Diffstat (limited to 'other/apidsl')
-rw-r--r-- | other/apidsl/toxav.in.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 { | |||
578 | namespace audio { | 578 | namespace audio { |
579 | event receive_frame { | 579 | event receive_frame { |
580 | /** | 580 | /** |
581 | * The function type for the ${event receive_frame} callback. | 581 | * The function type for the ${event receive_frame} callback. The callback can be |
582 | * | 582 | * called multiple times per single iteration depending on the amount of queued |
583 | * frames in the buffer. | ||
584 | * | ||
583 | * @param friend_number The friend number of the friend who sent an audio frame. | 585 | * @param friend_number The friend number of the friend who sent an audio frame. |
584 | * @param pcm An array of audio samples (sample_count * channels elements). | 586 | * @param pcm An array of audio samples (sample_count * channels elements). |
585 | * @param sample_count The number of audio samples per channel in the PCM array. | 587 | * @param sample_count The number of audio samples per channel in the PCM array. |