aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:18:12 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:18:12 +0000
commite20b71ed63314d68407b5583e67f2617f916a9e4 (patch)
tree19f7c18f7c8939e33651f84a76319e131ec146ee /src/playerData.c
parente9e557c8d1562d0215e4e4a4c2f361457aec43a9 (diff)
downloadmpd-e20b71ed63314d68407b5583e67f2617f916a9e4.tar.gz
mpd-e20b71ed63314d68407b5583e67f2617f916a9e4.tar.xz
mpd-e20b71ed63314d68407b5583e67f2617f916a9e4.zip
remove buffered_chunks, use cb->size
Second patch to make OutputBuffer self-contained: since OutputBuffer now knows its own size, we do not need the global variable "buffered_chunks" anymore. git-svn-id: https://svn.musicpd.org/mpd/trunk@7311 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playerData.c')
-rw-r--r--src/playerData.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playerData.c b/src/playerData.c
index 917c2a05b..91a7ef661 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -23,7 +23,6 @@
#include "os_compat.h"
unsigned int buffered_before_play;
-unsigned int buffered_chunks;
#define DEFAULT_BUFFER_SIZE 2048
#define DEFAULT_BUFFER_BEFORE_PLAY 10
@@ -36,6 +35,7 @@ void initPlayerData(void)
char *test;
int crossfade = 0;
size_t bufferSize = DEFAULT_BUFFER_SIZE;
+ unsigned int buffered_chunks;
ConfigParam *param;
size_t device_array_size = audio_device_count() * sizeof(mpd_sint8);