soundtrigger: aidl table for P22

Test: verify with test build.
Bug: 206738138
Change-Id: Ie3624b037b07b3384b97ca89eed3c018f752b6de
This commit is contained in:
Rios Kao 2023-03-01 06:41:52 +00:00
parent 390f5dd1ef
commit 2cac090b40
4 changed files with 18 additions and 0 deletions

View file

@ -71,6 +71,11 @@
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
@ -157,6 +162,7 @@
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic"/>
<route type="mix" sink="Telephony Tx" sources="incall playback" />
<route type="mix" sink="hotword input" sources="Built-In Mic"/>
</routes>
</module>
</modules>

View file

@ -587,6 +587,9 @@
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="microphones -> sound-trigger-capture-0">
</path>
<path name="audio-recordC usb-headset-mic">
<ctl name="EP1 TX Mixer USB_TX" value="1" />
</path>

View file

@ -71,6 +71,11 @@
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
@ -157,6 +162,7 @@
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic"/>
<route type="mix" sink="Telephony Tx" sources="incall playback" />
<route type="mix" sink="hotword input" sources="Built-In Mic"/>
</routes>
</module>
</modules>

View file

@ -587,6 +587,9 @@
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="microphones -> sound-trigger-capture-0">
</path>
<path name="audio-recordC usb-headset-mic">
<ctl name="EP1 TX Mixer USB_TX" value="1" />
</path>