aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r--src/outputBuffer.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 507c6fc01..191ea7556 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -20,17 +20,13 @@
#include "pcm_utils.h"
#include "playerData.h"
-#include "log.h"
#include "utils.h"
#include <string.h>
-#include <errno.h>
-#define OUTPUT_BUFFER_DC_STOP -1
-#define OUTPUT_BUFFER_DC_SEEK -2
-
-long sendDataToOutputBuffer(Buffer * cb, DecoderControl * dc, int flushAllData,
- char * data, long datalen, float time, mpd_uint16 bitRate)
+long sendDataToOutputBuffer(OutputBuffer * cb, DecoderControl * dc,
+ int flushAllData, char * data, long datalen, float time,
+ mpd_uint16 bitRate)
{
long dataSent = 0;
long dataToSend;