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

Thomas Guillem thomas at gllm.fr
Thu Dec 10 19:52:19 CET 2020


On Thu, Dec 10, 2020, at 19:50, Rémi Denis-Courmont wrote:
> 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?

Indeed.

> 
> > +}
> 
> Breathing space.

Thanks

> 
> >  /**
> >   * Report change of configured audio volume to the core and UI.
> >   */
> 
> 
> -- 
> Rémi Denis-Courmont
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list