diff options
author | qctecmdr <qctecmdr@localhost> | 2022-01-17 22:54:05 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2022-01-17 22:54:05 -0800 |
commit | 604e437f6f1615172baf9b18e3e2dfe779597723 (patch) | |
tree | f56d5a9427b80c24e5ed8da1ab75fda7290d7f8d | |
parent | a337a9688cf9071da86e002d1c40012102818961 (diff) | |
parent | 2748ff1f47195259fd919522f7047fbf38c41367 (diff) |
Merge "configs: Remove dynamic attributes from APS config"
-rwxr-xr-x | configs/atoll/audio_policy_configuration.xml | 12 | ||||
-rwxr-xr-x | configs/bengal/audio_policy_configuration.xml | 12 | ||||
-rw-r--r-- | configs/msm8909/audio_policy_configuration.xml | 4 | ||||
-rw-r--r-- | configs/msm8937/audio_policy_configuration.xml | 6 | ||||
-rw-r--r-- | configs/msm8953/audio_policy_configuration.xml | 6 | ||||
-rw-r--r-- | configs/msmnile/audio_policy_configuration.xml | 12 | ||||
-rw-r--r-- | configs/msmsteppe/audio_policy_configuration.xml | 12 | ||||
-rw-r--r-- | configs/sdm660/audio_policy_configuration.xml | 12 | ||||
-rw-r--r-- | configs/sdm710/audio_policy_configuration.xml | 12 | ||||
-rw-r--r-- | configs/sdm845/audio_policy_configuration.xml | 12 | ||||
-rwxr-xr-x | configs/trinket/audio_policy_configuration.xml | 12 |
11 files changed, 48 insertions, 64 deletions
diff --git a/configs/atoll/audio_policy_configuration.xml b/configs/atoll/audio_policy_configuration.xml index 2a75aad4..88b27235 100755 --- a/configs/atoll/audio_policy_configuration.xml +++ b/configs/atoll/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2021, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -258,11 +256,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -285,11 +283,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/bengal/audio_policy_configuration.xml b/configs/bengal/audio_policy_configuration.xml index c4049590..9da9c0e7 100755 --- a/configs/bengal/audio_policy_configuration.xml +++ b/configs/bengal/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2021, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -257,11 +255,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -284,11 +282,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/msm8909/audio_policy_configuration.xml b/configs/msm8909/audio_policy_configuration.xml index d4dcd796..962f4307 100644 --- a/configs/msm8909/audio_policy_configuration.xml +++ b/configs/msm8909/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2017, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2017, 2022 The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -164,7 +164,7 @@ </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" diff --git a/configs/msm8937/audio_policy_configuration.xml b/configs/msm8937/audio_policy_configuration.xml index 50db4831..3251ba7e 100644 --- a/configs/msm8937/audio_policy_configuration.xml +++ b/configs/msm8937/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2017, 2020, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2017, 2020, 2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -199,11 +199,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" diff --git a/configs/msm8953/audio_policy_configuration.xml b/configs/msm8953/audio_policy_configuration.xml index 00c2f313..f59db7ae 100644 --- a/configs/msm8953/audio_policy_configuration.xml +++ b/configs/msm8953/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2017, 2020 The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2017, 2020, 2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -210,11 +210,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" diff --git a/configs/msmnile/audio_policy_configuration.xml b/configs/msmnile/audio_policy_configuration.xml index 3188601e..a8730dcb 100644 --- a/configs/msmnile/audio_policy_configuration.xml +++ b/configs/msmnile/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2021, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -252,11 +250,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -279,11 +277,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/msmsteppe/audio_policy_configuration.xml b/configs/msmsteppe/audio_policy_configuration.xml index b51436eb..f695454b 100644 --- a/configs/msmsteppe/audio_policy_configuration.xml +++ b/configs/msmsteppe/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2020, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2020, 2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -252,11 +250,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -279,11 +277,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/sdm660/audio_policy_configuration.xml b/configs/sdm660/audio_policy_configuration.xml index 106c803a..e41f5499 100644 --- a/configs/sdm660/audio_policy_configuration.xml +++ b/configs/sdm660/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2021 The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2022 The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -76,8 +76,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -248,11 +246,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -275,11 +273,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/sdm710/audio_policy_configuration.xml b/configs/sdm710/audio_policy_configuration.xml index 0a894e56..2fb53f66 100644 --- a/configs/sdm710/audio_policy_configuration.xml +++ b/configs/sdm710/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2021, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -256,11 +254,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -283,11 +281,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/sdm845/audio_policy_configuration.xml b/configs/sdm845/audio_policy_configuration.xml index bcb60600..9d39a466 100644 --- a/configs/sdm845/audio_policy_configuration.xml +++ b/configs/sdm845/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2021, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -251,11 +249,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -278,11 +276,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> diff --git a/configs/trinket/audio_policy_configuration.xml b/configs/trinket/audio_policy_configuration.xml index 46cf8dd0..ed1007a5 100755 --- a/configs/trinket/audio_policy_configuration.xml +++ b/configs/trinket/audio_policy_configuration.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Copyright (c) 2016-2020, The Linux Foundation. All rights reserved +<!-- Copyright (c) 2016-2020, 2022, The Linux Foundation. All rights reserved Not a Contribution. --> <!-- Copyright (C) 2015 The Android Open Source Project @@ -80,8 +80,6 @@ <mixPort name="hifi_playback" role="source" /> <mixPort name="compress_passthrough" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> - <profile name="" format="dynamic" - samplingRates="dynamic" channelMasks="dynamic"/> </mixPort> <mixPort name="direct_pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> @@ -258,11 +256,11 @@ </devicePort> <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -285,11 +283,11 @@ </devicePort> <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000"/> </devicePort> <!-- Input devices declaration, i.e. Source DEVICE PORT --> |