Yggdrasil
Posts: 138
Joined: Sun Aug 26, 2012 8:45 pm

Openelec >= 6.0. How to play file directly (Pulseaudio?!)

Mon Feb 01, 2016 5:48 pm

Hello guys,

in a previous version of Openelec I've used the Alsa-util aplay to play a (raw) audio file directly.
Now, after an update to a newer version of Openelec, it seems that it does not support the Alsa stuff any more, but uses Pulseaudio.

Older posts mentioned that snd_bcm2835 should be loaded. That is already the case.

Code: Select all

OpenELEC:~ # lsmod
Module                  Size  Used by
lirc_xbox               9632  0
bcm2835_gpiomem         2791  0
lirc_rpi                6088  3
lirc_dev                7605  5 lirc_rpi,lirc_xbox
rc_core                15304  1 lirc_dev
snd_bcm2835            18021  0
snd_pcm                62766  1 snd_bcm2835
snd_timer              16340  1 snd_pcm
snd                    41771  3 snd_bcm2835,snd_timer,snd_pcm
OpenELEC:~ # aplay -l
aplay: device_list:268: no soundcards found...
Did anybody know how to play an audio file without disturbing/using Kodi?
Can I re-enable an Alsa sink?

Regards Yggdrasil

P.S.
I've see that newer builds (with alpha versions with Kodi 17) now includes the Pulseaudio CLI tool 'paplay' with a similar syntax like aplay. Unfortunately it does not work (sorry, can't provide an error output at the moment...)

Return to “Media centres”