[vlc-devel] [RFC PATCH 4/9] aout: add aout_TimingReport helper

Rémi Denis-Courmont remi at remlab.net
Thu Dec 10 19:50:24 CET 2020


Le jeudi 10 décembre 2020, 19:10:10 EET Thomas Guillem a écrit :
> ---
>  include/vlc_aout.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/include/vlc_aout.h b/include/vlc_aout.h
> index bbad114bec..8311b887de 100644
> --- a/include/vlc_aout.h
> +++ b/include/vlc_aout.h
> @@ -397,6 +397,13 @@ VLC_API char *aout_DeviceGet (audio_output_t *);
>  VLC_API int aout_DeviceSet (audio_output_t *, const char *);
>  VLC_API int aout_DevicesList (audio_output_t *, char ***, char ***);
> 
> +/**
> + * Report that the audio timing changed
> + */
> +static inline void aout_TimingReport(audio_output_t *aout, vlc_tick_t
> system_now, vlc_tick_t pts) +{
> +    aout->events->timing_report(aout, system_now, pts);

Should this assert that time_get is NULL?

> +}

Breathing space.

>  /**
>   * Report change of configured audio volume to the core and UI.
>   */


-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list