Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Pavlik <rpav@mephle.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: ALSA doesn't work with XMMS - or alsaplayer either
Date: Mon, 19 Jan 2004 16:18:17 -0800	[thread overview]
Message-ID: <20040119161817.5ceac577.rpav@mephle.com> (raw)
In-Reply-To: <1074555723.22882.75.camel@moria.arnor.net>

On Mon, 19 Jan 2004 15:42:03 -0800
Torrey Hoffman <thoffman@arnor.net> wrote:

> I can now confirm this is an ALSA problem, not just an XMMS problem:
> alsaplayer doesn't work with this driver either.
> 
> [thoffman@moria thoffman]$ alsaplayer -d hw:1:0 12.mp3
> ALSA lib pcm_hw.c:1142:(_snd_pcm_hw_open) Invalid value for card
> snd_pcm_open: No such device (hw:1:0)
> Failed to initialize plugin!
> Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
> Failed to load output plugin "alsa". Trying defaults.
> 
> So... I haven't found any way to play an MP3 file on my M-Audio card
> without using OSS...

I've got an m-audio delta 44, you probably just need to use the xmms
ALSA plugin and tell it to use an ALSA plugin or whatever:

My .asoundrc:

    pcm.ice1712 {
        type hw
        card 0
        device 0
    }
    
    ctl.ice1712 {
        type hw
        card 0
    }
    
    pcm.cdaudio {
        type plug
        slave {
            pcm ice1712
        }
    }

Now in the xmms plugin where it says 'Audio device:' followed by
'[ ] User defined:', check that, and enter 'cdaudio' in the box.
After that it works fine for me.

Most other ALSA stuff should follow similarly; try -d cdaudio with
alsaplayer; with mplayer I use '-ao alsa9:cdaudio', etc.

hth,

-- 
Ryan Pavlik <rpav@mephle.com>

"I take offense at your *slanderous* allegations,
 accurate though they may be." - 8BT


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  reply	other threads:[~2004-01-20  0:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-19 21:52 ALSA doesn't work with XMMS Torrey Hoffman
2004-01-19 23:42 ` ALSA doesn't work with XMMS - or alsaplayer either Torrey Hoffman
2004-01-20  0:18   ` Ryan Pavlik [this message]
2004-01-20  0:33     ` Torrey Hoffman
2004-01-20 18:55 ` ALSA doesn't work with XMMS Klaus-Peter Schrage
2004-01-20 20:55   ` Torrey Hoffman
2004-01-20 21:14   ` Torrey Hoffman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040119161817.5ceac577.rpav@mephle.com \
    --to=rpav@mephle.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox