Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2957|Reply: 0

HDMI Audio Output with 64-bit ARM development board NanoPi M3 under Debian

[Copy link]

2

Threads

3

Posts

20

Credits

Novice

Rank: 1

Credits
20
Post time 2016-8-3 19:13:17 | Show all posts |Read mode
HDMI Audio Output/3.5mm Audio Jack Output Under Debian

    By default our Debian system's HDMI output doesn't have audio output. To enable the HDMI audio output you need to install the alsa packages
    Firstly, make sure your board runs our latest Debian image and is connected to the internet:
    After your board is powered up run the following commands:

apt-get update
apt-get install libasound2
apt-get install alsa-base
apt-get install alsa-utils

    After the installation is done copy a ".wav" audio file to your NanoPi M3, connect your NanoPi M2 to an HDMI monitor and play it by using the following command:

aplay music.wavOur Debian system's default audio output is the 3.5mm audio jack. You can turn on the HDMI audio by editting the /etc/asound.conf file:

pcm.!default {
    type hw
    card 1
    device 0
}
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-3-4 12:00 GMT+8 , Processed in 0.027742 second(s), 29 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list