Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

[D1] 测试D1上音频是否可以输出:通过 3.5mm 耳机接口 #219

Open
xijing21 opened this issue Dec 16, 2021 · 1 comment
Open

Comments

@xijing21
Copy link
Collaborator

xijing21 commented Dec 16, 2021

测试环境:D1+openeuler-xfce 镜像

测试:

  1. 安装alsa-utils
[root@openEuler-RISCV-rare ~]# yum install alsa-utils
Last metadata expiration check: 2:01:46 ago on Thu Dec 16 13:48:31 2021.
Dependencies resolved.
================================================================================
 Package              Architecture   Version               Repository      Size
================================================================================
Installing:
 alsa-utils           riscv64        1.2.2-2.oe1           obs            1.0 M
Installing dependencies:
 libsamplerate        riscv64        0.1.9-4.oe1           oe_base        1.0 M
 libsndfile           riscv64        1.0.28-18.oe1         oe_base        183 k
 alsa-topology        noarch         1.2.4-1.oe1           obs             19 k
 alsa-ucm             noarch         1.2.4-1.oe1           obs             60 k
 flac                 riscv64        1.3.3-1.oe1           obs            380 k

Transaction Summary
================================================================================
Install  6 Packages

Total download size: 2.7 M
Installed size: 5.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): alsa-topology-1.2.4-1.oe1.noarch.rpm     296 kB/s |  19 kB     00:00    
(2/6): alsa-ucm-1.2.4-1.oe1.noarch.rpm          187 kB/s |  60 kB     00:00    
(3/6): libsndfile-1.0.28-18.oe1.riscv64.rpm     194 kB/s | 183 kB     00:00    
(4/6): libsamplerate-0.1.9-4.oe1.riscv64.rpm    594 kB/s | 1.0 MB     00:01    
(5/6): flac-1.3.3-1.oe1.riscv64.rpm             430 kB/s | 380 kB     00:00    
(6/6): alsa-utils-1.2.2-2.oe1.riscv64.rpm       597 kB/s | 1.0 MB     00:01    
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 2.7 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : flac-1.3.3-1.oe1.riscv64                               1/6 
  Installing       : libsndfile-1.0.28-18.oe1.riscv64                       2/6 
  Installing       : libsamplerate-0.1.9-4.oe1.riscv64                      3/6 
  Running scriptlet: libsamplerate-0.1.9-4.oe1.riscv64                      3/6 
/sbin/ldconfig: /lib64/lp64d/libhunspell-1.6.so.0 is not a symbolic link


  Installing       : alsa-ucm-1.2.4-1.oe1.noarch                            4/6 
  Installing       : alsa-topology-1.2.4-1.oe1.noarch                       5/6 
  Running scriptlet: alsa-utils-1.2.2-2.oe1.riscv64                         6/6 
  Installing       : alsa-utils-1.2.2-2.oe1.riscv64                         6/6 
  Running scriptlet: alsa-utils-1.2.2-2.oe1.riscv64                         6/6 
/sbin/ldconfig: /lib64/lp64d/libhunspell-1.6.so.0 is not a symbolic link


  Verifying        : libsamplerate-0.1.9-4.oe1.riscv64                      1/6 
  Verifying        : libsndfile-1.0.28-18.oe1.riscv64                       2/6 
  Verifying        : alsa-topology-1.2.4-1.oe1.noarch                       3/6 
  Verifying        : alsa-ucm-1.2.4-1.oe1.noarch                            4/6 
  Verifying        : alsa-utils-1.2.2-2.oe1.riscv64                         5/6 
  Verifying        : flac-1.3.3-1.oe1.riscv64                               6/6 

Installed:
  alsa-utils-1.2.2-2.oe1.riscv64         libsamplerate-0.1.9-4.oe1.riscv64      
  libsndfile-1.0.28-18.oe1.riscv64       alsa-topology-1.2.4-1.oe1.noarch       
  alsa-ucm-1.2.4-1.oe1.noarch            flac-1.3.3-1.oe1.riscv64               

Complete!
  1. aplay *.wav

image

没有声音输出

换了2个音频,依然没有声音:
image

检查配置:
1f08ea2fc7841d5ab22904089d858d6

  1. 尝试网页播放:
    浏览器打开一个可播放音频的网站:https://freepd.com/
    点击播放也未能播放成功,未听到声音(不知道是太慢,还是无法播放)
    image
@lazyparser
Copy link
Member

需要有人更新和完成。

@xijing21 xijing21 reopened this Jul 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants