blob: 1730357c598bde2528099e8607094cbbebc0d8fd [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
Dhananjay Kumar29b894e2017-04-05 02:41:14 +053034DOLBY_ENABLE := false
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053035endif
36
37USE_XML_AUDIO_POLICY_CONF := 1
38BOARD_SUPPORTS_SOUND_TRIGGER := true
Aalique Grahame57058a62019-01-10 10:30:17 -080039AUDIO_USE_DEEP_AS_PRIMARY_OUTPUT := false
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053040AUDIO_FEATURE_ENABLED_HIFI_AUDIO := true
41AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true
42AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true
43AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
44AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true
45AUDIO_FEATURE_ENABLED_FLUENCE := true
46AUDIO_FEATURE_ENABLED_HDMI_EDID := true
47AUDIO_FEATURE_ENABLED_EXT_HDMI := true
48AUDIO_FEATURE_ENABLED_HFP := true
49AUDIO_FEATURE_ENABLED_INCALL_MUSIC := false
50AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
51AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
52AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true
53AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true
54AUDIO_FEATURE_ENABLED_DEV_ARBI := false
55MM_AUDIO_ENABLED_FTM := true
56TARGET_USES_QCOM_MM_AUDIO := true
57AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true
Rajshekar Eashwarappa88834522018-04-02 17:20:15 +053058BOARD_SUPPORTS_QAHW := false
Revathi Uddaraju1eac8b02017-05-18 17:13:33 +053059AUDIO_FEATURE_ENABLED_DYNAMIC_LOG := true
Dhananjay Kumare6293dd2017-05-25 17:25:30 +053060AUDIO_FEATURE_ENABLED_SND_MONITOR := true
Revathi Uddaraju64f14422018-07-11 11:42:12 +053061AUDIO_FEATURE_ENABLED_SVA_MULTI_STAGE := true
Himanshu Agrawal77c6d322018-04-17 20:46:37 +053062ifeq ($(TARGET_KERNEL_VERSION), 3.18)
63 AUDIO_FEATURE_ENABLED_DLKM := false
64else
65 AUDIO_FEATURE_ENABLED_DLKM := true
66endif
Ashish Jain1221b522016-03-30 15:09:20 +053067##AUDIO_FEATURE_FLAGS
68
Ashish Jain440a4d92016-04-06 23:03:56 +053069#Audio Specific device overlays
Aalique Grahame57058a62019-01-10 10:30:17 -080070DEVICE_PACKAGE_OVERLAYS += vendor/qcom/opensource/audio-hal/primary-hal/configs/common/overlay
Ashish Jain440a4d92016-04-06 23:03:56 +053071
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053072# Audio configuration file
vivek mehta02a52022017-01-27 15:36:19 -080073ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053074PRODUCT_COPY_FILES += \
Divya Narayanan Poojary2c5f13a2017-07-05 16:54:41 +053075 device/qcom/common/media/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf
Sharad Sangle8ecefdc2016-09-26 13:50:41 +053076else
77PRODUCT_COPY_FILES += \
Aalique Grahame57058a62019-01-10 10:30:17 -080078 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 +053079endif
Ashish Jain1221b522016-03-30 15:09:20 +053080
81PRODUCT_COPY_FILES +=\
Aalique Grahame57058a62019-01-10 10:30:17 -080082vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf\
83vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf\
84vendor/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 +053085vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tasha.xml \
86vendor/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 -080087vendor/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 +053088vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml \
89vendor/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 -080090vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
91vendor/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 \
92vendor/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 \
93vendor/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 \
94vendor/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 +053095vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
96vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tashalite.xml \
97vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tasha.xml \
98vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_platform_info_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_mtp.xml \
99vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
100vendor/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 +0530101
Satya Krishna Pindiproli013c3e42016-04-13 17:41:15 +0530102#XML Audio configuration files
103ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
Dhananjay Kumaraeb58fd2017-07-14 22:45:34 +0530104ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
Satya Krishna Pindiproli013c3e42016-04-13 17:41:15 +0530105PRODUCT_COPY_FILES += \
Aalique Grahame57058a62019-01-10 10:30:17 -0800106 $(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 +0530107endif
108PRODUCT_COPY_FILES += \
Aalique Grahame57058a62019-01-10 10:30:17 -0800109 $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Divya Narayanan Poojary2c5f13a2017-07-05 16:54:41 +0530110 $(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
111 $(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
112 $(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
113 $(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
114 $(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 +0530115endif
116
Ashish Jain1221b522016-03-30 15:09:20 +0530117# Reduce client buffer size for fast audio output tracks
118PRODUCT_PROPERTY_OVERRIDES += \
119 af.fast_track_multiplier=1
120
121# Low latency audio buffer size in frames
122PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530123 vendor.audio_hal.period_size=192
Ashish Jain1221b522016-03-30 15:09:20 +0530124
125##fluencetype can be "fluence" or "fluencepro" or "none"
126PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530127ro.vendor.audio.sdk.fluencetype=none\
128persist.vendor.audio.fluence.voicecall=true\
129persist.vendor.audio.fluence.voicerec=false\
130persist.vendor.audio.fluence.speaker=true
Ashish Jain1221b522016-03-30 15:09:20 +0530131
132#disable tunnel encoding
133PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530134vendor.audio.tunnel.encode=false
Ashish Jain1221b522016-03-30 15:09:20 +0530135
136#Buffer size in kbytes for compress offload playback
137PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530138vendor.audio.offload.buffer.size.kb=64
Ashish Jain1221b522016-03-30 15:09:20 +0530139
140#Minimum duration for offload playback in secs
141PRODUCT_PROPERTY_OVERRIDES += \
142audio.offload.min.duration.secs=30
143
144#Enable offload audio video playback by default
145PRODUCT_PROPERTY_OVERRIDES += \
146audio.offload.video=true
147
Ashish Jain1221b522016-03-30 15:09:20 +0530148#Enable audio track offload by default
149PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530150vendor.audio.offload.track.enable=true
Ashish Jain1221b522016-03-30 15:09:20 +0530151
152#Enable music through deep buffer
153PRODUCT_PROPERTY_OVERRIDES += \
154audio.deep_buffer.media=true
155
Ashish Jain1221b522016-03-30 15:09:20 +0530156#enable voice path for PCM VoIP by default
157PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530158vendor.voice.path.for.pcm.voip=true
Ashish Jain1221b522016-03-30 15:09:20 +0530159
160#Enable multi channel aac through offload
161PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530162vendor.audio.offload.multiaac.enable=true
Ashish Jain1221b522016-03-30 15:09:20 +0530163
164#Enable DS2, Hardbypass feature for Dolby
165PRODUCT_PROPERTY_OVERRIDES += \
Satya Krishna Pindiproli4a72ae62017-07-02 16:08:11 +0530166vendor.audio.dolby.ds2.enabled=false\
167vendor.audio.dolby.ds2.hardbypass=false
Ashish Jain1221b522016-03-30 15:09:20 +0530168
169#Disable Multiple offload sesison
170PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530171vendor.audio.offload.multiple.enabled=false
Ashish Jain1221b522016-03-30 15:09:20 +0530172
173#Disable Compress passthrough playback
174PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530175vendor.audio.offload.passthrough=false
Ashish Jain1221b522016-03-30 15:09:20 +0530176
177#Disable surround sound recording
178PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530179ro.vendor.audio.sdk.ssr=false
Ashish Jain1221b522016-03-30 15:09:20 +0530180
181#enable dsp gapless mode by default
182PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530183vendor.audio.offload.gapless.enabled=true
Ashish Jain1221b522016-03-30 15:09:20 +0530184
185#enable pbe effects
186PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530187vendor.audio.safx.pbe.enabled=true
Ashish Jain1221b522016-03-30 15:09:20 +0530188
189#parser input buffer size(256kb) in byte stream mode
190PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530191vendor.audio.parser.ip.buffer.size=262144
Ashish Jain1221b522016-03-30 15:09:20 +0530192
193#enable downsampling for multi-channel content > 48Khz
194PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530195vendor.audio.playback.mch.downsample=true
Ashish Jain1221b522016-03-30 15:09:20 +0530196
197#enable software decoders for ALAC and APE.
198PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530199vendor.audio.use.sw.alac.decoder=true\
200vendor.audio.use.sw.ape.decoder=true
Ashish Jain1221b522016-03-30 15:09:20 +0530201
202#property for AudioSphere Post processing
203PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530204vendor.audio.pp.asphere.enabled=false
Ashish Jain1221b522016-03-30 15:09:20 +0530205
206#Audio voice concurrency related flags
207PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530208vendor.voice.playback.conc.disabled=true\
209vendor.voice.record.conc.disabled=false\
210vendor.voice.voip.conc.disabled=true
Ashish Jain1221b522016-03-30 15:09:20 +0530211
212#Decides the audio fallback path during voice call,
213#deep-buffer and fast are the two allowed fallback paths now.
214PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530215vendor.voice.conc.fallbackpath=deep-buffer
Ashish Jain1221b522016-03-30 15:09:20 +0530216
217#Disable speaker protection by default
218PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530219persist.vendor.audio.speaker.prot.enable=false
Ashish Jain1221b522016-03-30 15:09:20 +0530220
221#Enable HW AAC Encoder by default
222PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530223vendor.audio.hw.aac.encoder=true
Satya Krishna Pindiprolid2837402016-08-01 14:16:34 +0530224
225#flac sw decoder 24 bit decode capability
226PRODUCT_PROPERTY_OVERRIDES += \
Ramjee Singh63839662017-05-10 15:27:22 +0530227vendor.audio.flac.sw.decoder.24bit=true
Bharat Pawar50185962017-03-30 14:39:22 +0530228
Satya Krishna Pindiproli650ea152017-09-13 17:10:38 +0530229#Set AudioFlinger client heap size
230PRODUCT_PROPERTY_OVERRIDES += \
231ro.af.client_heap_size_kbyte=7168
232
Ramjee Singh43d58b22018-07-26 14:59:19 +0530233PRODUCT_PROPERTY_OVERRIDES += \
234persist.vendor.audio.hw.binder.size_kbyte=1024
yidongh2280fb32018-03-30 17:12:42 +0800235#Disable split a2dp
236PRODUCT_PROPERTY_OVERRIDES += \
237persist.vendor.bt.enable.splita2dp=false
Ramjee Singh43d58b22018-07-26 14:59:19 +0530238
Aalique Grahame57058a62019-01-10 10:30:17 -0800239#enable headset calibration
240PRODUCT_PROPERTY_OVERRIDES += \
241audio.volume.headset.gain.depcal=true
242
vivek mehta204b7412019-05-14 21:41:22 -0700243#add dynamic feature flags here
244PRODUCT_PROPERTY_OVERRIDES += \
245vendor.audio.feature.a2dp_offload.enable=false \
246vendor.audio.feature.afe_proxy.enable=true \
247vendor.audio.feature.anc_headset.enable=true \
248vendor.audio.feature.audio_sphere.enable=true \
249vendor.audio.feature.battery_listener.enable=false \
250vendor.audio.feature.compr_cap.enable=false \
251vendor.audio.feature.compress_in.enable=false \
252vendor.audio.feature.compress_meta_data.enable=true \
253vendor.audio.feature.compr_voip.enable=true \
254vendor.audio.feature.concurrent_capture.enable=false \
255vendor.audio.feature.custom_stereo.enable=true \
256vendor.audio.feature.display_port.enable=false \
257vendor.audio.feature.dsm_feedback.enable=false \
258vendor.audio.feature.dynamic_ecns.enable=false \
259vendor.audio.feature.ext_hw_plugin.enable=false \
260vendor.audio.feature.external_dsp.enable=false \
261vendor.audio.feature.external_speaker.enable=false \
262vendor.audio.feature.external_speaker_tfa.enable=false \
263vendor.audio.feature.fluence.enable=true \
264vendor.audio.feature.fm.enable=true \
265vendor.audio.feature.hdmi_edid.enable=true \
266vendor.audio.feature.hdmi_passthrough.enable=false \
267vendor.audio.feature.hfp.enable=true \
268vendor.audio.feature.hifi_audio.enable=true \
269vendor.audio.feature.hwdep_cal.enable=false \
270vendor.audio.feature.incall_music.enable=false \
271vendor.audio.feature.keep_alive.enable=false \
272vendor.audio.feature.kpi_optimize.enable=true \
273vendor.audio.feature.maxx_audio.enable=false \
274vendor.audio.feature.ras.enable=false \
275vendor.audio.feature.record_play_concurency.enable=false \
276vendor.audio.feature.src_trkn.enable=true \
277vendor.audio.feature.spkr_prot.enable=true \
278vendor.audio.feature.ssrec.enable=true \
279vendor.audio.feature.usb_offload.enable=false \
280vendor.audio.feature.usb_offload_burst_mode.enable=false \
281vendor.audio.feature.usb_offload_sidetone_volume.enable=false \
282vendor.audio.feature.deepbuffer_as_primary.enable=false \
283vendor.audio.feature.vbat.enable=true \
284vendor.audio.feature.wsa.enable=true \
285vendor.audio.feature.audiozoom.enable=false \
286vendor.audio.feature.snd_mon.enable=true
287
Bharat Pawar50185962017-03-30 14:39:22 +0530288# for HIDL related packages
289PRODUCT_PACKAGES += \
Rajshekar Eashwarappa0de48032018-05-22 16:31:31 +0530290 android.hardware.audio@2.0-service \
Bharat Pawar50185962017-03-30 14:39:22 +0530291 android.hardware.audio@2.0-impl \
292 android.hardware.audio.effect@2.0-impl \
Revathi Uddaraju64f14422018-07-11 11:42:12 +0530293 android.hardware.soundtrigger@2.1-impl \
Lakshman Chaluvaraju6090b002018-07-25 18:09:15 +0530294 android.hardware.audio@4.0 \
295 android.hardware.audio.common@4.0 \
296 android.hardware.audio.common@4.0-util \
297 android.hardware.audio@4.0-impl \
298 android.hardware.audio.effect@4.0 \
299 android.hardware.audio.effect@4.0-impl