eliminate OUTPUT_BUFFER_DC_STOP, OUTPUT_BUFFER_DC_SEEK

(Ab)use the decoder_command enumeration, which has nearly the same
values and the same meaning.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:07 +02:00
parent 67bf4b448d
commit c7384b65ac
5 changed files with 20 additions and 23 deletions

View File

@@ -125,11 +125,10 @@ void decoder_seek_error(struct decoder * decoder);
* We send inStream for buffering the inputStream while waiting to
* send the next chunk
*/
int decoder_data(struct decoder *decoder, InputStream * inStream,
int seekable,
void *data, size_t datalen,
float data_time, mpd_uint16 bitRate,
ReplayGainInfo * replayGainInfo);
enum decoder_command
decoder_data(struct decoder *decoder, InputStream * inStream, int seekable,
void *data, size_t datalen, float data_time, mpd_uint16 bitRate,
ReplayGainInfo * replayGainInfo);
void decoder_flush(struct decoder *decoder);