[高通平台]登录google后录音无声

编程入门 行业动态 更新时间:2024-10-26 12:31:11

[<a href=https://www.elefans.com/category/jswz/34/1768455.html style=高通平台]登录google后录音无声"/>

[高通平台]登录google后录音无声

高通平台,测试发现登录google后,再启动录音就会无声。实际上是启动了google 语音功能占用了通路。

vendor/qcom/opensource/audio-hal/primary-hal/hal/configs/lito/audio_policy_configuration.xml
@@ -162,7 +162,7 @@
-                <mixPort name="primary input" role="sink" maxOpenCount="2" maxActiveCount="2">
+                <mixPort name="primary input" role="sink">
@@ -186,7 +186,7 @@</mixPort>
-                <mixPort name="record_24" role="sink" maxOpenCount="2" maxActiveCount="2">
+                <mixPort name="record_24" role="sink">
@@ -365,7 +365,7 @@<route type="mix" sink="primary input"
-                       sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,FM Tuner,Telephony Rx"/>
+                       sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner,Telephony Rx,Built-In Mic,Built-In Back Mic"/>

通过上述修改可以增加同时使用的程序数目。

更多推荐

[高通平台]登录google后录音无声

本文发布于:2024-02-12 10:31:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1687391.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:高通   平台   google

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!