aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_speaker_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_speaker_lib.h')
-rw-r--r--src/include/gnunet_speaker_lib.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/gnunet_speaker_lib.h b/src/include/gnunet_speaker_lib.h
index 7a6eb028b..bdb91d6a1 100644
--- a/src/include/gnunet_speaker_lib.h
+++ b/src/include/gnunet_speaker_lib.h
@@ -36,10 +36,12 @@ extern "C"
36#endif 36#endif
37#endif 37#endif
38 38
39#include "gnunet_util_lib.h"
40
39/** 41/**
40 * Function that enables a speaker. 42 * Function that enables a speaker.
41 * 43 *
42 * @param cls clsoure 44 * @param cls closure
43 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 45 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
44 */ 46 */
45typedef int (*GNUNET_SPEAKER_EnableCallback)(void *cls); 47typedef int (*GNUNET_SPEAKER_EnableCallback)(void *cls);
@@ -47,21 +49,21 @@ typedef int (*GNUNET_SPEAKER_EnableCallback)(void *cls);
47/** 49/**
48 * Function that disables a speaker. 50 * Function that disables a speaker.
49 * 51 *
50 * @param cls clsoure 52 * @param cls closure
51 */ 53 */
52typedef void (*GNUNET_SPEAKER_DisableCallback)(void *cls); 54typedef void (*GNUNET_SPEAKER_DisableCallback)(void *cls);
53 55
54/** 56/**
55 * Function to destroy a speaker. 57 * Function to destroy a speaker.
56 * 58 *
57 * @param cls clsoure 59 * @param cls closure
58 */ 60 */
59typedef void (*GNUNET_SPEAKER_DestroyCallback)(void *cls); 61typedef void (*GNUNET_SPEAKER_DestroyCallback)(void *cls);
60 62
61/** 63/**
62 * Function to cause a speaker to play audio data. 64 * Function to cause a speaker to play audio data.
63 * 65 *
64 * @param cls clsoure 66 * @param cls closure
65 * @param data_size number of bytes in @a data 67 * @param data_size number of bytes in @a data
66 * @param data audio data to play, format is 68 * @param data audio data to play, format is
67 * opaque to the API but should be OPUS. 69 * opaque to the API but should be OPUS.