diff options
author | Max Kellermann <max@duempel.org> | 2013-11-06 23:30:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-06 23:51:17 +0100 |
commit | 77c63511d8809f7785328138e7e3a50303302730 (patch) | |
tree | 6743b89744cb41f36de56a526143b3cbb9c7eb6f /src/ConfigPath.hxx | |
parent | 0be5a6ab2b9201e60f3ecb363fcc9342ecfa8aee (diff) | |
download | mpd-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/ConfigPath.hxx')
0 files changed, 0 insertions, 0 deletions