summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Lesniak <me@xplod.fr>2014-08-23 11:53:55 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-08-23 11:53:55 +0200
commit4f6c1e1400a2db1a6d2e72c94b7306e3b6aca137 (patch)
treeb542ba2bf56f5fc558e744221e1315fb5eb800b9
parent076d65e92d856afa804f975de5a28701dd4073eb (diff)
parenta381de1f7035de6fb80ec3adc09c489a2a03325d (diff)
Merge "DSPManager: Boeffla sound 1.6.6" into android-4.4
-rw-r--r--res/xml/boefflasoundcontrol_preferences.xml6
-rw-r--r--src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControl.java8
-rw-r--r--src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControlHelper.java4
3 files changed, 9 insertions, 9 deletions
diff --git a/res/xml/boefflasoundcontrol_preferences.xml b/res/xml/boefflasoundcontrol_preferences.xml
index f7f00ec..8190447 100644
--- a/res/xml/boefflasoundcontrol_preferences.xml
+++ b/res/xml/boefflasoundcontrol_preferences.xml
@@ -84,7 +84,7 @@
android:persistent="true"
android:dependency="boeffla_sound"
android:max="63"
- dsp:min="20"
+ dsp:min="0"
dsp:unitsLeft=""
dsp:unitsRight=""
android:defaultValue="17" />
@@ -105,7 +105,7 @@
android:persistent="true"
android:dependency="boeffla_sound"
android:max="63"
- dsp:min="20"
+ dsp:min="0"
dsp:unitsLeft=""
dsp:unitsRight=""
android:defaultValue="10" />
@@ -116,7 +116,7 @@
android:persistent="true"
android:dependency="boeffla_sound"
android:max="63"
- dsp:min="20"
+ dsp:min="0"
dsp:unitsLeft=""
dsp:unitsRight=""
android:defaultValue="10" />
diff --git a/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControl.java b/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControl.java
index 9ed7ec9..ba748b5 100644
--- a/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControl.java
+++ b/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControl.java
@@ -253,11 +253,11 @@ public class BoefflaSoundControl extends PreferenceFragment
bHelper().applyFLLTuning(false);
mFLLTuning.setChecked(false);
- bHelper().applyHeadphoneVolumeLeft(50);
- mHeadphoneVolumeLeft.setValue(50);
+ bHelper().applyHeadphoneVolumeLeft(57);
+ mHeadphoneVolumeLeft.setValue(57);
- bHelper().applyHeadphoneVolumeRight(50);
- mHeadphoneVolumeRight.setValue(50);
+ bHelper().applyHeadphoneVolumeRight(57);
+ mHeadphoneVolumeRight.setValue(57);
bHelper().applyMicrophoneCall(25);
mMicrophoneCall.setValue(25);
diff --git a/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControlHelper.java b/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControlHelper.java
index e5b7a91..d6a71ca 100644
--- a/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControlHelper.java
+++ b/src/com/bel/android/dspmanager/modules/boefflasoundcontrol/BoefflaSoundControlHelper.java
@@ -108,12 +108,12 @@ public class BoefflaSoundControlHelper {
}
if (getHeadphoneVolumeLeft()) {
- int i = mSharedPrefs.getInt("headphone_volume_left", 50);
+ int i = mSharedPrefs.getInt("headphone_volume_left", 57);
applyHeadphoneVolumeLeft(i);
}
if (getHeadphoneVolumeRight()) {
- int i = mSharedPrefs.getInt("headphone_volume_right", 50);
+ int i = mSharedPrefs.getInt("headphone_volume_right", 57);
applyHeadphoneVolumeRight(i);
}