[vlc-devel] [PATCH 5/8] aout: rename aout_DecGetResetStats to aout_GetResetStats

Thomas Guillem thomas at gllm.fr
Fri Mar 8 17:24:43 CET 2019


---
 src/audio_output/aout_internal.h | 2 +-
 src/audio_output/stream.c        | 4 ++--
 src/input/decoder.c              | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/audio_output/aout_internal.h b/src/audio_output/aout_internal.h
index 5dcde24ca2..579cd8abf2 100644
--- a/src/audio_output/aout_internal.h
+++ b/src/audio_output/aout_internal.h
@@ -148,11 +148,11 @@ int aout_DecNew(audio_output_t *, const audio_sample_format_t *,
                 struct vlc_clock_t *clock, const audio_replay_gain_t *);
 void aout_DecDelete(audio_output_t *);
 int aout_DecPlay(audio_output_t *aout, block_t *block);
-void aout_DecGetResetStats(audio_output_t *, unsigned *, unsigned *);
 void aout_DecChangePause(audio_output_t *, bool b_paused, vlc_tick_t i_date);
 void aout_DecChangeRate(audio_output_t *aout, float rate);
 void aout_DecChangeDelay(audio_output_t *aout, vlc_tick_t delay);
 void aout_DecFlush(audio_output_t *, bool wait);
+void aout_GetResetStats(audio_output_t *, unsigned *, unsigned *);
 void aout_RequestRestart (audio_output_t *, unsigned);
 void aout_RequestRetiming(audio_output_t *aout, vlc_tick_t system_ts,
                           vlc_tick_t audio_ts);
diff --git a/src/audio_output/stream.c b/src/audio_output/stream.c
index 88e4d08208..3bb411c31e 100644
--- a/src/audio_output/stream.c
+++ b/src/audio_output/stream.c
@@ -461,8 +461,8 @@ drop:
     return ret;
 }
 
-void aout_DecGetResetStats(audio_output_t *aout, unsigned *restrict lost,
-                           unsigned *restrict played)
+void aout_GetResetStats(audio_output_t *aout, unsigned *restrict lost,
+                        unsigned *restrict played)
 {
     aout_owner_t *owner = aout_owner (aout);
 
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 1aa227a2ed..4ac73e36fd 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1203,7 +1203,7 @@ static void DecoderUpdateStatAudio( struct decoder_owner *p_owner,
     {
         unsigned aout_lost;
 
-        aout_DecGetResetStats( p_owner->p_aout, &aout_lost, &played );
+        aout_GetResetStats( p_owner->p_aout, &aout_lost, &played );
         lost += aout_lost;
     }
 
-- 
2.20.1



More information about the vlc-devel mailing list