aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:12 +0200
committerEric Wong <normalperson@yhbt.net>2008-08-30 19:30:23 -0700
commitfdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca (patch)
tree9d4f6cc405d60e250062935f67bcca305dcc9f32 /doc
parent173b3cc28d40f7555d0f7dbf1cc8823f81762fdb (diff)
downloadmpd-fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca.tar.gz
mpd-fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca.tar.xz
mpd-fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca.zip
mp3: moved dropSamplesAtEnd check out of the loop
Simplifying loops for performance: why check dropSamplesAtEnd in every iteration, when we could modify the loop boundary? The (writable) variable samplesLeft can be eliminated; add a write-once variable pcm_length instead, which is used for the loop condition.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions