summaryrefslogtreecommitdiff
path: root/model/src
diff options
context:
space:
mode:
authorMatej Drobnič <services+github@matejdro.com>2023-09-08 14:28:20 +0200
committerGitHub <noreply@github.com>2023-09-08 13:28:20 +0100
commit8ebf1539705aa2251f0e7f795e72bb214e51750b (patch)
tree3675e58a12cc70a2a9aa9c6d0e79befa08abd7b0 /model/src
parent9ed5485ae353c0cb3c8b2f6a97f2e905d77afd71 (diff)
downloadAntennaPod-8ebf1539705aa2251f0e7f795e72bb214e51750b.zip
Add volume boost (#6573)
Diffstat (limited to 'model/src')
-rw-r--r--model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java b/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java
index 67e30e5c8..e71c5ad36 100644
--- a/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java
+++ b/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java
@@ -3,7 +3,10 @@ package de.danoeh.antennapod.model.feed;
public enum VolumeAdaptionSetting {
OFF(0, 1.0f),
LIGHT_REDUCTION(1, 0.5f),
- HEAVY_REDUCTION(2, 0.2f);
+ HEAVY_REDUCTION(2, 0.2f),
+ LIGHT_BOOST(3, 1.5f),
+ MEDIUM_BOOST(4, 2f),
+ HEAVY_BOOST(5, 2.5f);
private final int value;
private float adaptionFactor;