aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:41:05 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:41:05 +0200
commita94845ee00d3107af7ffbe89bf1ec46380ae24ff (patch)
treea7074bf912585c2deab455e0046d3c9ab080562a /src/outputBuffer.c
parent15c9352bb632277fc6e787114ae5af60e6dc8597 (diff)
downloadmpd-a94845ee00d3107af7ffbe89bf1ec46380ae24ff.tar.gz
mpd-a94845ee00d3107af7ffbe89bf1ec46380ae24ff.tar.xz
mpd-a94845ee00d3107af7ffbe89bf1ec46380ae24ff.zip
moved global variable "ob" to outputBuffer.h
This releases several include file dependencies. As a side effect, "CHUNK_SIZE" isn't defined by decoder_api.h anymore, so we have to define it directly in the plugins which need it. It just isn't worth it to add it to the decoder plugin API.
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index e500e6860..0efc5d16a 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -17,10 +17,11 @@
*/
#include "outputBuffer.h"
-#include "playerData.h"
#include "utils.h"
+struct output_buffer ob;
+
void ob_init(unsigned int size, Notify *notify)
{
assert(size > 0);