aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-03-18 06:55:38 -0700
committerScott Jackson <daneren2005@gmail.com>2014-03-18 06:55:38 -0700
commitfc694f05cf76310f9999840194b255e7fd23bb72 (patch)
tree3b73485ee61a832a1c93c21dcc25e8d5dedc7df4 /src
parentafaa90690bd6687395eb3a921d673799a73e5496 (diff)
downloaddsub-fc694f05cf76310f9999840194b255e7fd23bb72.tar.gz
dsub-fc694f05cf76310f9999840194b255e7fd23bb72.tar.bz2
dsub-fc694f05cf76310f9999840194b255e7fd23bb72.zip
Fix restoring presets overwriting changes
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/audiofx/EqualizerController.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/audiofx/EqualizerController.java b/src/github/daneren2005/dsub/audiofx/EqualizerController.java
index 254f168d..4f0624d7 100644
--- a/src/github/daneren2005/dsub/audiofx/EqualizerController.java
+++ b/src/github/daneren2005/dsub/audiofx/EqualizerController.java
@@ -186,9 +186,6 @@ public class EqualizerController {
for (short i = 0; i < bandLevels.length; i++) {
equalizer.setBandLevel(i, bandLevels[i]);
}
- if (preset >= 0 && preset < equalizer.getNumberOfPresets()) {
- equalizer.usePreset(preset);
- }
equalizer.setEnabled(enabled);
if(bass != 0) {
boost.setEnabled(true);