diff options
author | falko <falko@lehmann-carpzov.de> | 2019-01-05 18:11:43 +0100 |
---|---|---|
committer | falko <falko@lehmann-carpzov.de> | 2019-01-05 23:14:08 +0100 |
commit | 1d8509fd8acfa4eeded40b48c016d86f5c353e33 (patch) | |
tree | 1d86e110cc1611ceb79aee8747c104e198acdafb /core/src/play | |
parent | 33603f8edd8d2e9eae3db5a6d5b74effec84ee42 (diff) | |
download | AntennaPod-1d8509fd8acfa4eeded40b48c016d86f5c353e33.zip |
Enable ExoPlayer feature to skip silence
SetSpeed was change to SetPlaybackParams which contain speed and a switch to skip silence. For Players that fo not support this the call is ignored or only SetSpeed is used. It is only working if ExoPlayeris used
Default is OFF
Diffstat (limited to 'core/src/play')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java b/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java index 79e058d0c..487849ef5 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java +++ b/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java @@ -515,8 +515,8 @@ public class RemotePSMP extends PlaybackServiceMediaPlayer { } @Override - public void setSpeed(float speed) { - throw new UnsupportedOperationException("Setting playback speed unsupported for Remote Playback"); + public void setPlaybackParams(float speed, boolean skipSilence) { + //Can be safely ignored as neither set speed not skipSilence is supported } @Override |