From: Colin Guthrie <gmane@colin.guthr.ie>
To: alsa-devel@alsa-project.org
Subject: Re: Device creation order
Date: Fri, 03 Apr 2009 11:34:00 +0100 [thread overview]
Message-ID: <gr4omo$dct$1@ger.gmane.org> (raw)
In-Reply-To: <alpine.LNX.2.00.0904030921280.17368@eeebox2.perex-int.cz>
'Twas brillig, and Jaroslav Kysela at 03/04/09 08:31 did gyre and gimble:
> Lennart, why you need to enumerate all devices per card at one time? I
> think that having mixer access plus one PCM device is enough for minimal
> configuration for PA.
PA now has a concept of "cards". The hal-detect module will load the
module-alsa-card module which in turn will probe the "card" in question
to see what it supports.
As alsa does not export information such as what parts of the card can
be used concurrently, the module-alsa-card has to be able to probe e.g.
5.1 output + stereo input to see if it works. From this probing, we can
build up a list of "Card Profiles" so we can let the user pick their
configuration[1] they want. When a user changes configuration, it will
take care of loading the individual module-alsa-sink and
module-alsa-source modules for dealing with the actual output/input.
Hope that explains why the whole card is needed rather than just a
single PCM.
Col
See:
http://colin.guthr.ie/development/configuring-card-profiles-in-pulseaudio.html
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
next prev parent reply other threads:[~2009-04-03 10:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 1:54 Device creation order Lennart Poettering
2009-04-03 7:12 ` Jaroslav Kysela
2009-04-03 7:20 ` Daniel Mack
2009-04-03 7:31 ` Jaroslav Kysela
2009-04-03 7:40 ` Daniel Mack
2009-04-03 10:34 ` Colin Guthrie [this message]
2009-04-03 11:51 ` Lennart Poettering
2009-04-03 11:43 ` Lennart Poettering
2009-04-03 7:38 ` Clemens Ladisch
2009-04-03 7:50 ` Jaroslav Kysela
2009-04-03 11:58 ` Lennart Poettering
2009-04-03 11:56 ` Lennart Poettering
2009-04-05 13:16 ` Wu Fengguang
2009-04-05 14:40 ` Lennart Poettering
2009-04-05 20:29 ` Mark Brown
2009-04-03 11:42 ` Lennart Poettering
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='gr4omo$dct$1@ger.gmane.org' \
--to=gmane@colin.guthr.ie \
--cc=alsa-devel@alsa-project.org \
/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.