diff --git a/configs/audio/audio_effects.xml b/configs/audio/audio_effects.xml deleted file mode 100644 index 5069a868..00000000 --- a/configs/audio/audio_effects.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/audio/audio_output_policy.conf b/configs/audio/audio_output_policy.conf deleted file mode 100644 index 66860159..00000000 --- a/configs/audio/audio_output_policy.conf +++ /dev/null @@ -1,56 +0,0 @@ -# List of profiles for the output device session where stream is routed. -# A stream opened with the inputs attributes which match the "flags" and -# "formats" as specified in the profile is routed to a device at -# sample rate specified under "sampling_rates" and bit width under -# "bit_width" and the topology extracted from the acdb data against -# the "app_type". -# -# the flags and formats are specified using the strings corresponding to -# enums in audio.h and audio_policy.h. They are concatenated with "|" -# without space or "\n". -# the flags and formats should match the ones in "audio_policy.conf" - -outputs { - default { - flags AUDIO_OUTPUT_FLAG_PRIMARY - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 48000 - bit_width 16 - app_type 69937 - } - deep_buffer { - flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 48000 - bit_width 16 - app_type 69936 - } - direct_pcm_16 { - flags AUDIO_OUTPUT_FLAG_DIRECT - formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT - sampling_rates 44100|48000|96000|192000 - bit_width 16 - app_type 69936 - } - direct_pcm_24 { - flags AUDIO_OUTPUT_FLAG_DIRECT - formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT - sampling_rates 44100|48000|96000|192000 - bit_width 24 - app_type 69940 - } - compress_offload_16 { - flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING - formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2 - sampling_rates 44100|48000|96000|192000 - bit_width 16 - app_type 69936 - } - compress_offload_24 { - flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING - formats AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS - sampling_rates 44100|48000|96000|192000 - bit_width 24 - app_type 69940 - } -} diff --git a/configs/audio/audio_platform_info_intcodec.xml b/configs/audio/audio_platform_info_intcodec.xml deleted file mode 100644 index 1d8193b9..00000000 --- a/configs/audio/audio_platform_info_intcodec.xml +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/audio/audio_tuning_mixer.txt b/configs/audio/audio_tuning_mixer.txt deleted file mode 100644 index 0e3bf30b..00000000 --- a/configs/audio/audio_tuning_mixer.txt +++ /dev/null @@ -1,144 +0,0 @@ -#ANC_TEST_P_PATH_MIC_STEREO Capture -acdb_dev_id:85 -!Capture -Txdevice:0 - -enable -TX7 HPF Switch:0 -TX8 HPF Switch:0 -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -SLIM TX7 MUX:DEC9 -DEC9 MUX:DMIC4 -SLIM TX8 MUX:DEC10 -DEC10 MUX:DMIC3 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -SLIM TX7 MUX:ZERO -SLIM TX8 MUX:ZERO -DEC10 MUX:ZERO -DEC9 MUX:ZERO -TX7 HPF Switch:0 -TX8 HPF Switch:0 - -#ANC_TEST_S_PATH_MIC_STEREO Capture -acdb_dev_id:88 -!Capture -Txdevice:0 - -enable -TX7 HPF Switch:0 -TX8 HPF Switch:0 -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -SLIM TX7 MUX:DEC8 -DEC7 MUX:ANC2_FB -ANC2 MUX:DMIC3 -SLIM TX8 MUX:DEC7 -DEC8 MUX:ANC1_FB -ANC1 MUX:DMIC3 -ANC1 FB MUX:EAR_HPH_L -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -SLIM TX7 MUX:ZERO -SLIM TX8 MUX:ZERO -DEC7 MUX:ZERO -ANC2 MUX:ZERO -ANC1 MUX:ZERO -DEC8 MUX:ZERO -ANC1 FB MUX:ZERO -TX7 HPF Switch:0 -TX8 HPF Switch:0 - -#ANC_TEST_E_PATH_MIC_STEREO Capture -acdb_dev_id:91 -!Capture -Txdevice:0 - -enable -TX7 HPF Switch:0 -TX8 HPF Switch:0 -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -SLIM TX7 MUX:DEC8 -DEC7 MUX:ANC2_FB -ANC2 MUX:DMIC4 -ANC1 MUX:DMIC4 -SLIM TX8 MUX:DEC7 -DEC8 MUX:ANC1_FB -ANC1 FB MUX:EAR_HPH_L -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -SLIM TX7 MUX:ZERO -SLIM TX8 MUX:ZERO -DEC7 MUX:ZERO -ANC2 MUX:ZERO -DEC10 MUX:ZERO -ANC1 FB MUX:ZERO -TX7 HPF Switch:0 -TX8 HPF Switch:0 - -#ANC_TEST_S_PATH_HANDSET_SPKR_ANC_MONO -acdb_dev_id:86 -!Playback -Rxdevice:0 - -enable -ANC Function:ON -SLIM RX1 MUX:AIF1_PB -SLIM_0_RX Channels:One -RX1 MIX1 INP1:RX1 -CLASS_H_DSM MUX:DSM_HPHL_RX1 -RX1 Digital Volume:87 -DAC1 Switch:1 -ANC Slot:7 -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 -ANC Slot:0 -SLIM RX1 MUX:ZERO -RX1 MIX1 INP1:ZERO -RX1 Digital Volume:0 -DAC1 Switch:0 -ANC Function:OFF - -#ANC_TEST_E_PATH_HANDSET_SPKR_ANC_MONO -acdb_dev_id:89 -!Playback -Rxdevice:0 - -enable -ANC Function:ON -SLIM RX1 MUX:AIF1_PB -SLIM_0_RX Channels:One -RX1 MIX1 INP1:RX1 -CLASS_H_DSM MUX:DSM_HPHL_RX1 -RX1 Digital Volume:87 -DAC1 Switch:1 -ANC Slot:8 -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 -ANC Slot:0 -SLIM RX1 MUX:ZERO -RX1 MIX1 INP1:ZERO -RX1 Digital Volume:0 -DAC1 Switch:0 -ANC Function:OFF diff --git a/configs/audio/sound_trigger_mixer_paths.xml b/configs/audio/sound_trigger_mixer_paths.xml deleted file mode 100644 index c1dcf933..00000000 --- a/configs/audio/sound_trigger_mixer_paths.xml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/audio/sound_trigger_platform_info.xml b/configs/audio/sound_trigger_platform_info.xml deleted file mode 100644 index 66f9ee88..00000000 --- a/configs/audio/sound_trigger_platform_info.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/device.mk b/device.mk index ddd7d2da..e941faa7 100644 --- a/device.mk +++ b/device.mk @@ -83,14 +83,14 @@ PRODUCT_PACKAGES += \ # Audio configuration PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ - $(LOCAL_PATH)/configs/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ - $(LOCAL_PATH)/configs/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ $(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ - $(LOCAL_PATH)/configs/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ $(LOCAL_PATH)/configs/audio/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml \ - $(LOCAL_PATH)/configs/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ - $(LOCAL_PATH)/configs/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ + hardware/qcom-caf/msm8996-R/audio/configs/msm8953/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ + hardware/qcom-caf/msm8996-R/audio/configs/msm8953/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ + hardware/qcom-caf/msm8996-R/audio/configs/msm8953/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ + hardware/qcom-caf/msm8996-R/audio/configs/msm8953/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ + hardware/qcom-caf/msm8996-R/audio/configs/msm8953/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ + hardware/qcom-caf/msm8996-R/audio/configs/msm8953/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \