diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-12 21:41:34 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-12 21:51:54 +0100 |
commit | 131ad1a8f9aeebee3a7560e09c73cdbba8573feb (patch) | |
tree | 78fbe4d0dc0cb8d6eaf8799d53b6ecb748ad3155 /plugins/sid/csid.h | |
parent | 9ae08cc0f9bed7a62801e2526537fcffe14e53a9 (diff) |
sid player is now real plugin (dynamically loaded)
ported sid code to new API
moved to different md5 library
added more md5 functions to plugin API
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 |