aboutsummaryrefslogtreecommitdiffstats
path: root/src/crossfade.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-10 16:47:57 +0200
committerMax Kellermann <max@duempel.org>2008-10-10 16:47:57 +0200
commit17d9c1708b5afe32c362fdaba114e74f64a7dd06 (patch)
tree530967bf2c6bd2b8e29c89df5fcf93e9dab4d03f /src/crossfade.c
parentf41fe1e0b5d86470fab406831c18d032e9835d84 (diff)
downloadmpd-17d9c1708b5afe32c362fdaba114e74f64a7dd06.tar.gz
mpd-17d9c1708b5afe32c362fdaba114e74f64a7dd06.tar.xz
mpd-17d9c1708b5afe32c362fdaba114e74f64a7dd06.zip
player: don't wake up decoder after every frame
The decoder was woken up after each chunk which had been played. That caused a lot of superfluous context switches. Wake up the decoder only when a certain amount of the buffer has been consumed. This formula is somewhat arbitrary, and has to be proven experimentally.
Diffstat (limited to 'src/crossfade.c')
0 files changed, 0 insertions, 0 deletions