summaryrefslogtreecommitdiff
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.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/include/gnunet_microphone_lib.h b/src/include/gnunet_microphone_lib.h
index f5cf4abc6..2b08bcd71 100644
--- a/src/include/gnunet_microphone_lib.h
+++ b/src/include/gnunet_microphone_lib.h
@@ -63,7 +63,8 @@ typedef void (*GNUNET_MICROPHONE_RecordedDataCallback)(void *cls,
63 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 63 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
64 */ 64 */
65typedef int (*GNUNET_MICROPHONE_EnableCallback)(void *cls, 65typedef int (*GNUNET_MICROPHONE_EnableCallback)(void *cls,
66 GNUNET_MICROPHONE_RecordedDataCallback rdc, 66 GNUNET_MICROPHONE_RecordedDataCallback
67 rdc,
67 void *rdc_cls); 68 void *rdc_cls);
68 69
69/** 70/**
@@ -84,7 +85,8 @@ typedef void (*GNUNET_MICROPHONE_DestroyCallback)(void *cls);
84/** 85/**
85 * A microphone is a device that can capture or otherwise produce audio data. 86 * A microphone is a device that can capture or otherwise produce audio data.
86 */ 87 */
87struct GNUNET_MICROPHONE_Handle { 88struct GNUNET_MICROPHONE_Handle
89{
88 /** 90 /**
89 * Turn on the microphone. 91 * Turn on the microphone.
90 */ 92 */
@@ -115,7 +117,8 @@ struct GNUNET_MICROPHONE_Handle {
115 * @return NULL on error 117 * @return NULL on error
116 */ 118 */
117struct GNUNET_MICROPHONE_Handle * 119struct GNUNET_MICROPHONE_Handle *
118GNUNET_MICROPHONE_create_from_hardware(const struct GNUNET_CONFIGURATION_Handle *cfg); 120GNUNET_MICROPHONE_create_from_hardware (const struct
121 GNUNET_CONFIGURATION_Handle *cfg);
119 122
120 123
121/** 124/**
@@ -124,7 +127,7 @@ GNUNET_MICROPHONE_create_from_hardware(const struct GNUNET_CONFIGURATION_Handle
124 * @param microphone microphone to destroy 127 * @param microphone microphone to destroy
125 */ 128 */
126void 129void
127GNUNET_MICROPHONE_destroy(struct GNUNET_MICROPHONE_Handle *microphone); 130GNUNET_MICROPHONE_destroy (struct GNUNET_MICROPHONE_Handle *microphone);
128 131
129 132
130#if 0 /* keep Emacsens' auto-indent happy */ 133#if 0 /* keep Emacsens' auto-indent happy */