sm8150-common: DolbyManager: Rework supported profiles
correct DAP_PARAM_VALUE while at it which fixes dolby presets Change-Id: Ic4096b2498353b65e5e38bc5bd88bf84b9c7cc39
This commit is contained in:
parent
2c935104a0
commit
4d1331d386
|
@ -17,12 +17,18 @@
|
|||
<item>@string/dolby_profile_dynamic</item>
|
||||
<item>@string/dolby_profile_movie</item>
|
||||
<item>@string/dolby_profile_music</item>
|
||||
<item>@string/dolby_profile_game1</item>
|
||||
<item>@string/dolby_profile_game2</item>
|
||||
<item>@string/dolby_profile_voice</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="dolby_profile_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="dolby_preset_entries" translatable="false">
|
||||
|
|
|
@ -24,8 +24,11 @@
|
|||
|
||||
<!-- Dolby Atmos: Sound Profiles -->
|
||||
<string name="dolby_profile_dynamic">Dynamic</string>
|
||||
<string name="dolby_profile_music">Music</string>
|
||||
<string name="dolby_profile_movie">Movie</string>
|
||||
<string name="dolby_profile_music">Music</string>
|
||||
<string name="dolby_profile_game1">Game1</string>
|
||||
<string name="dolby_profile_game2">Game2</string>
|
||||
<string name="dolby_profile_voice">Voice</string>
|
||||
|
||||
<!-- Dolby Atmos: Equalizer presets -->
|
||||
<string name="dolby_preset_default">Default</string>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue