VLC 4.0.0-dev
|
Player metadata callbacks. More...
#include <vlc_player.h>
Data Fields | |
void(* | on_momentary_loudness_changed )(vlc_tick_t date, double momentary_loudness, void *data) |
Called when the momentary loudness measurement have changed. More... | |
void(* | on_loudness_changed )(vlc_tick_t date, const struct vlc_audio_loudness *loudness, void *data) |
Called when loudness measurements have changed. More... | |
Player metadata callbacks.
Can be registered with vlc_player_AddMetadataListener().
void(* vlc_player_metadata_cbs::on_loudness_changed) (vlc_tick_t date, const struct vlc_audio_loudness *loudness, void *data) |
Called when loudness measurements have changed.
Only sent when audio is playing, approximately every 400ms (but can be higher, depending on the input sample size).
date | Absolute date of the measurement. It is most likely in the future (0 to 2seconds) depending on the audio output buffer size. |
loudness | loudness measurement |
data | opaque pointer set by vlc_player_AddMetadataListener() |
Referenced by vlc_player_OnLoudnessEvent().
void(* vlc_player_metadata_cbs::on_momentary_loudness_changed) (vlc_tick_t date, double momentary_loudness, void *data) |
Called when the momentary loudness measurement have changed.
Only sent when audio is playing, approximately every 400ms (but can be higher, depending on the input sample size).
date | Absolute date of the measurement. It is most likely in the future (0 to 2seconds) depending on the audio output buffer size. |
momentary_loudness | Momentary loudness |
data | opaque pointer set by vlc_player_AddMetadataListener() |
Referenced by vlc_player_OnLoudnessEvent().