On 23-Feb-2006 Ismael Valladolid Torres wrote:
> Giuliano Pochini escribe:
>> plughw: is the default. Use hw: only if you know the hw
>> parameters which the card can manage.
>
> Any way to get them, cat /proc/asound/anything?

No, AFAIK. There can be rather complex relations between those
variables and also between other hw-specific things that make
compiling a list of supported values quite difficult. For example
playback (capture is different) on some echoaudio cards can use
U8 and S32_BE with 1 channel only, S16_LE with 2 channels and
S24_3LE and S32_LE with 1, 2, 4, 6, 8... channels. Sample rate is
32-96KHz but it's limited to 48KHz in ADAT mode even if you are
using an analog output. Number of digital channels is 8 in ADAT
mode and 2 in S/PDIF mode.
Those constraints are enforced with ad-hoc functions in the card
driver. Maybe (I know very little of the userspace API) you can
get an "overall" feature list like "96KHZ, 8channels, S16_LE...",
but the actual capabilities are know to the driver only.


--
Giuliano.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to