summaryrefslogtreecommitdiff
path: root/audio_policy_configuration.xml
diff options
context:
space:
mode:
authorHaynes Mathew George <hgeorge@codeaurora.org>2017-05-08 17:52:27 -0700
committerDavid Lin <dtwlin@google.com>2017-06-02 20:59:53 +0000
commit7561cf7d4d102dfd68b4a15822c40ff95478b1ea (patch)
tree99be5840cf683494c2086b1d843787337ace1703 /audio_policy_configuration.xml
parent5e1732d8ea057421f6b41876bd152e5bf9c0fbce (diff)
downloadwahoo-7561cf7d4d102dfd68b4a15822c40ff95478b1ea.tar.gz
audio: Add profile for hifi record
Add profile to support hifi capture from USB Test: test playback and capture with and without USB headset Change-Id: I43a21961eaa64ff27614978ebc53a1d9ca3dbf26
Diffstat (limited to 'audio_policy_configuration.xml')
-rw-r--r--audio_policy_configuration.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio_policy_configuration.xml b/audio_policy_configuration.xml
index ee78e4ba..650285db 100644
--- a/audio_policy_configuration.xml
+++ b/audio_policy_configuration.xml
@@ -73,6 +73,7 @@
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
</mixPort>
+ <mixPort name="hifi_input" role="sink" />
<mixPort name="voice_rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
@@ -132,6 +133,7 @@
sources="Built-In Mic,Built-In Back Mic,BT SCO Headset Mic,USB Device In,USB Headset In"/>
<route type="mix" sink="voice_rx"
sources="Telephony Rx"/>
+ <route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
</routes>
</module>