aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:20:06 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:20:06 +0000
commit0673c9a84dbbca60ed4627154e824dbfdeed269b (patch)
tree43edfa46f7d651143d6d6e826b539c91491c8862 /src/outputBuffer.c
parent51e9044098bf44a5d4578ce405468454be7a4c8e (diff)
downloadmpd-0673c9a84dbbca60ed4627154e824dbfdeed269b.tar.gz
mpd-0673c9a84dbbca60ed4627154e824dbfdeed269b.tar.xz
mpd-0673c9a84dbbca60ed4627154e824dbfdeed269b.zip
calculate bytes_per_channel, check for buffer flush once
Check for flushing the chunk buffer only once per sample, before iterating over channels and bytes. This saves another 5% CPU cycles. git-svn-id: https://svn.musicpd.org/mpd/trunk@7326 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
0 files changed, 0 insertions, 0 deletions