Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 1 | #BOARD_USES_GENERIC_AUDIO := true |
| 2 | # |
| 3 | #AUDIO_FEATURE_FLAGS |
| 4 | BOARD_USES_ALSA_AUDIO := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 5 | |
vivek mehta | 02a5202 | 2017-01-27 15:36:19 -0800 | [diff] [blame] | 6 | ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true) |
Sharad Sangle | 8ecefdc | 2016-09-26 13:50:41 +0530 | [diff] [blame] | 7 | USE_CUSTOM_AUDIO_POLICY := 1 |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 8 | AUDIO_FEATURE_ENABLED_COMPRESS_CAPTURE := false |
| 9 | AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 10 | AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true |
| 11 | AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true |
| 12 | AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER := true |
| 13 | AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 14 | AUDIO_FEATURE_ENABLED_HDMI_SPK := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 15 | AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true |
| 16 | AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true |
| 17 | AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true |
| 18 | AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true |
| 19 | AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true |
| 20 | AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true |
| 21 | AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true |
| 22 | AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD := true |
Garmond Leung | 5059a02 | 2016-06-22 12:05:57 -0700 | [diff] [blame] | 23 | AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 24 | AUDIO_FEATURE_ENABLED_SSR := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 25 | AUDIO_FEATURE_ENABLED_DTS_EAGLE := false |
Banajit Goswami | 254b104 | 2016-04-07 12:50:21 -0700 | [diff] [blame] | 26 | BOARD_USES_SRS_TRUEMEDIA := false |
| 27 | DTS_CODEC_M_ := false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 28 | MM_AUDIO_ENABLED_SAFX := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 29 | AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS := false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 30 | AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true |
Kuirong Wang | 357e0b1 | 2016-07-06 00:29:15 -0700 | [diff] [blame] | 31 | AUDIO_FEATURE_ENABLED_USB_TUNNEL_AUDIO := true |
Satya Krishna Pindiproli | f7d6571 | 2017-04-26 14:24:53 +0530 | [diff] [blame] | 32 | AUDIO_FEATURE_ENABLED_SPLIT_A2DP := true |
Weiyin Jiang | 4aa3840 | 2017-07-10 18:54:07 +0800 | [diff] [blame] | 33 | AUDIO_FEATURE_ENABLED_3D_AUDIO := true |
Dhananjay Kumar | 29b894e | 2017-04-05 02:41:14 +0530 | [diff] [blame] | 34 | AUDIO_FEATURE_ENABLED_VOICE_PRINT := false |
| 35 | USE_LEGACY_AUDIO_DAEMON := false |
| 36 | USE_LEGACY_AUDIO_MEASUREMENT := false |
| 37 | DOLBY_ENABLE := false |
Sharad Sangle | 8ecefdc | 2016-09-26 13:50:41 +0530 | [diff] [blame] | 38 | endif |
| 39 | |
| 40 | USE_XML_AUDIO_POLICY_CONF := 1 |
Quinn Male | 5084513 | 2017-03-01 12:11:29 -0800 | [diff] [blame] | 41 | BOARD_SUPPORTS_SOUND_TRIGGER := true |
Sharad Sangle | 8ecefdc | 2016-09-26 13:50:41 +0530 | [diff] [blame] | 42 | AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true |
| 43 | AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true |
| 44 | AUDIO_FEATURE_ENABLED_ANC_HEADSET := true |
| 45 | AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true |
| 46 | AUDIO_FEATURE_ENABLED_FLUENCE := true |
| 47 | AUDIO_FEATURE_ENABLED_HDMI_EDID := true |
| 48 | AUDIO_FEATURE_ENABLED_HDMI_PASSTHROUGH := true |
| 49 | #AUDIO_FEATURE_ENABLED_KEEP_ALIVE := true |
| 50 | AUDIO_FEATURE_ENABLED_DISPLAY_PORT := true |
Satya Krishna Pindiproli | 4a72ae6 | 2017-07-02 16:08:11 +0530 | [diff] [blame] | 51 | AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := false |
Sharad Sangle | 8ecefdc | 2016-09-26 13:50:41 +0530 | [diff] [blame] | 52 | AUDIO_FEATURE_ENABLED_HFP := true |
| 53 | AUDIO_FEATURE_ENABLED_INCALL_MUSIC := false |
| 54 | AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true |
| 55 | AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true |
| 56 | AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true |
| 57 | AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true |
| 58 | AUDIO_FEATURE_ENABLED_DEV_ARBI := false |
| 59 | MM_AUDIO_ENABLED_FTM := true |
| 60 | TARGET_USES_QCOM_MM_AUDIO := true |
| 61 | AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true |
| 62 | AUDIO_FEATURE_ENABLED_GEF_SUPPORT := true |
Dhananjay Kumar | 23a3bec | 2017-01-11 18:38:09 +0530 | [diff] [blame] | 63 | BOARD_SUPPORTS_QAHW := true |
Srinivas Julakanti | 1ca769a | 2017-01-04 23:18:08 -0800 | [diff] [blame] | 64 | AUDIO_FEATURE_ENABLED_RAS := true |
Revathi Uddaraju | 1eac8b0 | 2017-05-18 17:13:33 +0530 | [diff] [blame] | 65 | AUDIO_FEATURE_ENABLED_DYNAMIC_LOG := true |
Dhananjay Kumar | e6293dd | 2017-05-25 17:25:30 +0530 | [diff] [blame] | 66 | AUDIO_FEATURE_ENABLED_SND_MONITOR := true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 67 | ##AUDIO_FEATURE_FLAGS |
Garmond Leung | 29861ff | 2016-05-09 15:37:55 -0700 | [diff] [blame] | 68 | |
| 69 | #Audio Specific device overlays |
| 70 | DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/common/overlay |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 71 | |
| 72 | # Audio configuration file |
vivek mehta | 02a5202 | 2017-01-27 15:36:19 -0800 | [diff] [blame] | 73 | ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true) |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 74 | PRODUCT_COPY_FILES += \ |
| 75 | device/qcom/common/media/audio_policy.conf:system/etc/audio_policy.conf |
| 76 | else |
| 77 | PRODUCT_COPY_FILES += \ |
Ben Romberger | 22d4123 | 2016-11-16 14:55:25 -0800 | [diff] [blame] | 78 | hardware/qcom/audio/configs/msm8998/audio_policy.conf:system/etc/audio_policy.conf |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 79 | endif |
| 80 | |
| 81 | PRODUCT_COPY_FILES += \ |
David Ng | 06ccd87 | 2017-03-15 11:39:33 -0700 | [diff] [blame] | 82 | hardware/qcom/audio/configs/msm8998/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
| 83 | hardware/qcom/audio/configs/msm8998/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \ |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 84 | hardware/qcom/audio/configs/msm8998/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
| 85 | hardware/qcom/audio/configs/msm8998/mixer_paths_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tasha.xml \ |
| 86 | hardware/qcom/audio/configs/msm8998/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ |
| 87 | hardware/qcom/audio/configs/msm8998/mixer_paths_skuk.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_skuk.xml \ |
| 88 | hardware/qcom/audio/configs/msm8998/mixer_paths_skuk.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_qvr.xml \ |
| 89 | hardware/qcom/audio/configs/msm8998/mixer_paths_dtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_dtp.xml \ |
| 90 | hardware/qcom/audio/configs/msm8998/mixer_paths_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_i2s.xml \ |
| 91 | hardware/qcom/audio/configs/msm8998/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ |
| 92 | hardware/qcom/audio/configs/msm8998/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \ |
| 93 | hardware/qcom/audio/configs/msm8998/audio_platform_info_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_i2s.xml \ |
| 94 | hardware/qcom/audio/configs/msm8998/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ |
| 95 | hardware/qcom/audio/configs/msm8998/sound_trigger_mixer_paths_wcd9330.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9330.xml \ |
| 96 | hardware/qcom/audio/configs/msm8998/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ |
| 97 | hardware/qcom/audio/configs/msm8998/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ |
| 98 | hardware/qcom/audio/configs/msm8998/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ |
| 99 | hardware/qcom/audio/configs/msm8998/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 100 | |
Satya Krishna Pindiproli | 013c3e4 | 2016-04-13 17:41:15 +0530 | [diff] [blame] | 101 | #XML Audio configuration files |
| 102 | ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) |
Dhananjay Kumar | aeb58fd | 2017-07-14 22:45:34 +0530 | [diff] [blame] | 103 | ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true) |
Satya Krishna Pindiproli | 013c3e4 | 2016-04-13 17:41:15 +0530 | [diff] [blame] | 104 | PRODUCT_COPY_FILES += \ |
Dhananjay Kumar | aeb58fd | 2017-07-14 22:45:34 +0530 | [diff] [blame] | 105 | $(TOPDIR)hardware/qcom/audio/configs/msm8998/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml |
Satya Krishna Pindiproli | 87a95f9 | 2016-05-09 19:58:33 +0530 | [diff] [blame] | 106 | endif |
| 107 | PRODUCT_COPY_FILES += \ |
Dhananjay Kumar | aeb58fd | 2017-07-14 22:45:34 +0530 | [diff] [blame] | 108 | $(TOPDIR)hardware/qcom/audio/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 109 | $(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \ |
| 110 | $(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 111 | $(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 112 | $(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 113 | $(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml |
Satya Krishna Pindiproli | 013c3e4 | 2016-04-13 17:41:15 +0530 | [diff] [blame] | 114 | endif |
| 115 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 116 | # Listen configuration file |
| 117 | PRODUCT_COPY_FILES += \ |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 118 | hardware/qcom/audio/configs/msm8998/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 119 | |
| 120 | # Reduce client buffer size for fast audio output tracks |
| 121 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 122 | af.fast_track_multiplier=1 |
| 123 | |
| 124 | # Low latency audio buffer size in frames |
| 125 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 126 | vendor.audio_hal.period_size=192 |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 127 | |
| 128 | ##fluencetype can be "fluence" or "fluencepro" or "none" |
| 129 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 130 | ro.vendor.audio.sdk.fluencetype=none\ |
| 131 | persist.vendor.audio.fluence.voicecall=true\ |
| 132 | persist.vendor.audio.fluence.voicerec=false\ |
| 133 | persist.vendor.audio.fluence.speaker=true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 134 | |
| 135 | #disable tunnel encoding |
| 136 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 137 | vendor.audio.tunnel.encode=false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 138 | |
Srinivas Julakanti | 1ca769a | 2017-01-04 23:18:08 -0800 | [diff] [blame] | 139 | #Disable RAS Feature by default |
| 140 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 141 | persist.vendor.audio.ras.enabled=false |
Srinivas Julakanti | 1ca769a | 2017-01-04 23:18:08 -0800 | [diff] [blame] | 142 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 143 | #Buffer size in kbytes for compress offload playback |
| 144 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 145 | vendor.audio.offload.buffer.size.kb=32 |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 146 | |
| 147 | #Enable offload audio video playback by default |
| 148 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 149 | audio.offload.video=true |
| 150 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 151 | #Enable audio track offload by default |
| 152 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 153 | vendor.audio.offload.track.enable=true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 154 | |
| 155 | #Enable music through deep buffer |
| 156 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 157 | audio.deep_buffer.media=true |
| 158 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 159 | #enable voice path for PCM VoIP by default |
| 160 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 161 | vendor.voice.path.for.pcm.voip=true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 162 | |
| 163 | #Enable multi channel aac through offload |
| 164 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 165 | vendor.audio.offload.multiaac.enable=true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 166 | |
| 167 | #Enable DS2, Hardbypass feature for Dolby |
| 168 | PRODUCT_PROPERTY_OVERRIDES += \ |
Satya Krishna Pindiproli | 4a72ae6 | 2017-07-02 16:08:11 +0530 | [diff] [blame] | 169 | vendor.audio.dolby.ds2.enabled=false\ |
| 170 | vendor.audio.dolby.ds2.hardbypass=false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 171 | |
| 172 | #Disable Multiple offload sesison |
| 173 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 174 | vendor.audio.offload.multiple.enabled=false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 175 | |
Garmond Leung | e3e6108 | 2017-02-06 15:08:26 -0800 | [diff] [blame] | 176 | #Disable Compress passthrough playback |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 177 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 178 | vendor.audio.offload.passthrough=false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 179 | |
| 180 | #Disable surround sound recording |
| 181 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 182 | ro.vendor.audio.sdk.ssr=false |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 183 | |
| 184 | #enable dsp gapless mode by default |
| 185 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 186 | vendor.audio.offload.gapless.enabled=true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 187 | |
| 188 | #enable pbe effects |
| 189 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 190 | vendor.audio.safx.pbe.enabled=true |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 191 | |
| 192 | #parser input buffer size(256kb) in byte stream mode |
| 193 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 194 | vendor.audio.parser.ip.buffer.size=262144 |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 195 | |
Satya Krishna Pindiproli | d283740 | 2016-08-01 14:16:34 +0530 | [diff] [blame] | 196 | #flac sw decoder 24 bit decode capability |
| 197 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 198 | vendor.audio.flac.sw.decoder.24bit=true |
Naresh Tanniru | b4dbe7c | 2016-07-24 07:19:51 +0530 | [diff] [blame] | 199 | |
| 200 | #split a2dp DSP supported encoder list |
| 201 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 202 | persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac |
Garmond Leung | 032248a | 2016-08-17 15:54:20 -0700 | [diff] [blame] | 203 | |
| 204 | #enable software decoders for ALAC and APE |
| 205 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 206 | vendor.audio.use.sw.alac.decoder=true |
Garmond Leung | 032248a | 2016-08-17 15:54:20 -0700 | [diff] [blame] | 207 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 208 | vendor.audio.use.sw.ape.decoder=true |
vivek mehta | e9ff4fb | 2016-07-13 12:17:44 -0700 | [diff] [blame] | 209 | |
| 210 | #enable hw aac encoder by default |
| 211 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 212 | vendor.audio.hw.aac.encoder=true |
vivek mehta | e9ff4fb | 2016-07-13 12:17:44 -0700 | [diff] [blame] | 213 | |
Naresh Tanniru | 94f1c64 | 2016-11-07 19:56:28 +0530 | [diff] [blame] | 214 | #Disable FM a2dp concurrency |
| 215 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 216 | vendor.fm.a2dp.conc.disabled=true |
Preetam Singh Ranawat | 63c09d7 | 2016-11-09 12:18:22 +0530 | [diff] [blame] | 217 | |
| 218 | #audio becoming noisy intent broadcast delay |
| 219 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 220 | vendor.audio.noisy.broadcast.delay=600 |
Naresh Tanniru | ec59ba3 | 2016-12-21 19:11:50 +0530 | [diff] [blame] | 221 | |
| 222 | #offload pausetime out duration to 3 secs to inline with other outputs |
| 223 | PRODUCT_PROPERTY_OVERRIDES += \ |
Aniket Kumar Lata | e1fcd93 | 2017-04-25 11:19:00 -0700 | [diff] [blame] | 224 | vendor.audio.offload.pstimeout.secs=3 |
vivek mehta | 5538d2b | 2017-02-18 23:36:57 -0800 | [diff] [blame] | 225 | |
| 226 | # for HIDL related packages |
| 227 | PRODUCT_PACKAGES += \ |
| 228 | android.hardware.audio@2.0-service \ |
| 229 | android.hardware.audio@2.0-impl \ |
| 230 | android.hardware.audio.effect@2.0-impl \ |
| 231 | android.hardware.soundtrigger@2.0-impl |