aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-06 23:30:29 +0100
committerMax Kellermann <max@duempel.org>2013-11-06 23:51:17 +0100
commit77c63511d8809f7785328138e7e3a50303302730 (patch)
tree6743b89744cb41f36de56a526143b3cbb9c7eb6f /src/OutputInternal.hxx
parent0be5a6ab2b9201e60f3ecb363fcc9342ecfa8aee (diff)
downloadmpd-77c63511d8809f7785328138e7e3a50303302730.tar.gz
mpd-77c63511d8809f7785328138e7e3a50303302730.tar.xz
mpd-77c63511d8809f7785328138e7e3a50303302730.zip
PlayerThread: reduce the number of DecoderThread wakeups
After the number of decoded chunks has fallen below the threshold, the PlayerThread woke up the DecoderThread over and over. This commit adds a boolean flag that avoids these duplicate wakeups, and thus reduces the number of system calls.
Diffstat (limited to 'src/OutputInternal.hxx')
0 files changed, 0 insertions, 0 deletions