From: AthlonRob <athlonrob@data.4t3.com>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Multiple Sound Streams out of a single card
Date: 14 Sep 2003 08:50:37 -0700 [thread overview]
Message-ID: <1063554637.21173.11.camel@localhost> (raw)
In-Reply-To: <200309140606.h8E66UCi032132@oud>
On Sat, 2003-09-13 at 23:06, Paul Davis wrote:
> ALSA now offers the "dmix" plugin layer that allows multiple
> applications to write to a PCM device without locks. just tell an ALSA
> aware app to use "dmix:0" and both it and many other apps will all be
> able to share the device.
Wow, it's good to see something like that. :-)
I just tried it, though, and it didn't seem to want to work for me...
With my .asoundrc looking like this:
pcm.main {
type dmix
slave {
pcm default
}
}
I got this, running alsaplayer -d main /path/to/wav/file :
ALSA lib pcm_dmix.c:1184:(_snd_pcm_dmix_open) Unique IPC key is not defined
snd_pcm_open: Invalid argument (main)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_dmix.c:1184:(_snd_pcm_dmix_open) Unique IPC key is not defined
snd_pcm_open: Invalid argument (main)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
If I run alsaplayer -d dmix:0 /path/to/wav/file, I get this:
ALSA lib pcm.c:1908:(snd_pcm_open_noupdate) Unknown PCM 0
ALSA lib pcm_dmix.c:954:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: No such file or directory (dmix:0)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm.c:1908:(snd_pcm_open_noupdate) Unknown PCM 0
ALSA lib pcm_dmix.c:954:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: No such file or directory (dmix:0)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
So I see it really isn't working for me.
> and remember that Linux (and Mac OS X) also have JACK, which offers a
> service that isn't exactly matched on Windows, though rewire comes
> close, sort of.
I see how the various Linux audio offerings may be superior to what you
can do with Windows, in a real professional setup... but for being able
to play multiple things at once, unless DMIX pans out, Windows may have
us beaten. :-\
Is there a way to force OSS emulation to use the dmix plugin?
:::off to grep the great WWW for dmix info:::
Rob
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-09-14 15:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-14 3:44 Multiple Sound Streams out of a single card AthlonRob
2003-09-14 6:06 ` Paul Davis
2003-09-14 15:50 ` AthlonRob [this message]
2003-09-14 16:11 ` AthlonRob
2003-09-14 16:56 ` Justin Cormack
2003-09-15 17:34 ` Clemens Ladisch
[not found] <20030915012209.GA9288@ice_nine.wi.rr.com>
2003-09-15 2:00 ` Paul Davis
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=1063554637.21173.11.camel@localhost \
--to=athlonrob@data.4t3.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.