X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fspu.c;h=804a728833b54e7e2bb2e39d4d60a5a17e668d16;hp=c086c06bf1d71c290465d14f440e65aa956cfb59;hb=7c49c8a2a0cd00c453425b0f88c7b117223c92f4;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index c086c06b..804a7288 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -441,7 +441,7 @@ INLINE int iGetInterpolationVal(int ch) static void *MAINThread(void *arg) { int s_1,s_2,fa,ns; -#ifndef _MACOSX +#if !defined(_MACOSX) && !defined(__arm__) int voldiv = iVolume; #else const int voldiv = 2; @@ -923,10 +923,10 @@ long CALLBACK SPUinit(void) pMixIrq = 0; memset((void *)s_chan, 0, (MAXCHAN + 1) * sizeof(SPUCHAN)); pSpuIrq = 0; - iSPUIRQWait = 1; + iSPUIRQWait = 0; lastch = -1; - ReadConfig(); // read user stuff + ReadConfigSPU(); // read user stuff SetupStreams(); // prepare streaming return 0; @@ -1008,6 +1008,7 @@ void CALLBACK SPUregisterCDDAVolume(void (CALLBACK *CDDAVcallback)(unsigned shor } // COMMON PLUGIN INFO FUNCS +/* char * CALLBACK PSEgetLibName(void) { return _(libraryName); @@ -1027,3 +1028,4 @@ char * SPUgetLibInfos(void) { return _(libraryInfo); } +*/