Hello,

I have tried using alsa-lib to query hardware capabilities in order to capture 
sound at natively supported settings using the built-in sound card (ALC269VC).

However, I have found that `snd_pcm_hw_params_get_format_mask()` returns 
different results from what is shown in the /proc/asound/card[...]/codec#[...] 
file or what is returned by calling `hda-verb /dev/snd/hw[...] 0x[...] 0xF00 
0x0A`.

Namely, according to hda-verb, the supported capturing parameters are 16/20/24 
bits per sample, as well as sampling rates of 44.1/48/96/192 kHz.

Alsa-lib, on the other hand, claims that the supported formats (for `hw:0,0` in 
this case) are S16LE and S32LE, while the sampling rates are the same.

Is this normal ALSA behavior, or is that a bug in ALSA? I expected that ALSA 
returns something like: S16LE, S20LE, S24LE.

Kind regards,
Feli Kramer


_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to