Jump to content

armbian and sound


xwalter

Recommended Posts

hello everyone ! 

I'm trying to listen music with my orange pi over armbian of course. 

I have installed VLC and it seems works but not sound .

I use the 3,5mm output connected to the amplifier 

At the moment no sound and no music ....

Does anyone know what I have to do ?

Thanks in advanced 

Walter

Link to comment
Share on other sites

I think that by default VLC uses the HDMI sound output.

You must select audio codec in "preferences" and save it IIRC.

Some choices are only effective if you restart VLC.

I had no problems selecting various USB audio out devices with VLC.

I use an audio/video cable that was tested with an android distribution.

aplay -l is useful to list the various audio out devices available.

Link to comment
Share on other sites

if I type 

lsmod 

I cannot see any driver for the sound .

Do you think is this the problem?

 

No, because all H3 sound drivers except spdif are built-in in kernel and are not loaded as modules.

Link to comment
Share on other sites

check your /etc/asound.conf file. Try this one and use dmixer as default output device

 

------------------------------------------------------------

pcm.!default {
  type plug
  slave.pcm "dmixer"
}
 
pcm.dmixer  {
  type dmix
  ipc_key 1024
  slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
  }
  bindings {
    0 0
    1 1
  }
}
 
ctl.dmixer {
  type hw
  card 0
}

------------------------------------------------------------

 
Link to comment
Share on other sites

The default sound output is hdmi, you need to change it on /etc/asound.conf.

This is the default file:

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}

You need to change the card number to 0 on both lines, if it is not 0 you can check the card number with cat /proc/asound/cards
 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines