aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:07 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:07 +0200
commitc7384b65ac422e1dd5eadcb06b74931de37a6f58 (patch)
treebec4ca1f705b4920ff983f21c5a73fd71911c24e /src/decoder_api.h
parent67bf4b448dad25f2f0c60451f53fcacb0a0bde15 (diff)
downloadmpd-c7384b65ac422e1dd5eadcb06b74931de37a6f58.tar.gz
mpd-c7384b65ac422e1dd5eadcb06b74931de37a6f58.tar.xz
mpd-c7384b65ac422e1dd5eadcb06b74931de37a6f58.zip
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.
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index c73066913..bb8517227 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -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);