Mercurial > hg > xmms-sid
comparison src/xmms-sid.c @ 200:ec8b735f5418
Support for libNanoSID dropped.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 19 Aug 2004 19:06:02 +0000 |
parents | 2422fb451db1 |
children | fe684a2ccdc7 |
comparison
equal
deleted
inserted
replaced
199:6117c326cc3e | 200:ec8b735f5418 |
---|---|
46 #ifdef HAVE_SIDPLAY1 | 46 #ifdef HAVE_SIDPLAY1 |
47 #include "xs_sidplay1.h" | 47 #include "xs_sidplay1.h" |
48 #endif | 48 #endif |
49 #ifdef HAVE_SIDPLAY2 | 49 #ifdef HAVE_SIDPLAY2 |
50 #include "xs_sidplay2.h" | 50 #include "xs_sidplay2.h" |
51 #endif | |
52 #ifdef HAVE_NANOSID | |
53 #include "xs_nanosid.h" | |
54 #endif | 51 #endif |
55 | 52 |
56 | 53 |
57 /* | 54 /* |
58 * Structure defining methods/functions of each player | 55 * Structure defining methods/functions of each player |
90 xs_sidplay2_initsong, xs_sidplay2_fillbuffer, | 87 xs_sidplay2_initsong, xs_sidplay2_fillbuffer, |
91 xs_sidplay2_loadsid, xs_sidplay2_deletesid, | 88 xs_sidplay2_loadsid, xs_sidplay2_deletesid, |
92 xs_sidplay2_getsidinfo | 89 xs_sidplay2_getsidinfo |
93 }, | 90 }, |
94 #endif | 91 #endif |
95 #ifdef HAVE_NANOSID | |
96 { XS_ENG_NANOSID, | |
97 xs_nanosid_isourfile, | |
98 xs_nanosid_init, xs_nanosid_close, | |
99 xs_nanosid_initsong, xs_nanosid_fillbuffer, | |
100 xs_nanosid_loadsid, xs_nanosid_deletesid, | |
101 xs_nanosid_getsidinfo | |
102 }, | |
103 #endif | |
104 }; | 92 }; |
105 | 93 |
106 const gint xs_nplayerlist = (sizeof(xs_playerlist) / sizeof(t_xs_player)); | 94 const gint xs_nplayerlist = (sizeof(xs_playerlist) / sizeof(t_xs_player)); |
107 | 95 |
108 | 96 |
261 if (!strcasecmp(pcExt, "psid")) return TRUE; | 249 if (!strcasecmp(pcExt, "psid")) return TRUE; |
262 if (!strcasecmp(pcExt, "sid")) return TRUE; | 250 if (!strcasecmp(pcExt, "sid")) return TRUE; |
263 if (!strcasecmp(pcExt, "dat")) return TRUE; | 251 if (!strcasecmp(pcExt, "dat")) return TRUE; |
264 if (!strcasecmp(pcExt, "inf")) return TRUE; | 252 if (!strcasecmp(pcExt, "inf")) return TRUE; |
265 if (!strcasecmp(pcExt, "info")) return TRUE; | 253 if (!strcasecmp(pcExt, "info")) return TRUE; |
266 break; | |
267 | |
268 case XS_ENG_NANOSID: | |
269 if (!strcasecmp(pcExt, "zsid")) return TRUE; | |
270 break; | 254 break; |
271 } | 255 } |
272 } | 256 } |
273 | 257 |
274 return FALSE; | 258 return FALSE; |