From: K.Fetscher@t-online.de (Klaus Fetscher)
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: Klaus Fetscher <K.Fetscher@t-online.de>,
Clemens Ladisch <clemens@ladisch.de>,
Giuliano Pochini <pochini@shiny.it>,
alsa-devel@lists.sourceforge.net
Subject: Re: Driver Programming
Date: Mon, 29 Nov 2004 09:37:39 +0100 [thread overview]
Message-ID: <41AADFD3.6030001@fetron.de> (raw)
In-Reply-To: <200411290327.iAT3RTlT019644@localhost.localdomain>
Paul Davis schrieb:
>>Is it possible, to select a substream with aplay ?
>>
>>
>
>aplay -D hw:stream,substream
>
>
>
Okay, I found my error. No, I am calling snd_pcm_new(chip->card, "name",
DEV_x, ONE_OUT, ONE_IN, &pcm); three times. During the last call, the
parameter ONE_IN is 0 (because I only have three output channels and two
input channels).
When I list the /proc/asound/card0 directory, I can see pcm0c, pcm1c,
pcm0p, pcm1p, pcm2p. And with substream->pcm->device I can detect, which
device I am using. All seems to be okay.
Another question belonging to the Control names of the mixer. Is it
correct, to use "Master Volume" three times for the different output
channels (the channels are independent from each other) ?
Thanks,
Klaus
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
next prev parent reply other threads:[~2004-11-29 8:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-25 16:43 Driver Programming Klaus Fetscher
2004-11-26 8:47 ` Giuliano Pochini
2004-11-26 11:39 ` Clemens Ladisch
2004-11-28 22:06 ` Klaus Fetscher
2004-11-29 3:27 ` Paul Davis
2004-11-29 8:37 ` Klaus Fetscher [this message]
2004-11-29 9:19 ` Giuliano Pochini
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=41AADFD3.6030001@fetron.de \
--to=k.fetscher@t-online.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
--cc=paul@linuxaudiosystems.com \
--cc=pochini@shiny.it \
/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.