[vlc-commits] audiotrack: rename function

Thomas Guillem git at videolan.org
Tue Dec 1 12:16:15 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Nov 25 13:43:46 2020 +0100| [fef7f4767283c122498b72910bcf6cbc11aa513b] | committer: Thomas Guillem

audiotrack: rename function

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fef7f4767283c122498b72910bcf6cbc11aa513b
---

 modules/audio_output/audiotrack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index 3610680412..ed634beb06 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -605,7 +605,7 @@ AudioTrack_getPlaybackHeadPosition( JNIEnv *env, audio_output_t *p_aout )
  * Called after flush, or start
  */
 static void
-AudioTrack_ResetPlaybackHeadPosition( JNIEnv *env, audio_output_t *p_aout )
+AudioTrack_ResetWrapCount( JNIEnv *env, audio_output_t *p_aout )
 {
     (void) env;
     aout_sys_t *p_sys = p_aout->sys;
@@ -643,7 +643,7 @@ AudioTrack_Reset( JNIEnv *env, audio_output_t *p_aout )
     aout_sys_t *p_sys = p_aout->sys;
 
     AudioTrack_ResetPositions( env, p_aout );
-    AudioTrack_ResetPlaybackHeadPosition( env, p_aout );
+    AudioTrack_ResetWrapCount( env, p_aout );
     p_sys->i_samples_written = 0;
 }
 



More information about the vlc-commits mailing list