]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: clarify and fix default sbits (msbits) value for all formats
authorJaroslav Kysela <perex@perex.cz>
Fri, 23 Feb 2024 20:50:01 +0000 (21:50 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 23 Feb 2024 20:52:23 +0000 (21:52 +0100)
commit13057b74c84c0916557cfc0b999aa4ff837ede7e
tree70979b462aae24e457b525d07073edef952e34ce
parent431f69a8c3d9f482d2d15d038d84711eeda0819d
pcm: clarify and fix default sbits (msbits) value for all formats

As described in the kernel patch (link bellow), the significant (resolution)
bits should be related to the usable sample bits not the physical sample bits.

Link: https://lore.kernel.org/linux-sound/20240222173649.1447549-1-perex@perex.cz/
Link: https://github.com/larsimmisch/pyalsaaudio/pull/146
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm.c
src/pcm/pcm_hw.c
src/pcm/pcm_params.c