aboutsummaryrefslogtreecommitdiffstats
path: root/test/software_volume.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-28 21:12:15 +0100
committerMax Kellermann <max@duempel.org>2009-02-28 21:12:15 +0100
commit82b081a6db88714aa2501e875e2e0f129f047d08 (patch)
treeded99fcd9427619469792ab9f600a322a778b7ca /test/software_volume.c
parentec4fd9fd88a10bfc88154e8e6791d5d69858a2e5 (diff)
downloadmpd-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 'test/software_volume.c')
0 files changed, 0 insertions, 0 deletions