Bug 13927 - doesn't accept alsa device specification as per the manpage
: doesn't accept alsa device specification as per the manpage
Status: NEW
: Sisyphus
(All bugs in Sisyphus/mpg321)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-01-07 20:21 by
Modified: 2009-05-10 02:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-07 20:21:34
mpg321-0.2.10.2-alt1.1
libao-0.8.8-alt1.13239

man mpg321 says:

       -a device, --audiodevice device
...
                 For -o alsa, specify card:device; defaults to 0:0.

Steps to Reproduce:
$ mpg321 -o alsa -a 0:0 04-vse-napominaet-o-tebe.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : бЯ╦ МЮОНЛХМЮЕР Н РЕАЕ           Artist: гЮУЮП лЮИ                     
Album  : Live in San Francisco           Year  : 2005
Comment: Recorded live at "Last Day Sal  Genre : BluesBlues                    

Playing MPEG stream from 04-vse-napominaet-o-tebe.mp3 ...
MPEG 1.0 layer III, 160 kbit/s, 44100 Hz stereo
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM 0
ALSA snd_pcm_open error: No such file or directory
Can't open libao driver with device 0 (is device in use?)
$ 

Although it works with no -a option:

$ mpg321 -o alsa 04-vse-napominaet-o-tebe.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : бЯ╦ МЮОНЛХМЮЕР Н РЕАЕ           Artist: гЮУЮП лЮИ                     
Album  : Live in San Francisco           Year  : 2005
Comment: Recorded live at "Last Day Sal  Genre : BluesBlues                    

Playing MPEG stream from 04-vse-napominaet-o-tebe.mp3 ...
MPEG 1.0 layer III, 160 kbit/s, 44100 Hz stereo

[0:03] Decoding of 04-vse-napominaet-o-tebe.mp3 finished.
$