GNUnet  0.11.x
Data Fields
GNUNET_SPEAKER_Handle Struct Reference

A speaker is a device that can play or record audio data. More...

#include <gnunet_speaker_lib.h>

Data Fields

GNUNET_SPEAKER_EnableCallback enable_speaker
 Turn on the speaker. More...
GNUNET_SPEAKER_PlayCallback play
 Play audio. More...
GNUNET_SPEAKER_DisableCallback disable_speaker
 Turn the speaker off. More...
GNUNET_SPEAKER_DestroyCallback destroy_speaker
 Destroy the speaker. More...
void * cls
 Closure for the callbacks. More...

Detailed Description

A speaker is a device that can play or record audio data.

Definition at line 84 of file gnunet_speaker_lib.h.

Field Documentation

◆ enable_speaker

GNUNET_SPEAKER_EnableCallback GNUNET_SPEAKER_Handle::enable_speaker

◆ play


◆ disable_speaker

GNUNET_SPEAKER_DisableCallback GNUNET_SPEAKER_Handle::disable_speaker

◆ destroy_speaker

GNUNET_SPEAKER_DestroyCallback GNUNET_SPEAKER_Handle::destroy_speaker

Destroy the speaker.

Called by GNUNET_SPEAKER_destroy.

Definition at line 104 of file gnunet_speaker_lib.h.

Referenced by GNUNET_SPEAKER_create_from_hardware(), and GNUNET_SPEAKER_destroy().

◆ cls

void* GNUNET_SPEAKER_Handle::cls

The documentation for this struct was generated from the following file: