27 #ifndef MPD_DECODER_API_HXX 28 #define MPD_DECODER_API_HXX 69 void *buffer,
size_t length);
73 void *buffer,
size_t length)
87 void *buffer,
size_t size);
An interface between the decoder plugin and the MPD core.
size_t decoder_read(DecoderClient *decoder, InputStream &is, void *buffer, size_t length)
Blocking read from the input stream.
Throw an instance of this class to stop decoding the current song (successfully). ...
bool decoder_skip(DecoderClient *decoder, InputStream &is, size_t size)
Skip data on the InputStream.
bool decoder_read_full(DecoderClient *decoder, InputStream &is, void *buffer, size_t size)
Blocking read from the input stream.