VLC 4.0.0-dev
Loading...
Searching...
No Matches
aout.c File Reference
Include dependency graph for aout.c:

Macros

#define vlc_player_aout_SendEvent(player, event, ...)
 

Functions

audio_output_tvlc_player_aout_Hold (vlc_player_t *player)
 Get the audio output.
 
vlc_player_aout_listener_idvlc_player_aout_AddListener (vlc_player_t *player, const struct vlc_player_aout_cbs *cbs, void *cbs_data)
 Add a listener callback for audio output events.
 
void vlc_player_aout_RemoveListener (vlc_player_t *player, vlc_player_aout_listener_id *id)
 Remove a aout listener callback.
 
static int vlc_player_AoutCallback (vlc_object_t *this, const char *var, vlc_value_t oldval, vlc_value_t newval, void *data)
 
float vlc_player_aout_GetVolume (vlc_player_t *player)
 Get the audio volume.
 
int vlc_player_aout_SetVolume (vlc_player_t *player, float volume)
 Set the audio volume.
 
int vlc_player_aout_IncrementVolume (vlc_player_t *player, int steps, float *result)
 Increment the audio volume.
 
int vlc_player_aout_IsMuted (vlc_player_t *player)
 Check if the audio output is muted.
 
int vlc_player_aout_Mute (vlc_player_t *player, bool mute)
 Mute or unmute the audio output.
 
int vlc_player_aout_EnableFilter (vlc_player_t *player, const char *name, bool add)
 Enable or disable an audio filter.
 
static void vlc_player_aout_AddCallbacks (vlc_player_t *player)
 
static void vlc_player_aout_DelCallbacks (vlc_player_t *player)
 
audio_output_tvlc_player_aout_Init (vlc_player_t *player)
 
void vlc_player_aout_Deinit (vlc_player_t *player)
 
void vlc_player_aout_Reset (vlc_player_t *player)
 Reset the main audio output.
 

Macro Definition Documentation

◆ vlc_player_aout_SendEvent

#define vlc_player_aout_SendEvent (   player,
  event,
  ... 
)
Value:
do { \
vlc_mutex_lock(&player->aout_listeners_lock); \
vlc_list_foreach(listener, &player->aout_listeners, node) \
{ \
if (listener->cbs->event) \
listener->cbs->event(__VA_ARGS__, listener->cbs_data); \
} \
vlc_mutex_unlock(&player->aout_listeners_lock); \
} while(0)
Definition player.h:159
void * cbs_data
Definition player.h:161
const struct vlc_player_aout_cbs * cbs
Definition player.h:160

Function Documentation

◆ vlc_player_aout_AddCallbacks()

static void vlc_player_aout_AddCallbacks ( vlc_player_t player)
static

◆ vlc_player_aout_Deinit()

void vlc_player_aout_Deinit ( vlc_player_t player)

◆ vlc_player_aout_DelCallbacks()

static void vlc_player_aout_DelCallbacks ( vlc_player_t player)
static

◆ vlc_player_aout_Init()

◆ vlc_player_AoutCallback()

static int vlc_player_AoutCallback ( vlc_object_t this,
const char *  var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  data 
)
static