]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: route: Fix use_getput flag computation for 3 byte formats
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Mon, 20 Nov 2017 12:12:32 +0000 (13:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Nov 2017 13:31:10 +0000 (14:31 +0100)
commit6f52b3d643fc68bf1b6a2839696385f0b2b3f327
tree2240418d2402996771743d4f28cfdb41f4db2706
parent5b9041bced295fdedac88e37e00a38d048a78543
pcm: route: Fix use_getput flag computation for 3 byte formats

Commit de63b942acf520 ("pcm: route: Use get/put labels for all 3 byte formats")
wanted to make the route plugin use get / put labels not only for 24-bit
physical width formats but also for 18 and 20-bit ones.
There was, however, a typo in that commit so a check for these widths
didn't really work.

Let's fix it now.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_route.c