diff --git a/audio/audio/audio_policy_configuration.xml b/audio/audio/audio_policy_configuration.xml deleted file mode 100644 index ce9b81f..0000000 --- a/audio/audio/audio_policy_configuration.xml +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - - - - - - - - - - Earpiece - Speaker - - Built-In Mic - Built-In Back Mic - FM Tuner - Telephony Rx - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 8a5ccc2..931fbad 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -6,70 +6,35 @@ + Earpiece Speaker Built-In Mic Built-In Back Mic - Voice Call Mic Speaker - + + - - - - - - - - - - - - - - - - - - - + + samplingRates="48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_VOICE_UPLINK,AUDIO_CHANNEL_IN_VOICE_DNLINK"/> - + + + @@ -82,14 +47,17 @@ - + - - + + + + + @@ -108,62 +76,51 @@ samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_IN_VOICE_UPLINK,AUDIO_CHANNEL_IN_VOICE_DNLINK"/> - - - - - - - - - - + - - - - - - + + + + + + + + + - - - - - - - - - + + - + - - + + + + + - - - \ No newline at end of file + + + + + + diff --git a/msm8996.mk b/msm8996.mk index ecc8f93..46cc51c 100755 --- a/msm8996.mk +++ b/msm8996.mk @@ -107,7 +107,6 @@ PRODUCT_PACKAGES += \ libaudioprimary_shim PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/audio/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \ $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ diff --git a/system.prop b/system.prop index bd0e5b4..9449dfb 100755 --- a/system.prop +++ b/system.prop @@ -6,6 +6,7 @@ persist.vendor.audio.fluence.speaker=true persist.vendor.audio.fluence.voicecall=true persist.vendor.audio.fluence.voicerec=false persist.vendor.audio.hw.binder.size_kbyte=1024 +persist.vendor.bt.enable.splita2dp=false ro.af.client_heap_size_kbyte=7168 ro.config.media_vol_steps=25 ro.config.vc_call_vol_steps=5 @@ -25,6 +26,9 @@ vendor.audio.safx.pbe.enabled=true vendor.audio.tunnel.encode=false vendor.audio.use.sw.alac.decoder=true vendor.voice.path.for.pcm.voip=true +vendor.audio.dolby.ds2.enabled=false +vendor.audio.dolby.ds2.hardbypass=false +vendor.audio.use.sw.ape.decoder=true # Bluetooth qcom.bluetooth.soc=rome