I need advice on using the utility ogg123 with Manjaro Gnome. It plays .ogg files from the terminal.
I get this error:
[dmn@Sydney]$ ogg123 alarm2.ogg
Audio Device: Advanced Linux Sound Architecture (ALSA) output
Playing: alarm2.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
ERROR: Cannot open device alsa.
I also tried specifing pulse, but again an error.
[dmn@Sydney]$ ogg123 -d pulse alarm2.ogg
Audio Device: PulseAudio Output
Playing: alarm2.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
ERROR: Cannot open device pulse.
How do I get this to work?
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.
Source
Thanks for the advice. I removed the dev line, and tried both alsa and pulse as the default_driver. Pulse works, but not alsa. So pulse it is.
dmn@Sydney]$ ogg123 alarm2.ogg
Audio Device: PulseAudio Output
Playing: alarm2.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Done.
Problem solved. Thanks again.
1 Like
system
Closed
23 September 2022 07:44
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.