[Android] Apply equalizer settings on media player creation

Geoffrey Métais git at videolan.org
Mon Jan 25 17:12:32 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jan 25 17:11:45 2016 +0100| [938c92b9d37c000c5b7ff0aad7140393fa612b28] | committer: Geoffrey Métais

Apply equalizer settings on media player creation

> https://code.videolan.org/videolan/vlc-android/commit/938c92b9d37c000c5b7ff0aad7140393fa612b28
---

 vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 282c69b..9d36920 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -213,6 +213,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
 
         mSettings = PreferenceManager.getDefaultSharedPreferences(this);
         mMediaPlayer = newMediaPlayer();
+        mMediaPlayer.setEqualizer(VLCOptions.getEqualizer(this));
 
         if (!VLCInstance.testCompatibleCPU(this)) {
             stopSelf();



More information about the Android mailing list