Firefly开源社区

标题: roc-rk3566-pc使用官方buildroot镜像没有声音 [打印本页]

作者: 深井蛙    时间: 2021-12-7 08:06
标题: roc-rk3566-pc使用官方buildroot镜像没有声音
镜像使用的是ROC-RK3566-PC-BUILDROOT-GPT-20211012-1641.7z,md5: c5bcf4a69e8ddcd92c50a994b35cba0a

播放声音时耳机孔没有声音输出,静悄悄的。
  1. [root@RK356X:~]# aplay -l
  2. **** List of PLAYBACK Hardware Devices ****
  3. card 0: rockchiphdmi [rockchip,hdmi], device 0: fe400000.i2s-i2s-hifi i2s-hifi-0 [fe400000.i2s-i2s-hifi i2s-hifi-0]
  4.   Subdevices: 1/1
  5.   Subdevice #0: subdevice #0
  6. card 1: rockchiprk809co [rockchip,rk809-codec], device 0: fe410000.i2s-rk817-hifi rk817-hifi-0 [fe410000.i2s-rk817-hifi rk817-hifi-0]
  7.   Subdevices: 1/1
  8.   Subdevice #0: subdevice #0
复制代码

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

  3. [root@RK356X:~]# minimad < /oem/piano2-CoolEdit.mp3 | aplay -t raw -f S16_LE -c 2 -r 48000 -Dplughw:0,0
  4. Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

  5. [root@RK356X:~]# minimad < /oem/piano2-CoolEdit.mp3 | aplay -t raw -f S16_LE -c 2 -r 48000 -Dplughw:1,0
  6. Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

  7. [root@RK356X:~]# aplay -Dplughw:1,0 /etc/bsa_file/8k16bpsStereo.wav
  8. Playing WAVE '/etc/bsa_file/8k16bpsStereo.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo

  9. [root@RK356X:~]# aplay -Dplughw:0,0 /etc/bsa_file/8k16bpsStereo.wav
  10. 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