blob: bf49de84c6dfe0ab4343d1c7571a5b3499eb8dcf [file] [log] [blame]
Ashish Jain1221b522016-03-30 15:09:20 +05301##AUDIO_FEATURE_FLAGS
2
3#BOARD_USES_GENERIC_AUDIO := true
4BOARD_USES_ALSA_AUDIO := true
Sharad Sangle8ecefdc2016-09-26 13:50:41 +05305
vivek mehta02a52022017-01-27 15:36:19 -08006ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
Sujin Panicker6f0871a2019-03-12 12:19:26 +05307USE_CUSTOM_AUDIO_POLICY := 1
Abhishek Ranjanc89058a2016-04-08 02:46:59 +05308#AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY := true
Ashish Jain1221b522016-03-30 15:09:20 +05309AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD := true
Ashish Jain1221b522016-03-30 15:09:20 +053010AUDIO_FEATURE_ENABLED_COMPRESS_CAPTURE := false
11AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true
Ashish Jain1221b522016-03-30 15:09:20 +053012AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true
13AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true
14AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER := true
15AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
Ashish Jain1221b522016-03-30 15:09:20 +053016AUDIO_FEATURE_ENABLED_HDMI_SPK := true
Ashish Jain1221b522016-03-30 15:09:20 +053017AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true
18AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true
19AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true
20AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true
21AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true
22AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true
23AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true
Ashish Jainad78edc2016-04-11 12:22:28 +053024AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
Ashish Jain1221b522016-03-30 15:09:20 +053025AUDIO_FEATURE_ENABLED_SSR := true
Ashish Jain1221b522016-03-30 15:09:20 +053026AUDIO_FEATURE_ENABLED_DTS_EAGLE := false
Divya Narayanan Poojary87cfbd72017-02-15 12:16:58 +053027BOARD_USES_SRS_TRUEMEDIA := false
Ashish Jain1221b522016-03-30 15:09:20 +053028DTS_CODEC_M_ := true
Ashish Jain1221b522016-03-30 15:09:20 +053029MM_AUDIO_ENABLED_SAFX := true
Ashish Jain1221b522016-03-30 15:09:20 +053030AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS := false
Satya Krishna Pindiproli4a72ae62017-07-02 16:08:11 +053031AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := false
Ashish Jain1221b522016-03-30 15:09:20 +053032AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true
Sujin Panickerb904fbe2019-04-04 13:28:07 +053033AUDIO_FEATURE_ENABLED_AHAL_EXT := false
Weiyin Jiangd9b5a4e2019-07-18 17:24:21 +080034AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true
Dhananjay Kumar29b894e2017-04-05 02:41:14 +053035DOLBY_ENABLE := false
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053036endif
37
38USE_XML_AUDIO_POLICY_CONF := 1
39BOARD_SUPPORTS_SOUND_TRIGGER := true
Aalique Grahame57058a62019-01-10 10:30:17 -080040AUDIO_USE_DEEP_AS_PRIMARY_OUTPUT := false
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053041AUDIO_FEATURE_ENABLED_HIFI_AUDIO := true
42AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true
43AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true
44AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
45AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true
46AUDIO_FEATURE_ENABLED_FLUENCE := true
47AUDIO_FEATURE_ENABLED_HDMI_EDID := true
48AUDIO_FEATURE_ENABLED_EXT_HDMI := true
49AUDIO_FEATURE_ENABLED_HFP := true
50AUDIO_FEATURE_ENABLED_INCALL_MUSIC := false
51AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
52AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
53AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true
54AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true
55AUDIO_FEATURE_ENABLED_DEV_ARBI := false
56MM_AUDIO_ENABLED_FTM := true
57TARGET_USES_QCOM_MM_AUDIO := true
58AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true
Rajshekar Eashwarappa88834522018-04-02 17:20:15 +053059BOARD_SUPPORTS_QAHW := false
Revathi Uddaraju1eac8b02017-05-18 17:13:33 +053060AUDIO_FEATURE_ENABLED_DYNAMIC_LOG := true
Dhananjay Kumare6293dd2017-05-25 17:25:30 +053061AUDIO_FEATURE_ENABLED_SND_MONITOR := true
Revathi Uddaraju64f14422018-07-11 11:42:12 +053062AUDIO_FEATURE_ENABLED_SVA_MULTI_STAGE := true
Himanshu Agrawal77c6d322018-04-17 20:46:37 +053063ifeq ($(TARGET_KERNEL_VERSION), 3.18)
64 AUDIO_FEATURE_ENABLED_DLKM := false
65else
66 AUDIO_FEATURE_ENABLED_DLKM := true
67endif
Ashish Jain1221b522016-03-30 15:09:20 +053068##AUDIO_FEATURE_FLAGS
69
Ashish Jain440a4d92016-04-06 23:03:56 +053070#Audio Specific device overlays
Aalique Grahame57058a62019-01-10 10:30:17 -080071DEVICE_PACKAGE_OVERLAYS += vendor/qcom/opensource/audio-hal/primary-hal/configs/common/overlay
Ashish Jain440a4d92016-04-06 23:03:56 +053072
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053073# Audio configuration file
vivek mehta02a52022017-01-27 15:36:19 -080074ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053075PRODUCT_COPY_FILES += \
Divya Narayanan Poojary2c5f13a2017-07-05 16:54:41 +053076 device/qcom/common/media/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053077else
78PRODUCT_COPY_FILES += \
Aalique Grahame57058a62019-01-10 10:30:17 -080079 vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053080endif
Ashish Jain1221b522016-03-30 15:09:20 +053081
82PRODUCT_COPY_FILES +=\
Aalique Grahame57058a62019-01-10 10:30:17 -080083vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf\
84vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf\
85vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Sujin Panickerb904fbe2019-04-04 13:28:07 +053086vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tasha.xml \
87vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tashalite.xml \
Aalique Grahame57058a62019-01-10 10:30:17 -080088vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
Sujin Panickerb904fbe2019-04-04 13:28:07 +053089vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml \
90vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths_sku1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_sku1.xml \
Aalique Grahame57058a62019-01-10 10:30:17 -080091vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
92vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/sound_trigger_mixer_paths_wcd9306.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9306.xml \
93vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/sound_trigger_mixer_paths_wcd9330.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9330.xml \
94vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/sound_trigger_mixer_paths_wcd9335.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9335.xml \
95vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
Sujin Panickerb904fbe2019-04-04 13:28:07 +053096vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
97vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tashalite.xml \
98vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tasha.xml \
99vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_mtp.xml \
100vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
101vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml
Ashish Jain1221b522016-03-30 15:09:20 +0530102
Satya Krishna Pindiproli013c3e42016-04-13 17:41:15 +0530103#XML Audio configuration files
104ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
Dhananjay Kumaraeb58fd2017-07-14 22:45:34 +0530105ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
Satya Krishna Pindiproli013c3e42016-04-13 17:41:15 +0530106PRODUCT_COPY_FILES += \
Aalique Grahame57058a62019-01-10 10:30:17 -0800107 $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml
Satya Krishna Pindiproli87a95f92016-05-09 19:58:33 +0530108endif
109PRODUCT_COPY_FILES += \
Aalique Grahame57058a62019-01-10 10:30:17 -0800110 $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Srinu Jella234f9422019-05-22 16:14:27 +0530111 $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/common/bluetooth_qti_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
Divya Narayanan Poojary2c5f13a2017-07-05 16:54:41 +0530112 $(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
113 $(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
114 $(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
115 $(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
Satya Krishna Pindiproli013c3e42016-04-13 17:41:15 +0530116endif
117
Ashish Jain1221b522016-03-30 15:09:20 +0530118# Reduce client buffer size for fast audio output tracks
119PRODUCT_PROPERTY_OVERRIDES += \
120 af.fast_track_multiplier=1
121
122# Low latency audio buffer size in frames
123PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530124 vendor.audio_hal.period_size=192
Ashish Jain1221b522016-03-30 15:09:20 +0530125
126##fluencetype can be "fluence" or "fluencepro" or "none"
127PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530128ro.vendor.audio.sdk.fluencetype=none\
129persist.vendor.audio.fluence.voicecall=true\
130persist.vendor.audio.fluence.voicerec=false\
131persist.vendor.audio.fluence.speaker=true
Ashish Jain1221b522016-03-30 15:09:20 +0530132
133#disable tunnel encoding
134PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530135vendor.audio.tunnel.encode=false
Ashish Jain1221b522016-03-30 15:09:20 +0530136
137#Buffer size in kbytes for compress offload playback
138PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530139vendor.audio.offload.buffer.size.kb=64
Ashish Jain1221b522016-03-30 15:09:20 +0530140
141#Minimum duration for offload playback in secs
142PRODUCT_PROPERTY_OVERRIDES += \
143audio.offload.min.duration.secs=30
144
145#Enable offload audio video playback by default
146PRODUCT_PROPERTY_OVERRIDES += \
147audio.offload.video=true
148
Ashish Jain1221b522016-03-30 15:09:20 +0530149#Enable audio track offload by default
150PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530151vendor.audio.offload.track.enable=true
Ashish Jain1221b522016-03-30 15:09:20 +0530152
153#Enable music through deep buffer
154PRODUCT_PROPERTY_OVERRIDES += \
155audio.deep_buffer.media=true
156
Ashish Jain1221b522016-03-30 15:09:20 +0530157#enable voice path for PCM VoIP by default
158PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530159vendor.voice.path.for.pcm.voip=true
Ashish Jain1221b522016-03-30 15:09:20 +0530160
161#Enable multi channel aac through offload
162PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530163vendor.audio.offload.multiaac.enable=true
Ashish Jain1221b522016-03-30 15:09:20 +0530164
165#Enable DS2, Hardbypass feature for Dolby
166PRODUCT_PROPERTY_OVERRIDES += \
Satya Krishna Pindiproli4a72ae62017-07-02 16:08:11 +0530167vendor.audio.dolby.ds2.enabled=false\
168vendor.audio.dolby.ds2.hardbypass=false
Ashish Jain1221b522016-03-30 15:09:20 +0530169
170#Disable Multiple offload sesison
171PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530172vendor.audio.offload.multiple.enabled=false
Ashish Jain1221b522016-03-30 15:09:20 +0530173
174#Disable Compress passthrough playback
175PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530176vendor.audio.offload.passthrough=false
Ashish Jain1221b522016-03-30 15:09:20 +0530177
178#Disable surround sound recording
179PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530180ro.vendor.audio.sdk.ssr=false
Ashish Jain1221b522016-03-30 15:09:20 +0530181
182#enable dsp gapless mode by default
183PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530184vendor.audio.offload.gapless.enabled=true
Ashish Jain1221b522016-03-30 15:09:20 +0530185
186#enable pbe effects
187PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530188vendor.audio.safx.pbe.enabled=true
Ashish Jain1221b522016-03-30 15:09:20 +0530189
190#parser input buffer size(256kb) in byte stream mode
191PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530192vendor.audio.parser.ip.buffer.size=262144
Ashish Jain1221b522016-03-30 15:09:20 +0530193
194#enable downsampling for multi-channel content > 48Khz
195PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530196vendor.audio.playback.mch.downsample=true
Ashish Jain1221b522016-03-30 15:09:20 +0530197
198#enable software decoders for ALAC and APE.
199PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530200vendor.audio.use.sw.alac.decoder=true\
201vendor.audio.use.sw.ape.decoder=true
Ashish Jain1221b522016-03-30 15:09:20 +0530202
Ashish Jain1221b522016-03-30 15:09:20 +0530203#Audio voice concurrency related flags
204PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530205vendor.voice.playback.conc.disabled=true\
206vendor.voice.record.conc.disabled=false\
207vendor.voice.voip.conc.disabled=true
Ashish Jain1221b522016-03-30 15:09:20 +0530208
209#Decides the audio fallback path during voice call,
210#deep-buffer and fast are the two allowed fallback paths now.
211PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530212vendor.voice.conc.fallbackpath=deep-buffer
Ashish Jain1221b522016-03-30 15:09:20 +0530213
214#Disable speaker protection by default
215PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530216persist.vendor.audio.speaker.prot.enable=false
Ashish Jain1221b522016-03-30 15:09:20 +0530217
218#Enable HW AAC Encoder by default
219PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530220vendor.audio.hw.aac.encoder=true
Satya Krishna Pindiprolid2837402016-08-01 14:16:34 +0530221
222#flac sw decoder 24 bit decode capability
223PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530224vendor.audio.flac.sw.decoder.24bit=true
Bharat Pawar50185962017-03-30 14:39:22 +0530225
Satya Krishna Pindiproli650ea152017-09-13 17:10:38 +0530226#Set AudioFlinger client heap size
227PRODUCT_PROPERTY_OVERRIDES += \
228ro.af.client_heap_size_kbyte=7168
229
Ramjee Singh43d58b22018-07-26 14:59:19 +0530230PRODUCT_PROPERTY_OVERRIDES += \
231persist.vendor.audio.hw.binder.size_kbyte=1024
yidongh2280fb32018-03-30 17:12:42 +0800232#Disable split a2dp
233PRODUCT_PROPERTY_OVERRIDES += \
234persist.vendor.bt.enable.splita2dp=false
Ramjee Singh43d58b22018-07-26 14:59:19 +0530235
Aalique Grahame57058a62019-01-10 10:30:17 -0800236#enable headset calibration
237PRODUCT_PROPERTY_OVERRIDES += \
Dhananjay Kumarc8d4b452019-08-06 16:31:51 +0530238vendor.audio.volume.headset.gain.depcal=true
Aalique Grahame57058a62019-01-10 10:30:17 -0800239
vivek mehta204b7412019-05-14 21:41:22 -0700240#add dynamic feature flags here
241PRODUCT_PROPERTY_OVERRIDES += \
242vendor.audio.feature.a2dp_offload.enable=false \
243vendor.audio.feature.afe_proxy.enable=true \
244vendor.audio.feature.anc_headset.enable=true \
vivek mehta204b7412019-05-14 21:41:22 -0700245vendor.audio.feature.battery_listener.enable=false \
246vendor.audio.feature.compr_cap.enable=false \
247vendor.audio.feature.compress_in.enable=false \
248vendor.audio.feature.compress_meta_data.enable=true \
249vendor.audio.feature.compr_voip.enable=true \
250vendor.audio.feature.concurrent_capture.enable=false \
251vendor.audio.feature.custom_stereo.enable=true \
252vendor.audio.feature.display_port.enable=false \
253vendor.audio.feature.dsm_feedback.enable=false \
254vendor.audio.feature.dynamic_ecns.enable=false \
255vendor.audio.feature.ext_hw_plugin.enable=false \
256vendor.audio.feature.external_dsp.enable=false \
257vendor.audio.feature.external_speaker.enable=false \
258vendor.audio.feature.external_speaker_tfa.enable=false \
259vendor.audio.feature.fluence.enable=true \
260vendor.audio.feature.fm.enable=true \
261vendor.audio.feature.hdmi_edid.enable=true \
262vendor.audio.feature.hdmi_passthrough.enable=false \
263vendor.audio.feature.hfp.enable=true \
264vendor.audio.feature.hifi_audio.enable=true \
265vendor.audio.feature.hwdep_cal.enable=false \
266vendor.audio.feature.incall_music.enable=false \
Weiyin Jiangcf458062019-07-15 11:56:14 +0800267vendor.audio.feature.multi_voice_session.enable=true \
vivek mehta204b7412019-05-14 21:41:22 -0700268vendor.audio.feature.keep_alive.enable=false \
269vendor.audio.feature.kpi_optimize.enable=true \
270vendor.audio.feature.maxx_audio.enable=false \
271vendor.audio.feature.ras.enable=false \
272vendor.audio.feature.record_play_concurency.enable=false \
273vendor.audio.feature.src_trkn.enable=true \
274vendor.audio.feature.spkr_prot.enable=true \
275vendor.audio.feature.ssrec.enable=true \
276vendor.audio.feature.usb_offload.enable=false \
277vendor.audio.feature.usb_offload_burst_mode.enable=false \
278vendor.audio.feature.usb_offload_sidetone_volume.enable=false \
279vendor.audio.feature.deepbuffer_as_primary.enable=false \
280vendor.audio.feature.vbat.enable=true \
281vendor.audio.feature.wsa.enable=true \
282vendor.audio.feature.audiozoom.enable=false \
283vendor.audio.feature.snd_mon.enable=true
284
Bharat Pawar50185962017-03-30 14:39:22 +0530285# for HIDL related packages
286PRODUCT_PACKAGES += \
Rajshekar Eashwarappa0de48032018-05-22 16:31:31 +0530287 android.hardware.audio@2.0-service \
Bharat Pawar50185962017-03-30 14:39:22 +0530288 android.hardware.audio@2.0-impl \
289 android.hardware.audio.effect@2.0-impl \
Revathi Uddaraju64f14422018-07-11 11:42:12 +0530290 android.hardware.soundtrigger@2.1-impl \
Lakshman Chaluvaraju6090b002018-07-25 18:09:15 +0530291 android.hardware.audio@4.0 \
292 android.hardware.audio.common@4.0 \
293 android.hardware.audio.common@4.0-util \
294 android.hardware.audio@4.0-impl \
295 android.hardware.audio.effect@4.0 \
296 android.hardware.audio.effect@4.0-impl