aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_internal.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added flag "decoder.seeking"Max Kellermann2008-08-261-0/+2
| | | | | | | | | | This flag is used internally; it is set by decoder_seek_where(), and indicates that the decoder plugin has begun the seek process. It is used for the case that the decoder plugin has to read data during the seek process. Before this patch, that was impossible, because decoder_read() would refuse to read data unless dc->command is NONE. This patch is kind of a dirty workaround, and needs to be redesigned later.
* renamed InputPlugin to struct decoder_pluginMax Kellermann2008-08-261-1/+1
| | | | | | "decoder plugin" is a better name than "input plugin", since the plugin does not actually do the input - InputStream does. Also don't use typedef, so we can forward-declare it if required.
* moved convState to struct decoderMax Kellermann2008-08-261-0/+3
| | | | | | Since we moved all PCM conversions to decoder_data(), the attribute convState isn't being used anymore by the OutputBuffer code. Move it to struct decoder.
* added struct decoderMax Kellermann2008-08-261-0/+28
The decoder struct should later be made opaque to the decoder plugin, because maintaining a stable struct ABI is quite difficult. The ABI should only consist of a small number of stable functions.