X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fspu.c;h=8936e45b9b255cea10d43df52186f0c45826d3f6;hp=804a728833b54e7e2bb2e39d4d60a5a17e668d16;hb=b00afb7734d75d4e625db0263548fa15b9aa0af7;hpb=cfe71c00d61819b76744f7163316d98cc389c91e diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 804a7288..8936e45b 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -245,15 +245,16 @@ INLINE void StartSound(int ch) StartADSR(ch); StartREVERB(ch); - s_chan[ch].pCurr=s_chan[ch].pStart; // set sample start + // fussy timing issues - do in VoiceOn + //s_chan[ch].pCurr=s_chan[ch].pStart; // set sample start + //s_chan[ch].bStop=0; + //s_chan[ch].bOn=1; s_chan[ch].s_1=0; // init mixing vars s_chan[ch].s_2=0; s_chan[ch].iSBPos=28; s_chan[ch].bNew=0; // init channel flags - s_chan[ch].bStop=0; - s_chan[ch].bOn=1; s_chan[ch].SB[29]=0; // init our interpolation helpers s_chan[ch].SB[30]=0; @@ -926,7 +927,7 @@ long CALLBACK SPUinit(void) iSPUIRQWait = 0; lastch = -1; - ReadConfigSPU(); // read user stuff + //ReadConfigSPU(); // read user stuff SetupStreams(); // prepare streaming return 0; @@ -979,7 +980,7 @@ long CALLBACK SPUconfigure(void) #ifdef _MACOSX DoConfiguration(); #else - StartCfgTool("CFG"); +// StartCfgTool("CFG"); #endif return 0; } @@ -990,7 +991,7 @@ void CALLBACK SPUabout(void) #ifdef _MACOSX DoAbout(); #else - StartCfgTool("ABOUT"); +// StartCfgTool("ABOUT"); #endif }