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

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


---
 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);
+}
 /**
  * Report change of configured audio volume to the core and UI.
  */
-- 
2.29.2



More information about the vlc-devel mailing list