diff options
Diffstat (limited to 'other')
-rw-r--r-- | other/apidsl/toxav.in.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/other/apidsl/toxav.in.h b/other/apidsl/toxav.in.h index 8d1d8f6e..4b328a30 100644 --- a/other/apidsl/toxav.in.h +++ b/other/apidsl/toxav.in.h | |||
@@ -334,8 +334,10 @@ event call_state { | |||
334 | * The function type for the ${event call_state} callback. | 334 | * The function type for the ${event call_state} callback. |
335 | * | 335 | * |
336 | * @param friend_number The friend number for which the call state changed. | 336 | * @param friend_number The friend number for which the call state changed. |
337 | * @param state The new call state which is guaranteed to be different than | 337 | * @param state The bitmask of the new call state which is guaranteed to be |
338 | * the previous state. The state is set to 0 when the call is paused. | 338 | * different than the previous state. The state is set to 0 when the call is |
339 | * paused. The bitmask represents all the activities currently performed by the | ||
340 | * friend. | ||
339 | */ | 341 | */ |
340 | typedef void(uint32_t friend_number, uint32_t state); | 342 | typedef void(uint32_t friend_number, uint32_t state); |
341 | } | 343 | } |
@@ -583,7 +585,7 @@ namespace audio { | |||
583 | /** | 585 | /** |
584 | * The function type for the ${event receive_frame} callback. The callback can be | 586 | * The function type for the ${event receive_frame} callback. The callback can be |
585 | * called multiple times per single iteration depending on the amount of queued | 587 | * called multiple times per single iteration depending on the amount of queued |
586 | * frames in the buffer. | 588 | * frames in the buffer. The received format is the same as in send function. |
587 | * | 589 | * |
588 | * @param friend_number The friend number of the friend who sent an audio frame. | 590 | * @param friend_number The friend number of the friend who sent an audio frame. |
589 | * @param pcm An array of audio samples (sample_count * channels elements). | 591 | * @param pcm An array of audio samples (sample_count * channels elements). |