diff options
author | Max Kellermann <max@duempel.org> | 2008-11-12 07:03:44 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-12 07:03:44 +0100 |
commit | 975d5cd77e80c8fbaf5ab307767cb4740dac4be4 (patch) | |
tree | f588ecfc5451abbf89774b9a1cd80f9ad81d5a78 /src/database.c | |
parent | 865757835ec586963847c630790d636c35914fa8 (diff) | |
download | mpd-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/database.c')
0 files changed, 0 insertions, 0 deletions