GNUnet 0.21.1
gnunet_speaker_lib.h File Reference

API to access an audio speaker; provides access to hardware speakers. More...

#include "gnunet_util_lib.h"
Include dependency graph for gnunet_speaker_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_SPEAKER_Handle
 A speaker is a device that can play or record audio data. More...
 

Typedefs

typedef int(* GNUNET_SPEAKER_EnableCallback) (void *cls)
 Function that enables a speaker. More...
 
typedef void(* GNUNET_SPEAKER_DisableCallback) (void *cls)
 Function that disables a speaker. More...
 
typedef void(* GNUNET_SPEAKER_DestroyCallback) (void *cls)
 Function to destroy a speaker. More...
 
typedef void(* GNUNET_SPEAKER_PlayCallback) (void *cls, size_t data_size, const void *data)
 Function to cause a speaker to play audio data. More...
 

Functions

struct GNUNET_SPEAKER_HandleGNUNET_SPEAKER_create_from_hardware (const struct GNUNET_CONFIGURATION_Handle *cfg)
 Create a speaker that corresponds to the speaker hardware of our system. More...
 
void GNUNET_SPEAKER_destroy (struct GNUNET_SPEAKER_Handle *speaker)
 Destroy a speaker. More...
 

Detailed Description

API to access an audio speaker; provides access to hardware speakers.

Definition in file gnunet_speaker_lib.h.