aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:20:13 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:20:13 +0000
commitca1090f93b10c87a5ae3d7234688699569af5b01 (patch)
treef5ceb0319e3393acf606ebd53c1410cdf3f03236 /src/command.h
parent0673c9a84dbbca60ed4627154e824dbfdeed269b (diff)
downloadmpd-ca1090f93b10c87a5ae3d7234688699569af5b01.tar.gz
mpd-ca1090f93b10c87a5ae3d7234688699569af5b01.tar.xz
mpd-ca1090f93b10c87a5ae3d7234688699569af5b01.zip
convert blocks until the buffer is full
Move the inner loop which converts samples to flac_convert(). There it is isolated and easier to optimize. This function does not have to worry about buffer boundaries; the caller (i.e. flacWrite()) calculates how much is left and is responsible for flushing. That saves a lot of superfluous range checks within the loop. git-svn-id: https://svn.musicpd.org/mpd/trunk@7327 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions