aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:19:59 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:19:59 +0000
commit51e9044098bf44a5d4578ce405468454be7a4c8e (patch)
treea421cbd9b04a4efd33ebd217cafaa94d7e0a316e /COPYING
parent96eb0119cce704c10f43aae422cd56594af0a29c (diff)
downloadmpd-51e9044098bf44a5d4578ce405468454be7a4c8e.tar.gz
mpd-51e9044098bf44a5d4578ce405468454be7a4c8e.tar.xz
mpd-51e9044098bf44a5d4578ce405468454be7a4c8e.zip
don't calculate bytes per sample within the loop
AudioFormat.bits is volatile, and to read it, 3 pointers had to be deferenced. Calculate this value once. This speeds up this function by 5%. git-svn-id: https://svn.musicpd.org/mpd/trunk@7325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions