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... | |
A speaker is a device that can play or record audio data.
Definition at line 88 of file gnunet_speaker_lib.h.
GNUNET_SPEAKER_EnableCallback GNUNET_SPEAKER_Handle::enable_speaker |
Turn on the speaker.
Definition at line 93 of file gnunet_speaker_lib.h.
Referenced by GNUNET_CONVERSATION_call_resume(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_SPEAKER_create_from_hardware(), handle_call_picked_up(), handle_call_resume(), handle_phone_resume(), and switch_to_speaker().
GNUNET_SPEAKER_PlayCallback GNUNET_SPEAKER_Handle::play |
Play audio.
Definition at line 98 of file gnunet_speaker_lib.h.
Referenced by GNUNET_SPEAKER_create_from_hardware(), handle_call_audio(), handle_phone_audio(), and switch_to_speaker().
GNUNET_SPEAKER_DisableCallback GNUNET_SPEAKER_Handle::disable_speaker |
Turn the speaker off.
Definition at line 103 of file gnunet_speaker_lib.h.
Referenced by clean_up_callers(), fail_call(), GNUNET_CONVERSATION_call_stop(), GNUNET_CONVERSATION_call_suspend(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_suspend(), GNUNET_SPEAKER_create_from_hardware(), handle_call_suspend(), handle_phone_hangup(), and handle_phone_suspend().
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().
void* GNUNET_SPEAKER_Handle::cls |
Closure for the callbacks.
Definition at line 113 of file gnunet_speaker_lib.h.
Referenced by clean_up_callers(), fail_call(), GNUNET_CONVERSATION_call_resume(), GNUNET_CONVERSATION_call_stop(), GNUNET_CONVERSATION_call_suspend(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_CONVERSATION_caller_suspend(), GNUNET_SPEAKER_create_from_hardware(), GNUNET_SPEAKER_destroy(), handle_call_audio(), handle_call_picked_up(), handle_call_resume(), handle_call_suspend(), handle_phone_audio(), handle_phone_hangup(), handle_phone_resume(), handle_phone_suspend(), and switch_to_speaker().