• Max Kellermann's avatar
    pcm_utils: added pcm_range() · 88aaa6b7
    Max Kellermann authored
    Make the code more readable by moving the range checks to pcm_range().
    gcc does quite a good job at optimizing it: the resulting binary is
    exactly the same, although it contains a parametrized shift instead of
    hard-coded boundaries.
    88aaa6b7
pcm_utils.c 12.1 KB