Ramjee Singh | 2986765 | 2017-03-27 12:47:36 +0530 | [diff] [blame^] | 1 | #AUDIO_FEATURE_FLAGS |
| 2 | USE_CUSTOM_AUDIO_POLICY := 1 |
| 3 | BOARD_USES_ALSA_AUDIO := true |
| 4 | BOARD_SUPPORTS_SOUND_TRIGGER := true |
| 5 | AUDIO_FEATURE_ENABLED_SOURCE_TRACKING:= true |
| 6 | AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true |
| 7 | AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true |
| 8 | AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true |
| 9 | AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER := true |
| 10 | AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true |
| 11 | AUDIO_FEATURE_ENABLED_FLUENCE := true |
| 12 | AUDIO_FEATURE_ENABLED_HFP := true |
| 13 | AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true |
| 14 | AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true |
| 15 | AUDIO_FEATURE_ENABLED_SSR := true |
| 16 | AUDIO_FEATURE_NON_WEARABLE_TARGET := true |
| 17 | AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY := true |
| 18 | AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY := true |
| 19 | AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true |
| 20 | AUDIO_FEATURE_ENABLED_PM_SUPPORT := true |
| 21 | AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := true |
| 22 | AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true |
| 23 | MM_AUDIO_ENABLED_FTM := true |
| 24 | MM_AUDIO_ENABLED_SAFX := true |
| 25 | TARGET_USES_QCOM_MM_AUDIO := true |
| 26 | |
| 27 | #Audio Specific device overlays |
| 28 | DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/common/overlay |
| 29 | |
| 30 | USE_XML_AUDIO_POLICY_CONF := 1 |
| 31 | |
| 32 | # Audio configuration file |
| 33 | ifeq ($(TARGET_USES_AOSP), true) |
| 34 | PRODUCT_COPY_FILES += \ |
| 35 | hardware/qcom/audio/configs/common/media/audio_policy.conf:system/etc/audio_policy.conf |
| 36 | else |
| 37 | PRODUCT_COPY_FILES += \ |
| 38 | hardware/qcom/audio/configs/msm8909/audio_policy.conf:system/etc/audio_policy.conf |
| 39 | endif |
| 40 | PRODUCT_COPY_FILES += \ |
| 41 | hardware/qcom/audio/configs/msm8909/audio_policy.conf:system/etc/audio_policy.conf \ |
| 42 | hardware/qcom/audio/configs/msm8909/audio_effects.conf:system/vendor/etc/audio_effects.conf \ |
| 43 | hardware/qcom/audio/configs/msm8909/mixer_paths_qrd_skuh.xml:system/etc/mixer_paths_qrd_skuh.xml \ |
| 44 | hardware/qcom/audio/configs/msm8909/mixer_paths_qrd_skui.xml:system/etc/mixer_paths_qrd_skui.xml \ |
| 45 | hardware/qcom/audio/configs/msm8909/mixer_paths.xml:system/etc/mixer_paths.xml \ |
| 46 | hardware/qcom/audio/configs/msm8909/mixer_paths_msm8909_pm8916.xml:system/etc/mixer_paths_msm8909_pm8916.xml \ |
| 47 | hardware/qcom/audio/configs/msm8909/mixer_paths_wcd9326_i2s.xml:system/etc/mixer_paths_wcd9326_i2s.xml \ |
| 48 | hardware/qcom/audio/configs/msm8909/mixer_paths_skua.xml:system/etc/mixer_paths_skua.xml \ |
| 49 | hardware/qcom/audio/configs/msm8909/mixer_paths_skuc.xml:system/etc/mixer_paths_skuc.xml \ |
| 50 | hardware/qcom/audio/configs/msm8909/mixer_paths_skue.xml:system/etc/mixer_paths_skue.xml \ |
| 51 | hardware/qcom/audio/configs/msm8909/mixer_paths_qrd_skut.xml:system/etc/mixer_paths_qrd_skut.xml \ |
| 52 | hardware/qcom/audio/configs/msm8909/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \ |
| 53 | hardware/qcom/audio/configs/msm8909/sound_trigger_mixer_paths_wcd9326.xml:system/etc/sound_trigger_mixer_paths_wcd9326.xml \ |
| 54 | hardware/qcom/audio/configs/msm8909/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \ |
| 55 | hardware/qcom/audio/configs/msm8909/audio_platform_info.xml:system/etc/audio_platform_info.xml |
| 56 | |
| 57 | #XML Audio configuration files |
| 58 | ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) |
| 59 | ifeq ($(TARGET_USES_AOSP), true) |
| 60 | PRODUCT_COPY_FILES += \ |
| 61 | $(TOPDIR)hardware/qcom/audio/configs/common/audio_policy_configuration.xml:/system/etc/audio_policy_configuration.xml |
| 62 | else |
| 63 | PRODUCT_COPY_FILES += \ |
| 64 | $(TOPDIR)hardware/qcom/audio/configs/msm8909/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml |
| 65 | endif |
| 66 | PRODUCT_COPY_FILES += \ |
| 67 | $(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:/system/etc/a2dp_audio_policy_configuration.xml \ |
| 68 | $(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:/system/etc/audio_policy_volumes.xml \ |
| 69 | $(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:/system/etc/default_volume_tables.xml \ |
| 70 | $(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:/system/etc/r_submix_audio_policy_configuration.xml \ |
| 71 | $(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:/system/etc/usb_audio_policy_configuration.xml |
| 72 | endif |