]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: reorganize format handling in begin_wave()
authorJaroslav Kysela <perex@perex.cz>
Fri, 5 Dec 2025 09:47:30 +0000 (10:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 5 Dec 2025 18:16:14 +0000 (19:16 +0100)
commite78583ab7cde7a2ccbb56339dd51608fb78c5395
tree6d782db857834982a45276864f5ff907d696d432
parente5316c1aa6446c3b9156d1bbe5507bd76ef85971
aplay: reorganize format handling in begin_wave()

Use strictly snd_pcm_format_physical_width/snd_pcm_format_width functions
to determine the sample bit width.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aplay/aplay.c