diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:18:04 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:18:04 +0000 |
commit | e9e557c8d1562d0215e4e4a4c2f361457aec43a9 (patch) | |
tree | 13254e8a32a2d1ed4eedd750df0115601bd3004c /src/playerData.c | |
parent | b2819e12e7abe9cbe918a68eb9f917d2711402fa (diff) | |
download | mpd-e9e557c8d1562d0215e4e4a4c2f361457aec43a9.tar.gz mpd-e9e557c8d1562d0215e4e4a4c2f361457aec43a9.tar.xz mpd-e9e557c8d1562d0215e4e4a4c2f361457aec43a9.zip |
pass buffered_chunks to initOutputBuffer()
Try to make OutputBuffer self-contained, without depending on a global
variable.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7310 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playerData.c')
-rw-r--r-- | src/playerData.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playerData.c b/src/playerData.c index 3fd330d63..917c2a05b 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -75,7 +75,7 @@ void initPlayerData(void) playerData_pd.audioDeviceStates = xmalloc(device_array_size); - initOutputBuffer(&(playerData_pd.buffer)); + initOutputBuffer(&(playerData_pd.buffer), buffered_chunks); notifyInit(&playerData_pd.playerControl.notify); playerData_pd.playerControl.stop = 0; |