GNUnet 0.21.1
gnunet_microphone_lib.h File Reference

API to access an audio microphone; provides access to hardware microphones. More...

#include "gnunet_util_lib.h"
Include dependency graph for gnunet_microphone_lib.h:
This graph shows which files directly or indirectly include this file:

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. More...
 
typedef int(* GNUNET_MICROPHONE_EnableCallback) (void *cls, GNUNET_MICROPHONE_RecordedDataCallback rdc, void *rdc_cls)
 Enable a microphone. More...
 
typedef void(* GNUNET_MICROPHONE_DisableCallback) (void *cls)
 Function that disables a microphone. More...
 
typedef void(* GNUNET_MICROPHONE_DestroyCallback) (void *cls)
 Function to destroy a microphone. More...
 

Functions

struct GNUNET_MICROPHONE_HandleGNUNET_MICROPHONE_create_from_hardware (const struct GNUNET_CONFIGURATION_Handle *cfg)
 Create a microphone that corresponds to the microphone hardware of our system. More...
 
void GNUNET_MICROPHONE_destroy (struct GNUNET_MICROPHONE_Handle *microphone)
 Destroy a microphone. More...
 

Detailed Description

API to access an audio microphone; provides access to hardware microphones.

Definition in file gnunet_microphone_lib.h.