aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_microphone_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_microphone_lib.h')
-rw-r--r--src/include/gnunet_microphone_lib.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/gnunet_microphone_lib.h b/src/include/gnunet_microphone_lib.h
index c99777d0c..1ba97cdf6 100644
--- a/src/include/gnunet_microphone_lib.h
+++ b/src/include/gnunet_microphone_lib.h
@@ -36,6 +36,8 @@ extern "C"
36#endif 36#endif
37#endif 37#endif
38 38
39#include "gnunet_util_lib.h"
40
39/** 41/**
40 * Process recorded audio data. 42 * Process recorded audio data.
41 * 43 *
@@ -53,10 +55,11 @@ typedef void (*GNUNET_MICROPHONE_RecordedDataCallback)(void *cls,
53 * @param cls clsoure 55 * @param cls clsoure
54 * @param rdc function to call with recorded data 56 * @param rdc function to call with recorded data
55 * @param rdc_cls closure for @a dc 57 * @param rdc_cls closure for @a dc
58 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
56 */ 59 */
57typedef void (*GNUNET_MICROPHONE_EnableCallback)(void *cls, 60typedef int (*GNUNET_MICROPHONE_EnableCallback)(void *cls,
58 GNUNET_MICROPHONE_RecordedDataCallback rdc, 61 GNUNET_MICROPHONE_RecordedDataCallback rdc,
59 void *rdc_cls); 62 void *rdc_cls);
60 63
61/** 64/**
62 * Function that disables a microphone. 65 * Function that disables a microphone.