diff options
Diffstat (limited to 'plugins/sid/csid.h')
-rw-r--r-- | plugins/sid/csid.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/sid/csid.h b/plugins/sid/csid.h new file mode 100644 index 00000000..8ef8ecc5 --- /dev/null +++ b/plugins/sid/csid.h @@ -0,0 +1,39 @@ +/* + DeaDBeeF - ultimate music player for GNU/Linux systems with X11 + Copyright (C) 2009-2010 Alexey Yakovenko <waker@users.sourceforge.net> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __CSID_H +#define __CSID_H + +#ifdef __cplusplus +extern "C" { +#endif + +DB_fileinfo_t *csid_init (DB_playItem_t *it); +void csid_free (DB_fileinfo_t *); +int csid_read (DB_fileinfo_t *, char *bytes, int size); +int csid_seek (DB_fileinfo_t *, float time); +DB_playItem_t *csid_insert (DB_playItem_t *after, const char *fname); +int csid_numvoices (DB_fileinfo_t *); +void csid_mutevoice (DB_fileinfo_t *, int voice, int mute); +int csid_stop (void); + +#ifdef __cplusplus +} +#endif + +#endif |