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
This commit is contained in:
Warren Dukes
2004-05-07 19:11:43 +00:00
parent 3794126e56
commit c9f0d22f0a
4 changed files with 64 additions and 64 deletions
+4 -3
View File
@@ -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: */