[alsa-devel] Adding a "capture" device naming scheme

Raymond Yau superquad.vortex2 at gmail.com
Wed Jan 12 02:08:37 CET 2011


2011/1/12 Colin Guthrie <gmane at colin.guthr.ie>

> 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
>

why do you think that it is incorrect to use hw:CARD=xxx for analog capture
?

since you need the low level to handle the phase inversion of the stereo mic

if you don't like the "plug" plugin , you will also don't like the "route"
plugin too

alsa-lib still use the sound card's default device if the linux distribution
does not override  pcm.!default by pulse ,


More information about the Alsa-devel mailing list