VLC 4.0.0-dev
|
Functions | |
static void | vlc_player_OnLoudnessEvent (vlc_tick_t date, const struct vlc_audio_loudness *loudness, void *data) |
static int | vlc_player_AddMetadataLoudnessListener (vlc_player_t *player, vlc_player_metadata_listener_id *listener_id) |
static void | vlc_player_RemoveMetadataLoudnessListener (vlc_player_t *player, vlc_player_metadata_listener_id *listener_id) |
vlc_player_metadata_listener_id * | vlc_player_AddMetadataListener (vlc_player_t *player, enum vlc_player_metadata_option option, const union vlc_player_metadata_cbs *cbs, void *cbs_data) |
Add a metadata listener. More... | |
void | vlc_player_RemoveMetadataListener (vlc_player_t *player, vlc_player_metadata_listener_id *listener_id) |
Remove a metadata listener. More... | |
|
static |
References aout_AddMeterPlugin(), aout_Release(), aout_RemoveMeterPlugin(), vlc_player_metadata_listener_id::audio_meter, vlc_audio_meter_plugin_owner::cbs, vlc_player_t::metadata_listeners, vlc_audio_meter_cbs::on_loudness, vlc_player_metadata_listener_id::option, VLC_EGENERIC, vlc_list_foreach, vlc_player_aout_Hold(), VLC_PLAYER_METADATA_LOUDNESS_FULL, vlc_player_OnLoudnessEvent(), and VLC_SUCCESS.
Referenced by vlc_player_AddMetadataListener().
|
static |
References vlc_player_metadata_listener_id::cbs, vlc_player_metadata_listener_id::cbs_data, vlc_audio_loudness::loudness_momentary, vlc_player_t::metadata_listeners, vlc_player_t::metadata_listeners_lock, vlc_player_metadata_cbs::on_loudness_changed, vlc_player_metadata_cbs::on_momentary_loudness_changed, vlc_player_metadata_listener_id::option, vlc_list_foreach, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_PLAYER_METADATA_LOUDNESS_FULL, and VLC_PLAYER_METADATA_LOUDNESS_MOMENTARY.
Referenced by vlc_player_AddMetadataLoudnessListener().
|
static |
References aout_Release(), aout_RemoveMeterPlugin(), vlc_player_metadata_listener_id::audio_meter, vlc_player_t::metadata_listeners, vlc_player_metadata_listener_id::option, vlc_list_foreach, vlc_player_aout_Hold(), VLC_PLAYER_METADATA_LOUDNESS_FULL, and VLC_PLAYER_METADATA_LOUDNESS_MOMENTARY.
Referenced by vlc_player_RemoveMetadataListener().