]> git.alsa-project.org Git - alsa-lib.git/commit
test/pcm.c: Fix SND_PCM_FORMAT_S24 support
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2008 16:45:23 +0000 (18:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2008 16:45:23 +0000 (18:45 +0200)
commitd31fd52e74dd5fa9df15648b47cc71d2c28b7ce8
tree877a96ed22d3146f883010c22e76fd7f58e1634d
parentaf2c3fbe7d28c2c4555aac75933263eb6e2d2e8a
test/pcm.c: Fix SND_PCM_FORMAT_S24 support

The program uses snd_pcm_format_width() wrongly to calculate the sample
size.  It must be snd_pcm_format_physical_width() instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
test/pcm.c