diff --git a/audio/audio_effects.conf b/audio/audio_effects.conf
index 298c737..fc7b61a 100644
--- a/audio/audio_effects.conf
+++ b/audio/audio_effects.conf
@@ -42,8 +42,8 @@ libraries {
audio_pre_processing {
path /system/lib/soundfx/libqcomvoiceprocessing.so
}
-# bug 156482 add dirac effect start
- loudness_enhancer {
+ #add dirac effect bug 156518
+ loudness_enhancer {
path /system/lib/soundfx/libldnhncr.so
}
volume_listener {
@@ -53,7 +53,6 @@ libraries {
path /system/lib/soundfx/libdirac.so
}
}
-# bug 156482 add dirac effect end
# Default pre-processing library. Add to audio_effect.conf "libraries" section if
# audio HAL implements support for default software audio pre-processing effects
@@ -232,7 +231,7 @@ effects {
library audio_pre_processing
uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
}
-# bug 156482 add dirac effect start
+#bug 156518 add dirac effect
music_helper {
library volume_listener
uuid 08b8b058-0590-11e5-ac71-0025b32654a0
@@ -345,7 +344,6 @@ global_processing {
}
}
}
-# bug 156482 add dirac effect end
# Default pre-processing effects. Add to audio_effect.conf "effects" section if
# audio HAL implements support for them.
#
diff --git a/audio/audio_output_policy.conf b/audio/audio_output_policy.conf
index 313d36c..3d6b978 100644
--- a/audio/audio_output_policy.conf
+++ b/audio/audio_output_policy.conf
@@ -32,23 +32,30 @@ outputs {
bit_width 16
app_type 69936
}
- direct_pcm {
+ direct_pcm_16 {
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
- formats AUDIO_FORMAT_PCM_16_BIT
+ formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT
sampling_rates 44100|48000|96000|192000
bit_width 16
app_type 69936
}
+ direct_pcm_24 {
+ flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
+ formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT
+ sampling_rates 44100|48000|96000|192000
+ bit_width 24
+ app_type 69940
+ }
compress_offload_16 {
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
- formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2
- sampling_rates 44100|48000
+ formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2
+ sampling_rates 44100|48000|96000|192000
bit_width 16
app_type 69936
}
compress_offload_24 {
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
- formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS
+ formats AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS
sampling_rates 44100|48000|96000|192000
bit_width 24
app_type 69940
diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml
index a23dcfe..1aca90e 100644
--- a/audio/audio_platform_info.xml
+++ b/audio/audio_platform_info.xml
@@ -60,4 +60,3 @@
-
diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf
index f69cfa5..b7b858e 100644
--- a/audio/audio_policy.conf
+++ b/audio/audio_policy.conf
@@ -57,14 +57,14 @@ audio_hw_modules {
direct_pcm {
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|176400|192000
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1
- formats AUDIO_FORMAT_PCM_16_BIT
+ formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
}
compress_offload {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|64000|88200|96000|176400|192000
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_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OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
}
@@ -98,7 +98,7 @@ audio_hw_modules {
}
surround_sound {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
- channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_IN_5POINT1
+ channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_INDEX_MASK_3|AUDIO_CHANNEL_INDEX_MASK_4|AUDIO_CHANNEL_IN_5POINT1
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC
}
diff --git a/audio/mixer_paths_qrd_sku1.xml b/audio/mixer_paths_qrd_sku1.xml
index b69e9b6..9824aec 100644
--- a/audio/mixer_paths_qrd_sku1.xml
+++ b/audio/mixer_paths_qrd_sku1.xml
@@ -206,6 +206,7 @@
+
@@ -485,8 +486,6 @@
-
-
@@ -913,8 +912,6 @@
-
-
@@ -1053,8 +1050,17 @@
+
+
+
+
+
+
+
+
+
-
+
@@ -1066,8 +1072,6 @@
-
-
diff --git a/audio/sound_trigger_platform_info.xml b/audio/sound_trigger_platform_info.xml
index 846ea0e..fa12ef5 100644
--- a/audio/sound_trigger_platform_info.xml
+++ b/audio/sound_trigger_platform_info.xml
@@ -1,5 +1,5 @@
-
+
@@ -26,35 +26,47 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
diff --git a/product/qcom-audio.mk b/product/qcom-audio.mk
index 0a0dd39..d7c5e5e 100644
--- a/product/qcom-audio.mk
+++ b/product/qcom-audio.mk
@@ -40,14 +40,13 @@ PRODUCT_PROPERTY_OVERRIDES += \
voice.record.conc.disabled=false \
voice.voip.conc.disabled=true \
voice.conc.fallbackpath=deep-buffer \
- audio.parser.ip.buffer.size=0 \
+ audio.parser.ip.buffer.size=262144 \
audio_hal.period_size=192 \
ro.qc.sdk.audio.ssr=false \
ro.qc.sdk.audio.fluencetype=fluence \
persist.audio.fluence.voicecall=true \
- persist.audio.fluence.voicerec=true \
+ persist.audio.fluence.voicerec=false \
persist.audio.fluence.speaker=true \
- audio.offload.disable=true \
tunnel.audio.encode=false \
audio.offload.buffer.size.kb=64 \
audio.offload.min.duration.secs=30 \
@@ -65,10 +64,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
audio.safx.pbe.enabled=true \
audio.pp.asphere.enabled=false \
audio.dolby.ds2.enabled=true \
- af.fast_track_multiplier=2 \
+ audio.dolby.ds2.hardbypass=true \
+ af.fast_track_multiplier=1 \
persist.speaker.prot.enable=false \
audio.offload.multiaac.enable=true \
- audio.dolby.ds2.hardbypass=true \
flac.sw.decoder.24bit.support=true \
- media.stagefright.audio.sink=280 \
audio.offload.passthrough=false