diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:18:43 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:18:43 +0000 |
commit | 7642d10fe90f77e21addbbbdfb02d95494655bc2 (patch) | |
tree | 97af5a42fb35747553f6c97e9a39701e0d7c20fc /COPYING | |
parent | f2cdac6ee7a338ace92c6e884f65b9f89841970e (diff) | |
download | mpd-7642d10fe90f77e21addbbbdfb02d95494655bc2.tar.gz mpd-7642d10fe90f77e21addbbbdfb02d95494655bc2.tar.xz mpd-7642d10fe90f77e21addbbbdfb02d95494655bc2.zip |
pass DecoderControl object to decoder_sleep()
Less global variables: at any invocation of decoder_sleep(), we have a
reference to the DecoderControl anyway, so we should pass it. This
costs less than having to call getPlayerData() in every tiny
function. Maybe some day we will be able to have multiple decoders at
the same time...
git-svn-id: https://svn.musicpd.org/mpd/trunk@7316 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions