VLC 4.0.0-dev
|
Player aout callbacks. More...
#include <vlc_player.h>
Data Fields | |
void(* | on_volume_changed )(audio_output_t *aout, float new_volume, void *data) |
Called when the volume has changed. | |
void(* | on_mute_changed )(audio_output_t *aout, bool new_muted, void *data) |
Called when the mute state has changed. | |
void(* | on_device_changed )(audio_output_t *aout, const char *device, void *data) |
Called when the audio device has changed. | |
Player aout callbacks.
Can be registered with vlc_player_aout_AddListener().
void(* vlc_player_aout_cbs::on_device_changed) (audio_output_t *aout, const char *device, void *data) |
Called when the audio device has changed.
aout | the main aout of the player |
device | the device name |
data | opaque pointer set by vlc_player_aout_AddListener() |
void(* vlc_player_aout_cbs::on_mute_changed) (audio_output_t *aout, bool new_muted, void *data) |
Called when the mute state has changed.
aout | the main aout of the player |
new_mute | true if muted |
data | opaque pointer set by vlc_player_aout_AddListener() |
void(* vlc_player_aout_cbs::on_volume_changed) (audio_output_t *aout, float new_volume, void *data) |
Called when the volume has changed.
aout | the main aout of the player |
new_volume | volume in the range [0;2.f] |
data | opaque pointer set by vlc_player_aout_AddListener() |