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 c275444d9..79cd97fd2 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 @@ -358,7 +358,9 @@ public class ExoPlayerWrapper { LoudnessEnhancer oldEnhancer = this.loudnessEnhancer; if (oldEnhancer != null) { newEnhancer.setEnabled(oldEnhancer.getEnabled()); - newEnhancer.setTargetGain((int) oldEnhancer.getTargetGain()); + if (oldEnhancer.getEnabled()) { + newEnhancer.setTargetGain((int) oldEnhancer.getTargetGain()); + } oldEnhancer.release(); }