diff options
author | Max Kellermann <max@duempel.org> | 2008-09-28 18:37:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-28 18:37:43 +0200 |
commit | 88aaa6b759daf02706daddb7a7a7fde83f76c592 (patch) | |
tree | a88ae861d78775a8eacaa66ac9cb079c3f424e20 /src/sllist.h | |
parent | 5b5e46f5ef34bdc6c1745c4e778b116e856393c9 (diff) | |
download | mpd-88aaa6b759daf02706daddb7a7a7fde83f76c592.tar.gz mpd-88aaa6b759daf02706daddb7a7a7fde83f76c592.tar.xz mpd-88aaa6b759daf02706daddb7a7a7fde83f76c592.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/sllist.h')
0 files changed, 0 insertions, 0 deletions