summaryrefslogtreecommitdiff
path: root/src/input_plugin.h
AgeCommit message (Collapse)Author
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann
2011-09-16input_stream: non-blocking I/OMax Kellermann
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-09-16input_plugin: add method check()Max Kellermann
To check for errors without reading. The decoder thread wants to do that, before it passes the input stream to the plugin.
2011-09-14input_plugin: add method update()Max Kellermann
Update the struct attributes, important for facades like the "rewind" plugin. To replace buffer().
2011-03-31fix common misspellingsJonathan Neuschäfer
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-01-29copyright year 2011Max Kellermann
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
2009-12-31Update copyright notices.Avuton Olrich
2009-12-15input_stream: return errors with GErrorMax Kellermann
2009-12-14input_plugin: method init() returns errors with GErrorMax Kellermann
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
2009-10-11input_stream: use "goffset" instead of "off_t"Max Kellermann
The "off_t" type may change when you enable or disable large file support on 32 bit platforms. This caused severe ABI problems within MPD when we enabled LFS for the first time: two sources included config.h and sys/types.h in different order, and had different off_t sizes - leading to memory corruption because of ABI incompatibility. This patch attempts to get rid of all public "off_t" uses: it removes "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit "goffset" type. This may hurt 32 bit embedded platforms a tiny bit, but that's not even measurable.
2009-03-13all: Update copyright header.Avuton Olrich
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-03-02input: pass config_param to input_plugin.init()Max Kellermann
Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
2009-03-02input_plugin: added methods init(), finish()Max Kellermann
Instead of hard-coding the plugin global initialization in input_stream_global_init(), make it walk the plugin list and initialize all plugins.
2009-03-02input_stream: moved struct input_plugin to input_plugin.hMax Kellermann
Start to separate private from public input_stream API.
2004-05-30start to implement inputPlugin interfaceWarren Dukes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1242 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30include proper headers for input_pluginWarren Dukes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1241 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30input plugin header stuffWarren Dukes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1234 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30input plugin shemeWarren Dukes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1233 09075e82-0dd4-0310-85a5-a0d7c8717e4f