diff options
author | Ramjee Singh <ramjee@codeaurora.org> | 2018-05-04 17:50:31 +0530 |
---|---|---|
committer | TingyiChen <tingyi364@gmail.com> | 2019-08-13 11:54:23 +0200 |
commit | 9e42deccff38127cc5db1bc2e13a2684c41ba381 (patch) | |
tree | 5c46e6ccf40dc3c758036f7e28509c604ddae37e | |
parent | 1c13328e44df88d2c5900f7094560c7c4ec9e60c (diff) |
wayne-common: Separate BT sample rate Rx and Tx backend config
Independent configuration of Rx and Tx backend sample rates
for BT usecases.
Change-Id: Ic2437531dad1e53e866100c4022e4667103f4c92
-rw-r--r-- | audio/mixer_paths.xml | 61 |
1 files changed, 40 insertions, 21 deletions
diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml index 41e7f91..0d23818 100644 --- a/audio/mixer_paths.xml +++ b/audio/mixer_paths.xml @@ -307,8 +307,6 @@ <!-- audio record compress end--> <!-- split a2dp --> - <ctl name="BT SampleRate" value="KHZ_8" /> - <ctl name="AFE Input Channels" value="Zero" /> <ctl name="SLIM7_RX ADM Channels" value="Zero" /> <!-- split a2dp end--> @@ -499,7 +497,8 @@ </path> <path name="deep-buffer-playback bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="deep-buffer-playback bt-sco" /> </path> @@ -554,7 +553,8 @@ </path> <path name="low-latency-playback bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="low-latency-playback bt-sco" /> </path> @@ -627,7 +627,8 @@ </path> <path name="audio-ull-playback bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="audio-ull-playback bt-sco" /> </path> @@ -697,7 +698,8 @@ </path> <path name="compress-offload-playback bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback bt-sco" /> </path> @@ -764,7 +766,8 @@ </path> <path name="compress-offload-playback2 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback2 bt-sco" /> </path> @@ -831,7 +834,8 @@ </path> <path name="compress-offload-playback3 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback3 bt-sco" /> </path> @@ -899,7 +903,8 @@ </path> <path name="compress-offload-playback4 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback4 bt-sco" /> </path> @@ -968,7 +973,8 @@ </path> <path name="compress-offload-playback5 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback5 bt-sco" /> </path> @@ -1036,7 +1042,8 @@ </path> <path name="compress-offload-playback6 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback6 bt-sco" /> </path> @@ -1104,7 +1111,8 @@ </path> <path name="compress-offload-playback7 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback7 bt-sco" /> </path> @@ -1172,7 +1180,8 @@ </path> <path name="compress-offload-playback8 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback8 bt-sco" /> </path> @@ -1240,7 +1249,8 @@ </path> <path name="compress-offload-playback9 bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-offload-playback9 bt-sco" /> </path> @@ -1300,7 +1310,8 @@ </path> <path name="audio-record bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="audio-record bt-sco" /> </path> @@ -1317,7 +1328,8 @@ </path> <path name="audio-record-compress bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="audio-record-compress bt-sco" /> </path> @@ -1334,7 +1346,8 @@ </path> <path name="low-latency-record bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="low-latency-record bt-sco" /> </path> @@ -1544,7 +1557,8 @@ </path> <path name="compress-voip-call bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="compress-voip-call bt-sco" /> </path> @@ -1598,7 +1612,8 @@ </path> <path name="voicemmode1-call bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="voicemmode1-call bt-sco" /> </path> @@ -1652,7 +1667,8 @@ </path> <path name="voicemmode2-call bt-sco-wb"> - <ctl name="BT SampleRate" value="KHZ_16" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="voicemmode2-call bt-sco" /> </path> @@ -2438,7 +2454,8 @@ </path> <path name="mmap-playback bt-sco-wb"> - <ctl name="BT SampleRate" value="16000" /> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <path name="mmap-playback bt-sco" /> </path> @@ -2463,6 +2480,8 @@ </path> <path name="mmap-record bt-sco-wb"> + <ctl name="BT SampleRate RX" value="KHZ_16" /> + <ctl name="BT SampleRate TX" value="KHZ_16" /> <ctl name="AUX PCM SampleRate" value="16000" /> <path name="mmap-record bt-sco" /> </path> |