diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-07 15:58:04 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-07 15:58:04 +0000 |
commit | 3794126e5609112d68a2e0c9cbae5a923da301b6 (patch) | |
tree | e44ad37c6b27f6f4a52b63c6c1057a860f93ff80 /src/outputBuffer.c | |
parent | 9196023f14acf37ee47ac7798029270476d7d3cb (diff) | |
download | mpd-3794126e5609112d68a2e0c9cbae5a923da301b6.tar.gz mpd-3794126e5609112d68a2e0c9cbae5a923da301b6.tar.xz mpd-3794126e5609112d68a2e0c9cbae5a923da301b6.zip |
new OutputBuffer abstraction stuff, implemented for mp3, now need to
implement in other decoders
git-svn-id: https://svn.musicpd.org/mpd/trunk@940 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r-- | src/outputBuffer.c | 10 |
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; |