From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Paul Davis <pbd@op.net>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: opening control devices with "hw:N,M"
Date: Mon, 22 Jul 2002 13:04:07 +0200 [thread overview]
Message-ID: <s5hy9c4owgo.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0207200907430.809-100000@pnote.perex-int.cz>
At Sat, 20 Jul 2002 09:08:29 +0200 (CEST),
Jaroslav wrote:
>
> On Fri, 19 Jul 2002, Takashi Iwai wrote:
>
> > At Thu, 18 Jul 2002 09:03:26 -0400,
> > Paul Davis wrote:
> > >
> > > why doesn't this work:
> > >
> > > snd_ctl_open (&handle, "hw:0,0", ...)
> > >
> > > it means that you can't use the same standard name format for control
> > > devices as PCM devices, which is a bit of problem for programs that
> > > need to open both but only want to require the user to specify a
> > > single name ...
> >
> > do you suppose that the second argument of ctl name is always ignored?
> > the control interface has no device like pcm.
> >
> > but it's true that having a same naming rule makes the life easier...
>
> The 'default' is there for this purpose. Otherwise, application / user
> must know the right device name.
iirc, it's not easy to pass the card/device number to "default" pcm.
at least, "default:CARD=1" doesn't work. the easiest way to access a
certain card is, so far, only to use "hw:x".
this must be fixed.
also, i thought that ctl.hw is defined purely in
/usr/share/alsa/alsa.conf, and tried to redefine this to accept more
arguments. but it doesn't change anything. is ctl.hw hardcoded?
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-07-22 11:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-18 13:03 opening control devices with "hw:N,M" Paul Davis
2002-07-19 17:55 ` Takashi Iwai
2002-07-20 7:08 ` Jaroslav Kysela
2002-07-22 11:04 ` Takashi Iwai [this message]
2002-07-22 19:21 ` Jaroslav Kysela
2002-07-23 9:18 ` 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=s5hy9c4owgo.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=pbd@op.net \
--cc=perex@suse.cz \
/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.