Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Separate default devices for playback and capture
@ 2007-09-19  0:41 Lasse Kärkkäinen
  2007-09-19  6:53 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Lasse Kärkkäinen @ 2007-09-19  0:41 UTC (permalink / raw)
  To: alsa-devel

I've been reading the library source code and from what I gather, it
seems that it just fundamentally cannot support separate config sections
for playback and capture.

What should the fix be? I can see three options:

1. allow specifying in asound.conf whether a section is for recording or
playback (needs major redesign of conf.c and some changes in pcm.c).

2. if the name is "default", use "capture" (for example) instead, in
snd_pcm_open_noupdate, maybe reverting to "default" if the other device
cannot be found (dirty, but very easy to implement)

3. tell application developers to use some other device name for
capture: "capture", instead of "default", for example (needs a little
change in every application program that uses ALSA capture).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-19  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19  0:41 Separate default devices for playback and capture Lasse Kärkkäinen
2007-09-19  6:53 ` Clemens Ladisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox