[Android] 10L: Fix getRate

Jean-Baptiste Kempf git at videolan.org
Mon Oct 15 15:04:27 CEST 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 15 15:04:18 2012 +0200| [418d32fca14428c3e0e12924e3928c643a3721e5] | committer: Jean-Baptiste Kempf

10L: Fix getRate

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=418d32fca14428c3e0e12924e3928c643a3721e5
---

 vlc-android/src/org/videolan/vlc/AudioService.java |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 425c549..d430925 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -871,8 +871,7 @@ public class AudioService extends Service {
 
         @Override
         public float getRate() throws RemoteException {
-            mLibVLC.getRate();
-            return 0;
+            return mLibVLC.getRate();
         }
     };
 



More information about the Android mailing list