comparison src/xmms-sid.c @ 835:d508c7c4bc69

Add libSIDPlay2-FP backend interface module.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Nov 2012 20:47:49 +0200
parents 8f155eca3612
children 29f3c3f29c0d
comparison
equal deleted inserted replaced
834:a7ee5dc23e78 835:d508c7c4bc69
42 42
43 43
44 /* List of emulator engines 44 /* List of emulator engines
45 */ 45 */
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_SIDPLAY2
53 # include "xs_sidplay2.h"
51 #endif 54 #endif
52 55
53 static XSEngine xs_enginelist[] = 56 static XSEngine xs_enginelist[] =
54 { 57 {
55 #ifdef HAVE_SIDPLAY1 58 #ifdef HAVE_SIDPLAY1
70 xs_sidplay2_init, xs_sidplay2_close, 73 xs_sidplay2_init, xs_sidplay2_close,
71 xs_sidplay2_initsong, xs_sidplay2_fillbuffer, 74 xs_sidplay2_initsong, xs_sidplay2_fillbuffer,
72 xs_sidplay2_load, xs_sidplay2_delete, 75 xs_sidplay2_load, xs_sidplay2_delete,
73 xs_sidplay2_getinfo, xs_sidplay2_updateinfo, 76 xs_sidplay2_getinfo, xs_sidplay2_updateinfo,
74 xs_sidplay2_flush 77 xs_sidplay2_flush
78 },
79 #endif
80 #ifdef HAVE_SIDPLAY2_FP
81 {
82 XS_ENG_SIDPLAY2_FP,
83 xs_sidplayfp_probe,
84 xs_sidplayfp_init, xs_sidplayfp_close,
85 xs_sidplayfp_initsong, xs_sidplayfp_fillbuffer,
86 xs_sidplayfp_load, xs_sidplayfp_delete,
87 xs_sidplayfp_getinfo, xs_sidplayfp_updateinfo,
88 xs_sidplayfp_flush
75 }, 89 },
76 #endif 90 #endif
77 }; 91 };
78 92
79 static const gint xs_nenginelist = sizeof(xs_enginelist) / sizeof(xs_enginelist[0]); 93 static const gint xs_nenginelist = sizeof(xs_enginelist) / sizeof(xs_enginelist[0]);