XMMS2
xmms_xform_plugin.h
Go to the documentation of this file.
1 /* XMMS2 - X Music Multiplexer System
2  * Copyright (C) 2003-2011 XMMS2 Team
3  *
4  * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  */
16 #ifndef __XMMSPRIV_XFORMPLUGIN_H__
17 #define __XMMSPRIV_XFORMPLUGIN_H__
18 
19 gboolean xmms_xform_plugin_can_init (const xmms_xform_plugin_t *plugin);
20 gboolean xmms_xform_plugin_can_read (const xmms_xform_plugin_t *plugin);
21 gboolean xmms_xform_plugin_can_seek (const xmms_xform_plugin_t *plugin);
22 gboolean xmms_xform_plugin_can_browse (const xmms_xform_plugin_t *plugin);
23 gboolean xmms_xform_plugin_can_destroy (const xmms_xform_plugin_t *plugin);
24 
25 gboolean xmms_xform_plugin_init (const xmms_xform_plugin_t *plugin, xmms_xform_t *xform);
26 gint xmms_xform_plugin_read (const xmms_xform_plugin_t *plugin, xmms_xform_t *xform, xmms_sample_t *buf, gint length, xmms_error_t *error);
27 gint64 xmms_xform_plugin_seek (const xmms_xform_plugin_t *plugin, xmms_xform_t *xform, gint64 offset, xmms_xform_seek_mode_t whence, xmms_error_t *err);
28 gboolean xmms_xform_plugin_browse (const xmms_xform_plugin_t *plugin, xmms_xform_t *xform, const gchar *url, xmms_error_t *error);
30 
31 gboolean xmms_xform_plugin_supports (const xmms_xform_plugin_t *plugin, xmms_stream_type_t *st, gint *priority);
32 
33 #endif