|
【Linux】
CORE-1109/RV1126-JD4 音频信号通过MIC 无法通过arecord抓到声音数据
发表于 2021-10-18 14:22:06
浏览:6707
|
回复:7
打印
只看该作者
[复制链接]
楼主
1. 当前的软件版本是官网的:
cat /proc/version
Linux version 4.19.111 (daijh@tchip14) (rv1126_rv1109_linux_20210621.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP PREEMPT Thu Jul 8 17:38:26 CST 2021
2. 硬件为:CORE-1109/RV1126-JD4核心板+官方的底板
3. 相应的软件信息为:
[root@RV1126_RV1109:/tmp]# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: rockchiprk809co [rockchip,rk809-codec], device 0: ff800000.i2s-rk817-hifi rk817-hifi-0 [ff800000.i2s-rk817-hifi rk817-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 7: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 7: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #
[root@RV1126_RV1109:/tmp]# cat /proc/asound/cards
0 [rockchiprk809co]: rockchip_rk809- - rockchip,rk809-codec
rockchip,rk809-codec
7 [Loopback ]: Loopback - Loopback
Loopback 1
4. 通过命令:
arecord -Dhw:0,0 -f S16_LE -r 48000 -c 2 /tmp/test-10.wav抓数据报文,发现抓不到:
[root@RV1126_RV1109:/tmp]# cat test-10.wav
RIFF坔WAVEfmt »쀄data_[root@RV1126_RV1109:/tmp]#
5. 硬件的连接图为如下:mic_no_audio.jpg
请大神帮忙这个是什么原因导致的?
|
|