From 33603f8edd8d2e9eae3db5a6d5b74effec84ee42 Mon Sep 17 00:00:00 2001 From: falko Date: Sat, 5 Jan 2019 14:20:26 +0100 Subject: [PATCH] Update ExoPlayer Version to 2.9.3 In order to support the feature to skip silence audio ExoPlayer must be updated. Lateste avaiable Version is 2.9.3 --- build.gradle | 2 +- .../antennapod/core/service/playback/ExoPlayerWrapper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 838bc7674..c823a689b 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ project.ext { rxJavaRulesVersion = "1.3.3.0" triangleLabelViewVersion = "1.1.2" - exoPlayerVersion = "2.7.3" + exoPlayerVersion = "2.9.3" audioPlayerVersion = "v1.0.17" castCompanionLibVer = "2.9.1" diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java index e1d87e1d5..63f9beac8 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java @@ -43,7 +43,7 @@ public class ExoPlayerWrapper implements IPlayer { } private SimpleExoPlayer createPlayer() { - SimpleExoPlayer p = ExoPlayerFactory.newSimpleInstance(new DefaultRenderersFactory(mContext), + SimpleExoPlayer p = ExoPlayerFactory.newSimpleInstance(mContext, new DefaultRenderersFactory(mContext), new DefaultTrackSelector(), new DefaultLoadControl()); p.setSeekParameters(SeekParameters.PREVIOUS_SYNC); p.addListener(new Player.EventListener() {