diff options
Diffstat (limited to 'plugins/ao/eng_dsf/eng_dsf.c')
-rw-r--r-- | plugins/ao/eng_dsf/eng_dsf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/ao/eng_dsf/eng_dsf.c b/plugins/ao/eng_dsf/eng_dsf.c index e0edb383..18109ba0 100644 --- a/plugins/ao/eng_dsf/eng_dsf.c +++ b/plugins/ao/eng_dsf/eng_dsf.c @@ -17,7 +17,9 @@ #include "eng_protos.h" #include "corlett.h" #include "dc_hw.h" +#include "cpuintrf.h" #include "aica.h" +#include "aicadsp.h" #define DEBUG_LOADER (1) #define DK_CORE (1) @@ -35,9 +37,6 @@ typedef struct { struct sARM7 *cpu; } dsf_synth_t; -//void *aica_start(const void *config); -void AICA_Update(void *param, INT16 **inputs, INT16 **buf, int samples); - void *dsf_start(const char *path, uint8 *buffer, uint32 length) { dsf_synth_t *s = malloc (sizeof (dsf_synth_t)); @@ -193,7 +192,7 @@ int32 dsf_gen(void *handle, int16 *buffer, uint32 samples) #endif stereo[0] = &output[opos]; stereo[1] = &output2[opos]; - AICA_Update(NULL, NULL, stereo, 1); + AICA_Update(s->cpu->AICA, NULL, NULL, stereo, 1); opos++; } |