audio: support ultrasonic capture 3 ch

Bug: 258685440
Test: local
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ic3b02292ddd74a875b3f0a29f27ae9835864c7a5
This commit is contained in:
yixuanjiang 2022-12-15 15:33:53 +08:00
parent 866dd380ea
commit 9d767c69d1
4 changed files with 4 additions and 4 deletions

View file

@ -123,7 +123,7 @@
<mixPort name="ultrasound input" role="sink"
flags="AUDIO_INPUT_FLAG_ULTRASOUND">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="96000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
samplingRates="96000" channelMasks="AUDIO_CHANNEL_INDEX_MASK_3"/>
</mixPort>
</mixPorts>
<devicePorts>

View file

@ -123,7 +123,7 @@
<mixPort name="ultrasound input" role="sink"
flags="AUDIO_INPUT_FLAG_ULTRASOUND">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="96000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
samplingRates="96000" channelMasks="AUDIO_CHANNEL_INDEX_MASK_3"/>
</mixPort>
</mixPorts>
<devicePorts>

View file

@ -123,7 +123,7 @@
<mixPort name="ultrasound input" role="sink"
flags="AUDIO_INPUT_FLAG_ULTRASOUND">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="96000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
samplingRates="96000" channelMasks="AUDIO_CHANNEL_INDEX_MASK_3"/>
</mixPort>
</mixPorts>
<devicePorts>

View file

@ -921,7 +921,7 @@
<path name="ultrasound-mic">
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="3"/>
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="2"/>
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1"/>
</path>