diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:20:06 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:20:06 +0000 |
commit | 0673c9a84dbbca60ed4627154e824dbfdeed269b (patch) | |
tree | 43edfa46f7d651143d6d6e826b539c91491c8862 /src/utils.c | |
parent | 51e9044098bf44a5d4578ce405468454be7a4c8e (diff) | |
download | mpd-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 '')
0 files changed, 0 insertions, 0 deletions