[Android Software Development] whood:
## ##
## sonophilos Lover of Sound tweak.prop ##
## ##
## guitardedhero's current tweak.prop ##
## ##
## XDA Developers ##
## ##

BACKUP=y

## Advanced Linux Sound Architecture ##
#
AUDIODRIVER=alsa
ro.sound.driver=alsa
ro.audio.driver=alsa
ro.enforce.driver.priority=alsa
ro.sound.alsa=snd_pcm
alsa.mixer.playback.master=Speaker
alsa.mixer.capture.master=Mic
alsa.mixer.playback.earpiece=Earpiece
alsa.mixer.capture.earpiece=Mic
alsa.mixer.playback.headset=Headset
alsa.mixer.capture.headset=Mic
alsa.mixer.playback.speaker=Speaker
alsa.mixer.capture.speaker=Mic
alsa.mixer.playback.bt.sco=BTHeadset
alsa.mixer.capture.bt.sco=BTHeadset
#

## XTREMEMusic Experimental Props ##
# Noise reduction tweaks (Release candidate, compatible)
# These reduce in call noise by using dual mics
# Uncomment ONLY if you're certain you have dual mics
htc.audio.enable_dmic=1
persist.audio.handset.mic=digital
# Legacy tweaks - these reduce signal noise noticeably
htc.audio.alt.enable=0
htc.audio.hac.enable=0

## Audio Offload ##
#
audio.offload.pcm.enable=true
audio.offload.pcm.16bit.enable=true
audio.offload.pcm.24bit.enable=true
audio.offload.pcm.32bit.enable=true
audio.offload.track.enable=true
audio.offload.gapless.enabled=true
#

## HTC™ Audio ##
#
ro.config.hw_dolby=true
htc.audio.swalt.enable=1
# Can go as high as 14512 - this is a smooth value for M9
# Gain = perceived volume, but higher is not always better
htc.audio.swalt.mingain=3840
persist.htc.audio.pcm.samplerate=256000
persist.htc.audio.pcm.channels=2
persist.audio.vr.enable=false
htc.audio.lpa.a2dp=0
htc.audio.alc.enable=1
persist.audio.SupportHTCHWAEC=1
htc.audio.global.profile=0
htc.audio.global.state=0
htc.audio.q6.topology=0
support_boomsound_effect=true
support_harman=true
# System props for Dolby
dmid=-1286820014
audio.dolby.ds2.enable=true
audio.ds1.metainfo.key=273
#

## Huawei™ Audio ##
#
ro.config.hw_dts=true
ro.config.hw_music_lp=true
ro.config.music_lp_vol=true
build.hisi_perf_opt=true
audioril.lib=libhuawei-audio-ril.so
media.stagefright.use-awesome=false
#

## Vivo™ DTS™ ##
#
use.dts_m6=true
use.dts_m6_notify=true
use.dts_eagle=true
#

## Sony™ Audio ##
#
mpq.audio.decode=true
com.sonyericsson.xloud_enabled=true
com.sonymobile.clearphase_enabled=true
com.sonymobile.sforce_enabled=true
persist.service.clearaudio.enable=1
persist.service.clearphase.enable=1
persist.service.dseehx.enable=1
persist.service.enhance.enable=1
persist.service.sforce.enable=1
persist.service.xloud.enable=1
ro.semc.clearaudio.supported=true
ro.semc.clearphase.supported=true
ro.semc.dseehx.enable=1
ro.semc.enhance.supported=true
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
ro.somc.clearphase.supported=true
ro.somc.cp.default_setting=true
ro.somc.dseehx.supported=true
ro.somc.sforce.supported=true
ro.somc.sfs.default_setting=true
ro.somc.xloud.default_setting=true
#*Automatic*Headphone*Compensation*(AHC)
sony.ahc.supported=yes

#SONY*effect*
sony.support.effect=0x1FF
#**Allocate*bit*for*each*effect.*
#**If*necessary,*define*effect*list*with*logical*sum.*
#**EFFECT_DN********0x0001*(Dynamic*Normalizer)*
#**EFFECT_SF********0x0002*(S-Force)*
#**EFFECT_CPHP******0x0004*(ClearPhase*Headphone)*
#**EFFECT_CA********0x0008*(ClearAudio)*
#**EFFECT_VPT*******0x0010*(VPT)*
#**EFFECT_CPSP******0x0020*(ClearPhase*Speaker)*
#**EFFECT_XLOUD*****0x0040*(xLOUD)*
#**EFFECT_CAPLUS****0x0080*(ClearAudio+)*
#**EFFECT_SPBUNDLE**0x0100*(Speaker*Bundle)*
#**EFFECT_ALC*******0x0200*(ALC)*

#*Effect*used*by*Speaker*Bundle.*
#*EFFECT_SF*|*EFFECT_CPSP*|*EFFECT_SPBUNDLE*| EFFECT_XLOUD =*0x162*
sony.effect.custom.sp_bundle=0x162
#*EFFECT_SF*|*EFFECT_CPSP*|*EFFECT_SPBUNDLE*=*0x122*
#sony.effect.custom.sp_bundle=0x122*

#*Effect*used*by*ClearAudio+*headset*
#*EFFECT_CA*|*EFFECT_VPT*|*EFFECT_CAPLUS*|*EFFECT_ALC*| EFFECT_SF | EFFECT_XLOUD =*0x340*
sony.effect.custom.caplus_hs=0x340
#*EFFECT_CA*|*EFFECT_VPT*|*EFFECT_CAPLUS*|*EFFECT_ALC*=*0x298*
#sony.effect.custom.caplus_hs=0x298*

#*Effect*used*by*ClearAudio+*speaker*
#*EFFECT_CA*|*EFFECT_VPT*|*EFFECT_CPSP*|*EFFECT_CAPLUS*|*EFFECT_ALC*| EFFECT_SF | EFFECT_XLOUD =*0x360*
sony.effect.custom.caplus_sp=0x360
#*EFFECT_CA*|*EFFECT_VPT*|*EFFECT_CPSP*|*EFFECT_CAPLUS*|*EFFECT_ALC*=*0x2B8*
#sony.effect.custom.caplus_sp=0x2B8

#*LDAC*audio*support*
ro.somc.ldac.audio.supported=true
#*Force*LDAC*to*run*in*Bluetooth*
persist.service.ldac.enable=1
com.sonymobile.ldac_enabled=true
#

## Miscellaneous Audio ##
#
#persist.audio.handset.mic=digital
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.mode=endfire
persist.audio.fluence.voicecall=true
audio.converter.samplerate.preferred=libsamplerate
audio.converter.samplerate.libsamplerate.quality=best
af.resampler.quality=8
persist.af.resampler.quality=8
persist.dev.pm.dyn_samplingrate=1
clock.allow_streaming_errors=false
default.pcm.rate_converter=samplerate_best
ro.ril.enable.amr.wideband=1
tunnel.audio.encode=false
tunnel.multiple=true
#