[Nexus 5 Themes and Apps] Splder:
So today i decided to try this mod out so i had a look at the Surround Sound(fixed).zip and noticed its only changed the mixer_paths.xml in system/etc

not wanting to change my hole mixer_paths.xml file i worked out that the part that makes this mod work is:

<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX2" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX7 Digital Volume" value="88" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>

so i manually edited my mixer_paths.xml and used the code above

after a reboot my earpiece speaker was very distorted on CM13 CAF so i played around with my mixer_paths.xml and worked out that it was the HPHL DAC so here is the new code without the HPHL DAC

<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX2" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX7 Digital Volume" value="88" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
</path>

i also was not happy with the volume on the small speaker felt i was putting to much strain on the small speaker so i lowered the volume

<ctl name="RX1 Digital Volume" value="76" /> = small earpiece speaker

<ctl name="RX7 Digital Volume" value="88" /> = normal loud speaker

i first turned RX7 to 0 then i tested RX1 at different levels and felt 76 was just right

<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX2" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="RX1 Digital Volume" value="76" />
<ctl name="RX7 Digital Volume" value="88" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
</path>

if you want to push your speakers a bit more these values would be my max

<ctl name="RX1 Digital Volume" value="84" />

<ctl name="RX7 Digital Volume" value="92" />

Edit*

Turns out we don't need two channels this is how you can have just one channel

and this is my final code

<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX1 Digital Volume" value="80" />
<ctl name="RX7 Digital Volume" value="90" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
</path>