j7elte: mixer: Reduce speaker gains lineage-18.1
authorDanny Wood <danwood76@gmail.com>
Tue, 18 Jan 2022 16:06:44 +0000 (16:06 +0000)
committerDanny Wood <danwood76@gmail.com>
Fri, 5 Aug 2022 10:01:06 +0000 (12:01 +0200)
Previous values cause too much distortion at full volume so restored stock values

Change-Id: Icb9cb63a123322bcf637260feaa03c4afa242f0d

configs/audio/mixer_paths.xml

index 4dd0c4e25995b7134c79d68ed0962c21d22e4170..768a6a901ebe4ad9cc202079ac5496fc5dee3a1f 100644 (file)
 
        <path name="gain-media-speaker">
                <ctl name="S2801 MIX1_LVL" value="0" />
 
        <path name="gain-media-speaker">
                <ctl name="S2801 MIX1_LVL" value="0" />
-               <ctl name="DAC Gain" value="132" />
-               <ctl name="Speaker Volume" value="6" />
+               <ctl name="DAC Gain" value="121" />
+               <ctl name="Speaker Volume" value="3" />
        </path>
 
        <path name="gain-media-headset">
        </path>
 
        <path name="gain-media-headset">
 
        <path name="gain-media-speaker-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
 
        <path name="gain-media-speaker-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
-               <ctl name="DAC Gain" value="132" />
-               <ctl name="Speaker Volume" value="6" />
+               <ctl name="DAC Gain" value="121" />
+               <ctl name="Speaker Volume" value="3" />
                <ctl name="Headphone Volume" value="36" />
        </path>
 
                <ctl name="Headphone Volume" value="36" />
        </path>
 
 
        <path name="gain-media-speaker-bt-sco-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
 
        <path name="gain-media-speaker-bt-sco-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
-               <ctl name="DAC Gain" value="132" />
-               <ctl name="Speaker Volume" value="6" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
        </path>
 
        <!-- Ringtone playback volume -->
        </path>
 
        <!-- Ringtone playback volume -->
 
        <path name="gain-ringtone-speaker">
                <ctl name="S2801 MIX1_LVL" value="0" />
 
        <path name="gain-ringtone-speaker">
                <ctl name="S2801 MIX1_LVL" value="0" />
-               <ctl name="DAC Gain" value="127" />
-               <ctl name="Speaker Volume" value="3" />
+               <ctl name="DAC Gain" value="105" />
+               <ctl name="Speaker Volume" value="0" />
        </path>
 
        <path name="gain-ringtone-headset">
        </path>
 
        <path name="gain-ringtone-headset">
 
        <path name="gain-ringtone-speaker-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
 
        <path name="gain-ringtone-speaker-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
-               <ctl name="DAC Gain" value="127" />
-               <ctl name="Speaker Volume" value="6" />
+               <ctl name="DAC Gain" value="121" />
+               <ctl name="Speaker Volume" value="3" />
                <ctl name="Headphone Volume" value="36" />
        </path>
 
                <ctl name="Headphone Volume" value="36" />
        </path>
 
                <ctl name="S2801 MIX1_LVL" value="0" />
                <ctl name="S2801 MIX2_LVL" value="0" />
                <ctl name="DAC Gain" value="127" />
                <ctl name="S2801 MIX1_LVL" value="0" />
                <ctl name="S2801 MIX2_LVL" value="0" />
                <ctl name="DAC Gain" value="127" />
-               <ctl name="Speaker Volume" value="6" />
+               <ctl name="Speaker Volume" value="3" />
        </path>
 
        <path name="gain-incall_nb-headset">
        </path>
 
        <path name="gain-incall_nb-headset">
                <ctl name="S2801 MIX1_LVL" value="0" />
                <ctl name="S2801 MIX2_LVL" value="0" />
                <ctl name="DAC Gain" value="127" />
                <ctl name="S2801 MIX1_LVL" value="0" />
                <ctl name="S2801 MIX2_LVL" value="0" />
                <ctl name="DAC Gain" value="127" />
-               <ctl name="Speaker Volume" value="6" />
+               <ctl name="Speaker Volume" value="3" />
        </path>
 
        <path name="gain-incall_wb-headset">
        </path>
 
        <path name="gain-incall_wb-headset">