Instead of opencoding them use the standard roundup_pow_of_two() and rounddown_pow_of_two() helper functions. This gets rids one of the few users of the custom ld2() function and also makes it a bit more obvious what the code does. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
|---|---|---|
| .. | ||
| copy.c | ||
| io.c | ||
| linear.c | ||
| Makefile | ||
| mixer_oss.c | ||
| mulaw.c | ||
| pcm_oss.c | ||
| pcm_plugin.c | ||
| pcm_plugin.h | ||
| rate.c | ||
| route.c | ||