VLC 4.0.0-dev
vlc_audio_meter_cbs Struct Reference

Audio meter callback. More...

#include <vlc_aout.h>

Data Fields

void(* on_loudness )(vlc_tick_t date, const struct vlc_audio_loudness *loudness, void *data)
 Called when new loudness measurements are available. More...
 

Detailed Description

Audio meter callback.

Triggered from vlc_audio_meter_Process() and vlc_audio_meter_Flush().

Field Documentation

◆ on_loudness

void(* vlc_audio_meter_cbs::on_loudness) (vlc_tick_t date, const struct vlc_audio_loudness *loudness, void *data)

Called when new loudness measurements are available.

Parameters
dateabsolute date (likely in the future) of this measurement
loudnesspointer to the loudness measurement
opaquepointer set by vlc_audio_meter_AddPlugin().

Referenced by vlc_audio_meter_OnLoudnessChanged(), and vlc_player_AddMetadataLoudnessListener().


The documentation for this struct was generated from the following file: