aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_microphone_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-02 19:29:22 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-02 19:29:22 +0000
commit0834bf4d6fdf19ab410c01c02e65fcda8a5e5ebc (patch)
tree2410199dfb90c0ef4d12fc749f30f88e9bfda9b8 /src/include/gnunet_microphone_lib.h
parentec9740ca2ca84525842e6743b45ceb9cb2a3ea95 (diff)
downloadgnunet-0834bf4d6fdf19ab410c01c02e65fcda8a5e5ebc.tar.gz
gnunet-0834bf4d6fdf19ab410c01c02e65fcda8a5e5ebc.zip
-implement microphone library
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.