Skip to content

Commit

Permalink
sm8250-common: Add built-in/Back mic to primary input sources
Browse files Browse the repository at this point in the history
Built-in mic and Built-In Back Mic aren't in supported devices
list of primary input, so record_24 is selected if without
connecting any headset, if there is more than 2 capture
concurrency, it will fail to open input for primary input when
connecting headset in AHAL.

Add built-in mic to primary input sources to reuse input to avoid
to open extra input stream in AHAL.
  • Loading branch information
Mingshu Pang authored and raystef66 committed Aug 12, 2024
1 parent 6f142d2 commit 2d26a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/audio_policy_configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<route type="mix" sink="voice_rx"
sources="Telephony Rx"/>
<route type="mix" sink="primary input"
sources="Wired Headset Mic,BT SCO Headset Mic,USB Device In,USB Headset In,Telephony Rx"/>
sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,USB Device In,USB Headset In,Telephony Rx"/>
<route type="mix" sink="hotword input"
sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,USB Device In,USB Headset In"/>
<route type="mix" sink="voip_tx"
Expand Down

0 comments on commit 2d26a89

Please sign in to comment.