diff options
author | Max Kellermann <max@duempel.org> | 2008-09-28 18:37:43 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-29 01:28:45 -0700 |
commit | 33df4c65594384c32f91f0445d80fb2453d5ff7a (patch) | |
tree | ebd0be82a11f2f835f2ed7f51a4a36300d9f590e /src/inputPlugins/oggflac_plugin.c | |
parent | f471b4cfc5e4ad42e34f79daa81a2de217134517 (diff) | |
download | mpd-33df4c65594384c32f91f0445d80fb2453d5ff7a.tar.gz mpd-33df4c65594384c32f91f0445d80fb2453d5ff7a.tar.xz mpd-33df4c65594384c32f91f0445d80fb2453d5ff7a.zip |
pcm_utils: added pcm_range()
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.
Diffstat (limited to 'src/inputPlugins/oggflac_plugin.c')
0 files changed, 0 insertions, 0 deletions