aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-28 18:37:43 +0200
committerMax Kellermann <max@duempel.org>2008-09-28 18:37:43 +0200
commit88aaa6b759daf02706daddb7a7a7fde83f76c592 (patch)
treea88ae861d78775a8eacaa66ac9cb079c3f424e20 /src/decoder_thread.h
parent5b5e46f5ef34bdc6c1745c4e778b116e856393c9 (diff)
downloadmpd-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/decoder_thread.h')
0 files changed, 0 insertions, 0 deletions