aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/fragments/EqualizerFragment.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/EqualizerFragment.java b/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
index 1475ccdd..07fb9663 100644
--- a/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
+++ b/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
@@ -186,7 +186,11 @@ public class EqualizerFragment extends SubsonicFragment {
} else if(setLevel > maxEQLevel) {
setLevel = maxEQLevel;
}
- equalizer.setBandLevel(band, setLevel);
+ try {
+ equalizer.setBandLevel(band, setLevel);
+ } catch(Exception e) {
+ Log.w(TAG, "Failed to set band level");
+ }
} else if(!isEnabled) {
bar.setProgress(-minEQLevel);
}