深井蛙 发表于 2021-12-7 08:06:18

roc-rk3566-pc使用官方buildroot镜像没有声音

镜像使用的是ROC-RK3566-PC-BUILDROOT-GPT-20211012-1641.7z,md5: c5bcf4a69e8ddcd92c50a994b35cba0a

播放声音时耳机孔没有声音输出,静悄悄的。
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiphdmi , device 0: fe400000.i2s-i2s-hifi i2s-hifi-0
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: rockchiprk809co , device 0: fe410000.i2s-rk817-hifi rk817-hifi-0
Subdevices: 1/1
Subdevice #0: subdevice #0

用以下方式播放都没有声音:
# mp3play.sh
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

# 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

# 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

# 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

# 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:42

使用alsamixer把playback_path调到HP

深井蛙 发表于 2021-12-7 09:10:29

可以了,有声音了。谢谢
页: [1]
查看完整版本: roc-rk3566-pc使用官方buildroot镜像没有声音