You are not logged in.
Pages: 1
Topic closed
Hello
I want to play some sound from terminal, when clicked on icon VCL player runs and sound is played correctly but when try ogg123 I have beow error:
[archie@arch Audio]$ ogg123 A.ogg
Audio Device: Advanced Linux Sound Architecture (ALSA) output
Playing: A.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ao_alsa ERROR: Unable to open ALSA device 'default' for playback => No such file or directory
ERROR: Cannot open device alsa.
Last edited by r0b3rt (2017-04-23 13:55:43)
Offline
If you use pulseaudio, change /etc/libao.conf remove the dev line and change the default_driver= to pulse. If you only use alsa try without the dev line anyway. For some reason libao tries to use some strange parameters with it present
Offline
Great it works thanks a lot.
Offline
Hello everyone!
That's actually a problem. Didn't worked for me. Now it says:
ERROR: Cannot open device pulse.
I've been trying to launch an ogg123 via
-d pulse
, but still the same result. ALSA doesn't works also.
Any ideas of why this is happening?
Thanks!
"Life is what happens to you while you're busy making other plans" © John Winston Ono Lennon.
Offline
Please don't hijack 4 year old threads.
This still works, just as I described, remove the dev line and change the default driver. Is pulse actually started? Where are you trying to run this? From somewhere else other than your user?
In any case please open a new thread on this.
Closing.
Last edited by V1del (2021-05-23 09:44:31)
Offline
Pages: 1
Topic closed