aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-07 19:11:43 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-07 19:11:43 +0000
commitc9f0d22f0ac19dcee7d1991020c75c8a3691b1b7 (patch)
tree9a7a1f0877821c01c808b6e65420e833fa31f263 /src/outputBuffer.h
parent3794126e5609112d68a2e0c9cbae5a923da301b6 (diff)
downloadmpd-c9f0d22f0ac19dcee7d1991020c75c8a3691b1b7.tar.gz
mpd-c9f0d22f0ac19dcee7d1991020c75c8a3691b1b7.tar.xz
mpd-c9f0d22f0ac19dcee7d1991020c75c8a3691b1b7.zip
rewrite outputBuffer'ing abstraction a bit to be more effecient and easier
to interface. Also, use outputBuffer abstraction for ogg git-svn-id: https://svn.musicpd.org/mpd/trunk@941 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index 1a5335df2..00ff6b5bd 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -37,9 +37,10 @@ typedef struct _OutputBuffer {
float totalTime;
} OutputBuffer;
-long sendDataToOutputBuffer(OutputBuffer * cb, DecoderControl * dc,
- int flushAllData, char * data, long datalen, float time,
- mpd_uint16 bitRate);
+void flushOutputBuffer(OutputBuffer * cb);
+
+int sendDataToOutputBuffer(OutputBuffer * cb, DecoderControl * dc,
+ char * data, long datalen, float time, mpd_uint16 bitRate);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */