alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Adding a "capture" device naming scheme
@ 2011-01-11 18:40 Colin Guthrie
  2011-01-12  1:08 ` Raymond Yau
  2011-01-12  8:53 ` Raymond Yau
  0 siblings, 2 replies; 11+ messages in thread
From: Colin Guthrie @ 2011-01-11 18:40 UTC (permalink / raw)
  To: alsa-devel

Hi,

As has been pointed out a few times, it's incorrect to use "front:" for
capture, but can we have an official name/wrapper (I'm unsure of the
terminology here) for this so we don't use hw: for recording?

I'd be in favour of "capture:" or "input:" as these both seem quite
logical and easy to understand.

It would be used thusly:

  arecord -f S16_LE -c 2 -D capture:CARD=Intel

as opposed to the incorrect:
  arecord -f S16_LE -c 2 -D front:CARD=Intel
or the low level:
  arecord -f S16_LE -c 2 -D hw:CARD=Intel

Keeping it wrapped up allows for e.g. softvol or other things to be
plugged in as appropriate in the config and thus future proofs things a
little.

If someone could point me roughly in the right direction I'll make a
patch. I suspect it'll be easy enough to cook up the relevant config
needed (and I suspect it's just config rather than code that needs
patched, but I could be wrong).

It would be nice to get this into a release (alsa-lib?) soon so that it
can propigate and we can require it.

Cheers

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

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

end of thread, other threads:[~2011-01-12 17:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 18:40 Adding a "capture" device naming scheme Colin Guthrie
2011-01-12  1:08 ` Raymond Yau
2011-01-12  6:53   ` Takashi Iwai
2011-01-12  8:38     ` Raymond Yau
2011-01-12  9:04       ` Colin Guthrie
2011-01-12  9:10     ` Colin Guthrie
2011-01-12  9:17       ` Jaroslav Kysela
2011-01-12 11:12         ` Colin Guthrie
2011-01-12 17:00           ` Takashi Iwai
2011-01-12  8:53 ` Raymond Yau
2011-01-12  9:04   ` Colin Guthrie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).