API to access an audio microphone; provides access to hardware microphones. More...
#include "gnunet_util_lib.h"Go to the source code of this file.
Data Structures | |
| struct | GNUNET_MICROPHONE_Handle |
| A microphone is a device that can capture or otherwise produce audio data. More... | |
Typedefs | |
| typedef void(* | GNUNET_MICROPHONE_RecordedDataCallback) (void *cls, size_t data_size, const void *data) |
| Process recorded audio data. | |
| typedef int(* | GNUNET_MICROPHONE_EnableCallback) (void *cls, GNUNET_MICROPHONE_RecordedDataCallback rdc, void *rdc_cls) |
| Enable a microphone. | |
| typedef void(* | GNUNET_MICROPHONE_DisableCallback) (void *cls) |
| Function that disables a microphone. | |
| typedef void(* | GNUNET_MICROPHONE_DestroyCallback) (void *cls) |
| Function to destroy a microphone. | |
Functions | |
| struct GNUNET_MICROPHONE_Handle * | GNUNET_MICROPHONE_create_from_hardware (const struct GNUNET_CONFIGURATION_Handle *cfg) |
| Create a microphone that corresponds to the microphone hardware of our system. | |
| void | GNUNET_MICROPHONE_destroy (struct GNUNET_MICROPHONE_Handle *microphone) |
| Destroy a microphone. | |
API to access an audio microphone; provides access to hardware microphones.
Definition in file gnunet_microphone_lib.h.