aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-10-11 21:07:24 -0700
committerScott Jackson <daneren2005@gmail.com>2014-10-11 21:07:24 -0700
commitec0e1376d0dc639fcee174117b1728709a07063a (patch)
tree5478e9a3efc51f3b206b57b4b0f8188bd34809cb /src
parentb0fcec4826bb211c9723d02730602c344163962a (diff)
downloaddsub-ec0e1376d0dc639fcee174117b1728709a07063a.tar.gz
dsub-ec0e1376d0dc639fcee174117b1728709a07063a.tar.bz2
dsub-ec0e1376d0dc639fcee174117b1728709a07063a.zip
Fix default replay gain not being 0 db
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 3d480613..49a3bec1 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -2010,10 +2010,7 @@ public class DownloadService extends Service {
int untagged = Integer.parseInt(prefs.getString(Constants.PREFERENCES_KEY_REPLAY_GAIN_UNTAGGED, "0"));
adjust = (untagged - 150) / 10f;
} else {
- /* This song has some replay gain info, we are now going to apply the 'bump' value
- ** The preferences stores the raw value of the seekbar, that's 0-150
- ** But we want -15 <-> +15, so 75 shall be zero */
- int bump = Integer.parseInt(prefs.getString(Constants.PREFERENCES_KEY_REPLAY_GAIN_BUMP, "0"));
+ int bump = Integer.parseInt(prefs.getString(Constants.PREFERENCES_KEY_REPLAY_GAIN_BUMP, "150"));
adjust += (bump - 150) / 10f;
}
}