Firefly开源社区
标题:
roc-rk3566-pc使用官方buildroot镜像没有声音
[打印本页]
作者:
深井蛙
时间:
2021-12-7 08:06
标题:
roc-rk3566-pc使用官方buildroot镜像没有声音
镜像使用的是ROC-RK3566-PC-BUILDROOT-GPT-20211012-1641.7z,md5: c5bcf4a69e8ddcd92c50a994b35cba0a
播放声音时耳机孔没有声音输出,静悄悄的。
[root@RK356X:~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiphdmi [rockchip,hdmi], device 0: fe400000.i2s-i2s-hifi i2s-hifi-0 [fe400000.i2s-i2s-hifi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: rockchiprk809co [rockchip,rk809-codec], device 0: fe410000.i2s-rk817-hifi rk817-hifi-0 [fe410000.i2s-rk817-hifi rk817-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
复制代码
用以下方式播放都没有声音:
[root@RK356X:~]# mp3play.sh
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[root@RK356X:~]# minimad < /oem/piano2-CoolEdit.mp3 | aplay -t raw -f S16_LE -c 2 -r 48000 -Dplughw:0,0
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[root@RK356X:~]# minimad < /oem/piano2-CoolEdit.mp3 | aplay -t raw -f S16_LE -c 2 -r 48000 -Dplughw:1,0
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[root@RK356X:~]# aplay -Dplughw:1,0 /etc/bsa_file/8k16bpsStereo.wav
Playing WAVE '/etc/bsa_file/8k16bpsStereo.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
[root@RK356X:~]# aplay -Dplughw:0,0 /etc/bsa_file/8k16bpsStereo.wav
Playing WAVE '/etc/bsa_file/8k16bpsStereo.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
复制代码
运行qplayer播放兔子视频也没有声音
作者:
Liuth
时间:
2021-12-7 09:01
使用alsamixer把playback_path调到HP
作者:
深井蛙
时间:
2021-12-7 09:10
可以了,有声音了。谢谢
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1