[PATCH] Default of dev option not 0 for alsa09 as stated in ogg123, no information on valid options for dev
The man page lists the default for the alsa09 dev option as "0". If that were the case the following two lines would be equivalent.
ogg123 -d alsa09 cdda.ogg
ogg123 -d alsa09 -o dev:0 cdda.ogg
However the first line plays music on card number 0. The second line gives the error:
ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM 0
ALSA snd_pcm_open error: No such file or directory
Error: Cannot open device alsa09
I can find no example of how to play sound from ALSA card number 1 on the web. That "-o card:" is ignored is a known bug (see below) and the only hits on Google for
ogg123 alsa09 "-o dev:" or "-o card:"
are
ogg123 -d alsa09 -o dev:dmixer
and
DA bug report logs: maintainer ccheney@debian.org
#298237: /usr/bin/ogg123: ogg123 ignores -o card:1 option for alsa09 Package:
vorbis-tools (1.0.1-1.2); Reported by: Nathan Hurst ...
bugs.donarmstrong.com/cgi-bin/pkgreport.cgi?maint=ccheney@debian.org&arch=source