Thread: Moar decibels!
View Single Post
Posts: 113 | Thanked: 303 times | Joined on Dec 2013 @ Germany
#7
I think this will cause digital clipping.

What you have to do is set the volume of the actual "soundchip" to a higher value. These values are defined in an alsa ucm file under:

/system/etc/snd_soc_msm/snd_soc_msm_Sitar

you have to search for:

Code:
SectionDevice
	Name "Headphones"
        Comment "Headset Rx device"

        EnableSequence
                'SLIM_0_RX Channels':0:Two
                'RX2 MIX1 INP1':0:RX1
                'RX3 MIX1 INP1':0:RX2
                'DAC4 MUX':0:ON
                'HPHL Volume':1:93 <-- default value is 50 here
                'HPHR Volume':1:93 <-- default value is 50 here
                'RX2 Digital Volume':1:68
                'RX3 Digital Volume':1:68
        EndSequence

        DisableSequence
               	'RX2 MIX1 INP1':0:ZERO
                'RX3 MIX1 INP1':0:ZERO
                'DAC4 MUX':0:ZERO
                'HPHL Volume':1:0
                'HPHR Volume':1:0
        EndSequence
Please take under advice that " <-- default value is 50 here" IS A COMMENT FROM ME AND DOES NOT BELONG IN THAT FILE
 

The Following 2 Users Say Thank You to djselbeck For This Useful Post: