From 7ca7fc2c5c1f7de96283e5f3ea2003b55ce13db1 Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Wed, 28 Jul 2021 11:28:25 +0800 Subject: [PATCH] audio: dynamic/runtime audio capture switch Bug: 193042612 Test: build pass and audio capture Signed-off-by: Carter Hsu Change-Id: Ief7d8137a6c636d0c71c7c7ab732dc38d4601a45 --- .../config/audio_platform_configuration.xml | 12 +- audio/oriole/config/mixer_paths.xml | 131 +++++++----------- .../config/audio_platform_configuration.xml | 12 +- audio/raven/config/mixer_paths.xml | 131 +++++++----------- 4 files changed, 122 insertions(+), 164 deletions(-) diff --git a/audio/oriole/config/audio_platform_configuration.xml b/audio/oriole/config/audio_platform_configuration.xml index b637cfb..ba55a22 100644 --- a/audio/oriole/config/audio_platform_configuration.xml +++ b/audio/oriole/config/audio_platform_configuration.xml @@ -243,9 +243,9 @@ - + - + @@ -255,6 +255,14 @@ + + + + + + + + diff --git a/audio/oriole/config/mixer_paths.xml b/audio/oriole/config/mixer_paths.xml index 5f271c1..6a9b434 100644 --- a/audio/oriole/config/mixer_paths.xml +++ b/audio/oriole/config/mixer_paths.xml @@ -98,10 +98,6 @@ - - - - @@ -216,7 +212,7 @@ - + @@ -333,9 +329,6 @@ - - - @@ -343,16 +336,10 @@ - - - - - - @@ -360,9 +347,6 @@ - - - @@ -370,16 +354,10 @@ - - - - - - @@ -387,9 +365,6 @@ - - - @@ -397,9 +372,6 @@ - - - @@ -407,9 +379,6 @@ - - - @@ -417,9 +386,6 @@ - - - @@ -436,14 +402,11 @@ - - - @@ -453,15 +416,11 @@ - - - - @@ -488,9 +447,6 @@ - - - @@ -499,17 +455,11 @@ - - - - - - @@ -518,7 +468,6 @@ - @@ -534,12 +483,10 @@ - - @@ -634,7 +581,6 @@ - @@ -643,7 +589,6 @@ - @@ -689,22 +634,17 @@ - - - - - - - - - + + + + @@ -717,12 +657,20 @@ + + + + + + + + @@ -735,6 +683,10 @@ + + + + @@ -742,6 +694,9 @@ + + + @@ -751,24 +706,33 @@ + + + - - + + + + + - + + + + @@ -778,29 +742,36 @@ + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + diff --git a/audio/raven/config/audio_platform_configuration.xml b/audio/raven/config/audio_platform_configuration.xml index b637cfb..ba55a22 100644 --- a/audio/raven/config/audio_platform_configuration.xml +++ b/audio/raven/config/audio_platform_configuration.xml @@ -243,9 +243,9 @@ - + - + @@ -255,6 +255,14 @@ + + + + + + + + diff --git a/audio/raven/config/mixer_paths.xml b/audio/raven/config/mixer_paths.xml index 5f271c1..6a9b434 100644 --- a/audio/raven/config/mixer_paths.xml +++ b/audio/raven/config/mixer_paths.xml @@ -98,10 +98,6 @@ - - - - @@ -216,7 +212,7 @@ - + @@ -333,9 +329,6 @@ - - - @@ -343,16 +336,10 @@ - - - - - - @@ -360,9 +347,6 @@ - - - @@ -370,16 +354,10 @@ - - - - - - @@ -387,9 +365,6 @@ - - - @@ -397,9 +372,6 @@ - - - @@ -407,9 +379,6 @@ - - - @@ -417,9 +386,6 @@ - - - @@ -436,14 +402,11 @@ - - - @@ -453,15 +416,11 @@ - - - - @@ -488,9 +447,6 @@ - - - @@ -499,17 +455,11 @@ - - - - - - @@ -518,7 +468,6 @@ - @@ -534,12 +483,10 @@ - - @@ -634,7 +581,6 @@ - @@ -643,7 +589,6 @@ - @@ -689,22 +634,17 @@ - - - - - - - - - + + + + @@ -717,12 +657,20 @@ + + + + + + + + @@ -735,6 +683,10 @@ + + + + @@ -742,6 +694,9 @@ + + + @@ -751,24 +706,33 @@ + + + - - + + + + + - + + + + @@ -778,29 +742,36 @@ + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + +