4.0-release上新增usb-mic的功能异常
为了新增usb-mic的功能,我改了以下配置
·
为了新增usb-mic的功能,我改了以下配置
<deviceclass name="usb">
<modules>
<module name="USB_Mic" lib="libmodule-hdi-source.z.so" role="source" channels="1" rate="48000" format="s16be" buffer_size="8192">
<Ports>
<Port adapter_name="usb" id="0" channels="1" rate="48000" buffer_size="8192" open_mic_speaker="0"/>
</Ports>
</module>
</modules>
</deviceclass>
我设置adapter_name="usb"时,找不到该适配器
01-01 08:01:16.433 1629 1652 E C02b00/AudioFramework: [usb_audio_capturer.cpp] adapterNameCase is usb,desc->adapterName is primary
01-01 08:01:16.433 1629 1652 E C02b00/AudioFramework: [usb_audio_capturer.cpp] SwitchAdapterCapture Fail
01-01 08:01:16.433 1629 1652 E C02b00/AudioFramework: [usb_audio_capturer.cpp] Switch Adapter Capture Fail
01-01 08:01:16.433 1629 1652 E C02b00/AudioFramework: [hdi_source.c] Audio capturer init failed!
我是需要设置成adapter_name="primary"来让他找到吗,我设置成这样也有其他报错,貌似也不太对。
麻烦告知下,我该如何去做,谢谢!
更多推荐
已为社区贡献5条内容
所有评论(0)