From: Glenn Maynard <glenn@zewt.org>
To: alsa-devel@lists.sourceforge.net
Subject: Re: HW mix
Date: Tue, 19 Apr 2005 02:06:47 -0400 [thread overview]
Message-ID: <20050419060647.GG6018@zewt.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0504181206180.1759@pnote.perex-int.cz>
On Mon, Apr 18, 2005 at 12:06:54PM +0200, Jaroslav Kysela wrote:
> On Mon, 18 Apr 2005, Clemens Ladisch wrote:
>
> > Dino wrote:
> > > i want to mix some pcm streams using hardware (where possible). One process
> > > with some thread witch want to play with one device (hw:0,0). Actually i simply
> > > open the device as it can (32 at max for me) with snd_pcm_open() and hw:0,0 as
> > > the device. It's seems to work but i don't know if it's the rigth way.
> >
> > "hw:0,0" will fail if another program has already opened it.
> > Use "hw:0" which instructs ALSA to open the first available subdevice.
>
> Nope, hw:0,0 is correct (CARD,DEVICE). You meant probably hw:0,0,0
> (CARD,DEVICE,SUBDEVICE).
Is there anything wrong with using "hw:0" instead of "hw:0,0", or are they
equivalent? It's what I've always used, without issue.
--
Glenn Maynard
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
next prev parent reply other threads:[~2005-04-19 6:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1DNSGJ-00024N-Di@externalmx-1.sourceforge.net>
2005-04-18 9:46 ` HW mix Dino
2005-04-18 9:57 ` Clemens Ladisch
2005-04-18 10:06 ` Jaroslav Kysela
2005-04-19 6:06 ` Glenn Maynard [this message]
2005-04-19 8:14 ` Takashi Iwai
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=20050419060647.GG6018@zewt.org \
--to=glenn@zewt.org \
--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.