added decoder_clear() and decoder_flush()

We are now beginning to remove direct structure accesses from the
decoder plugins.  decoder_clear() and decoder_flush() mask two very
common buffer functions.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:05 +02:00
parent ea51f73285
commit 0d45870cea
12 changed files with 35 additions and 22 deletions

View File

@@ -55,4 +55,8 @@ int decoder_data(struct decoder *decoder, InputStream * inStream,
float data_time, mpd_uint16 bitRate,
ReplayGainInfo * replayGainInfo);
void decoder_flush(struct decoder *decoder);
void decoder_clear(struct decoder *decoder);
#endif