aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-12 07:03:44 +0100
committerMax Kellermann <max@duempel.org>2008-11-12 07:03:44 +0100
commit975d5cd77e80c8fbaf5ab307767cb4740dac4be4 (patch)
treef588ecfc5451abbf89774b9a1cd80f9ad81d5a78 /src/song_print.c
parent865757835ec586963847c630790d636c35914fa8 (diff)
downloadmpd-975d5cd77e80c8fbaf5ab307767cb4740dac4be4.tar.gz
mpd-975d5cd77e80c8fbaf5ab307767cb4740dac4be4.tar.xz
mpd-975d5cd77e80c8fbaf5ab307767cb4740dac4be4.zip
mpc: make the buffer large enough for one mpc frame
Don't split the buffer conversion loop. When libmpcdec returns a chunk, convert and send the whole chunk at a time. This moves several checks out of the loop, and greatly improves performance.
Diffstat (limited to 'src/song_print.c')
0 files changed, 0 insertions, 0 deletions