|
发表于 2021-10-25 09:51:48
只看该作者
板凳
你好,尝试了那个命令:arecord -D hw:0,0 -f dat | aplay -Dhw:0,0,播放不了:
[root@RV1126_RV1109:/]# arecord -D hw:0,0 -f dat | aplay -Dhw:0,0
Recording WAVE 'stdin' : Playing raw data 'stdin' : Signed 16 bit Little Endian, Unsigned 8 bit, Rate 48000 Hz, Rate 8000 Hz, StereoMono
aplay: set_params:1339: Sample format non available
Available formats:
- S16_LE
- S24_LE
- S32_LE
而命令: arecord -D hw:0,0 -f dat | aplay 则是一直播放尖锐的 滴----声,不能播放通过Line In进来的音乐文件:
[root@RV1126_RV1109:/]# arecord -D hw:0,0 -f dat | aplay
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
overrun!!! (at least 2652.017 ms long)
overrun!!! (at least 2378.703 ms long)
|
|