diff options
author | Max Kellermann <max@duempel.org> | 2009-02-28 21:12:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-28 21:12:15 +0100 |
commit | 82b081a6db88714aa2501e875e2e0f129f047d08 (patch) | |
tree | ded99fcd9427619469792ab9f600a322a778b7ca /src/decoder/mad_plugin.c | |
parent | ec4fd9fd88a10bfc88154e8e6791d5d69858a2e5 (diff) | |
download | mpd-82b081a6db88714aa2501e875e2e0f129f047d08.tar.gz mpd-82b081a6db88714aa2501e875e2e0f129f047d08.tar.xz mpd-82b081a6db88714aa2501e875e2e0f129f047d08.zip |
volume: throttle access to hardware mixers
On some hardware, reading the mixer value from hardware is an
expensive operation, and MPD has to do it for every client. Throttle
access to the hardware, cache the result for one second.
Diffstat (limited to 'src/decoder/mad_plugin.c')
0 files changed, 0 insertions, 0 deletions