API to access an audio speaker; provides access to hardware speakers. More...
#include "gnunet_util_lib.h"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. | |
| typedef void(* | GNUNET_SPEAKER_DisableCallback) (void *cls) |
| Function that disables a speaker. | |
| typedef void(* | GNUNET_SPEAKER_DestroyCallback) (void *cls) |
| Function to destroy a speaker. | |
| typedef void(* | GNUNET_SPEAKER_PlayCallback) (void *cls, size_t data_size, const void *data) |
| Function to cause a speaker to play audio data. | |
Functions | |
| struct GNUNET_SPEAKER_Handle * | GNUNET_SPEAKER_create_from_hardware (const struct GNUNET_CONFIGURATION_Handle *cfg) |
| Create a speaker that corresponds to the speaker hardware of our system. | |
| void | GNUNET_SPEAKER_destroy (struct GNUNET_SPEAKER_Handle *speaker) |
| Destroy a speaker. | |
API to access an audio speaker; provides access to hardware speakers.
Definition in file gnunet_speaker_lib.h.