2017-02-10 09:35:20 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2017-06-30 11:42:05 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
|
2017-01-19 04:57:49 +00:00
|
|
|
|
2017-06-30 11:42:05 +00:00
|
|
|
# Audio
|
2017-01-19 04:57:49 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
audiod \
|
2017-06-30 11:42:05 +00:00
|
|
|
audio.a2dp.default \
|
2017-06-27 12:01:50 +00:00
|
|
|
audio.primary.msm8937 \
|
2017-06-30 11:42:05 +00:00
|
|
|
audio.r_submix.default \
|
|
|
|
audio.usb.default \
|
|
|
|
libaudio-resampler \
|
2017-01-19 04:57:49 +00:00
|
|
|
libqcomvisualizer \
|
2017-06-30 11:42:05 +00:00
|
|
|
libqcomvoiceprocessing \
|
|
|
|
libqcompostprocbundle \
|
|
|
|
tinymix
|
|
|
|
|
|
|
|
# Audio configuration
|
|
|
|
PRODUCT_COPY_FILES += \
|
2016-02-12 11:01:22 +00:00
|
|
|
$(DEVICE_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
|
|
|
|
$(DEVICE_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \
|
|
|
|
$(DEVICE_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
|
|
|
|
$(DEVICE_PATH)/audio/mixer_paths_qrd_sku1.xml:system/etc/mixer_paths_qrd_sku1.xml \
|
|
|
|
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \
|
|
|
|
$(DEVICE_PATH)/audio/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \
|
|
|
|
$(DEVICE_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \
|
|
|
|
$(DEVICE_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt
|
2017-06-30 11:42:05 +00:00
|
|
|
|
|
|
|
# XML Audio configuration files
|
|
|
|
PRODUCT_COPY_FILES += \
|
2016-02-12 11:01:22 +00:00
|
|
|
$(DEVICE_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml \
|
2017-06-30 11:42:05 +00:00
|
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:/system/etc/a2dp_audio_policy_configuration.xml \
|
|
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:/system/etc/audio_policy_volumes.xml \
|
|
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:/system/etc/default_volume_tables.xml \
|
|
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:/system/etc/r_submix_audio_policy_configuration.xml \
|
|
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:/system/etc/usb_audio_policy_configuration.xml
|
|
|
|
|
|
|
|
# Properties
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
voice.playback.conc.disabled=true \
|
|
|
|
voice.record.conc.disabled=false \
|
|
|
|
voice.voip.conc.disabled=true \
|
|
|
|
voice.conc.fallbackpath=deep-buffer \
|
2018-02-10 06:11:24 +00:00
|
|
|
audio.parser.ip.buffer.size=262144 \
|
2017-06-30 11:42:05 +00:00
|
|
|
audio_hal.period_size=192 \
|
|
|
|
ro.qc.sdk.audio.ssr=false \
|
|
|
|
ro.qc.sdk.audio.fluencetype=fluence \
|
|
|
|
persist.audio.fluence.voicecall=true \
|
2018-02-10 06:11:24 +00:00
|
|
|
persist.audio.fluence.voicerec=false \
|
2017-06-30 11:42:05 +00:00
|
|
|
persist.audio.fluence.speaker=true \
|
|
|
|
tunnel.audio.encode=false \
|
|
|
|
audio.offload.buffer.size.kb=64 \
|
|
|
|
audio.offload.min.duration.secs=30 \
|
|
|
|
audio.offload.video=true \
|
|
|
|
audio.offload.pcm.16bit.enable=true \
|
|
|
|
audio.offload.pcm.24bit.enable=true \
|
|
|
|
audio.offload.track.enable=true \
|
|
|
|
audio.deep_buffer.media=true \
|
|
|
|
audio.playback.mch.downsample=true \
|
|
|
|
use.voice.path.for.pcm.voip=true \
|
|
|
|
use.qti.sw.alac.decoder=true \
|
|
|
|
use.qti.sw.ape.decoder=true \
|
|
|
|
audio.offload.gapless.enabled=true \
|
|
|
|
audio.offload.multiple.enabled=false \
|
|
|
|
audio.safx.pbe.enabled=true \
|
|
|
|
audio.pp.asphere.enabled=false \
|
|
|
|
audio.dolby.ds2.enabled=true \
|
2018-02-10 06:11:24 +00:00
|
|
|
audio.dolby.ds2.hardbypass=true \
|
|
|
|
af.fast_track_multiplier=1 \
|
2017-06-30 11:42:05 +00:00
|
|
|
persist.speaker.prot.enable=false \
|
|
|
|
audio.offload.multiaac.enable=true \
|
|
|
|
flac.sw.decoder.24bit.support=true \
|
|
|
|
audio.offload.passthrough=false
|