|
发表于 2023-4-3 14:57:35
1274 浏览 0 回复
UIS7862S 硬件上只有主mic无辅mic,录像选择辅mic录像无声音
[QUESTION]
硬件上只有主mic无辅mic,录像选择辅mic录像无声音
[ANSWER]
参考如下配置,如果是smart pa的话,配置在同目录的名字带smart_pa的xml中修改。
/device/sprd/对应项目/对应工程/rootdir/system/etc/audio_policy_config/primary_audio_policy_configuration.xml
- @@ -5,7 +5,6 @@
- <item>Speaker</item>
- <item>Earpiece</item>
- <item>Built-In Mic</item>
- - <item>Built-In Back Mic</item>
- </attachedDevices>
- <defaultOutputDevice>Speaker</defaultOutputDevice>
- <mixPorts>
- @@ -72,11 +71,6 @@
- samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
- channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
- </devicePort>
- - <devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
- - <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- - samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
- - channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
- - </devicePort>
- <devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
- @@ -108,9 +102,9 @@
- <route type="mix" sink="BT SCO Car Kit"
- sources="primary output,Telephony Rx"/>
- <route type="mix" sink="primary input"
- - sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic"/>
- + sources="Built-In Mic,Wired Headset Mic,BT SCO Headset Mic"/>
- <route type="mix" sink="Telephony Tx"
- - sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic"/>
- + sources="Built-In Mic,Wired Headset Mic,BT SCO Headset Mic"/>
- <route type="mix" sink="voice_rx"
- sources="Telephony Rx"/>
- </routes>
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|