|
【技术讨论】
roc-rk3308b 录音问题
发表于 2019-12-4 16:00:23
浏览:7653
|
回复:5
打印
只看该作者
[复制链接]
楼主
root@localhost:~# cat /proc/asound/cards
0 [rockchiprk3308v]: rockchip_rk3308 - rockchip,rk3308-vad
rockchip,rk3308-vad
7 [Loopback ]: Loopback - Loopback
Loopback 1
root@localhost:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: rockchiprk3308v [rockchip,rk3308-vad], device 0: dailink-multicodecs multicodec-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 #7
执行录音:
root@localhost:~# arecord -D hw:0,0 -c 8 -f S16_LE -r16000 -t wav d2.wav
root@localhost:~# play test.wav
play WARN alsa: can't encode 0-bit Unknown or not applicable
test.wav:
File Size: 1.94M Bit Rate: 706k
Encoding: Signed PCM
Channels: 1 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
Duration: 00:00:21.94
In:100% 00:00:21.94 [00:00:00.00] Out:1.05M [ | ] Clip:0
Done.
等播放完毕,查看录音文件d2.wav,其中硬件回采通道没有采样信息, 请问会是什么原因? |
|