diff --git a/DolbyManager/res/values/arrays.xml b/DolbyManager/res/values/arrays.xml index f4fef6fa..4bd39e68 100644 --- a/DolbyManager/res/values/arrays.xml +++ b/DolbyManager/res/values/arrays.xml @@ -17,12 +17,18 @@ @string/dolby_profile_dynamic @string/dolby_profile_movie @string/dolby_profile_music + @string/dolby_profile_game1 + @string/dolby_profile_game2 + @string/dolby_profile_voice 0 1 2 + 3 + 4 + 5 diff --git a/DolbyManager/res/values/strings.xml b/DolbyManager/res/values/strings.xml index 64abd569..e93b7815 100644 --- a/DolbyManager/res/values/strings.xml +++ b/DolbyManager/res/values/strings.xml @@ -24,8 +24,11 @@ Dynamic - Music Movie + Music + Game1 + Game2 + Voice Default diff --git a/DolbyManager/src/co/aospa/settings/dolby/DolbyAtmos.java b/DolbyManager/src/co/aospa/settings/dolby/DolbyAtmos.java index 598eeaeb..f1669443 100644 --- a/DolbyManager/src/co/aospa/settings/dolby/DolbyAtmos.java +++ b/DolbyManager/src/co/aospa/settings/dolby/DolbyAtmos.java @@ -28,10 +28,10 @@ public class DolbyAtmos extends AudioEffect { UUID.fromString("9d4921da-8225-4f29-aefa-39537a04bcaa"); private static final int DAP_PARAM = 5; private static final int DAP_PARAM_PROFILE = 0xA000000; - private static final int DAP_PARAM_VALUE = 0x2000000; + private static final int DAP_PARAM_VALUE = 0x1000000; private static final int DAP_PARAM_GEQ = 110; private static final int DAP_PARAM_VOLUME_LEVELER = 103; - private static final int DAP_PROFILES_COUNT = 9; + private static final int DAP_PROFILES_COUNT = 10; public DolbyAtmos(int priority, int audioSession) { super(EFFECT_TYPE_NULL, EFFECT_TYPE_DAP, priority, audioSession);