GNUnet 0.22.2
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 88 of file gnunet_speaker_lib.h.

Field Documentation

◆ enable_speaker

◆ play

GNUNET_SPEAKER_PlayCallback GNUNET_SPEAKER_Handle::play

◆ disable_speaker

◆ destroy_speaker

GNUNET_SPEAKER_DestroyCallback GNUNET_SPEAKER_Handle::destroy_speaker

Destroy the speaker.

Called by GNUNET_SPEAKER_destroy.

Definition at line 108 of file gnunet_speaker_lib.h.

Referenced by GNUNET_SPEAKER_create_from_hardware(), and GNUNET_SPEAKER_destroy().

◆ cls


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