'Supported bit depths' according to alsa-lib seem to differ from real values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux