diff options
Diffstat (limited to 'plugins/dfsound/xa.c')
-rw-r--r-- | plugins/dfsound/xa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index e58bca2..4c016aa 100644 --- a/plugins/dfsound/xa.c +++ b/plugins/dfsound/xa.c @@ -56,7 +56,7 @@ static int gauss_window[8] = {0, 0, 0, 0, 0, 0, 0, 0}; // MIX XA & CDDA //////////////////////////////////////////////////////////////////////// -INLINE void MixXA(void) +INLINE void MixXA(int ns_to) { int ns; short l, r; @@ -69,7 +69,7 @@ INLINE void MixXA(void) XARepeat--; v = XALastVal; - for(ns=0;ns<NSSIZE*2;) + for(ns = 0; ns < ns_to*2; ) { if(XAPlay != XAFeed) v=*XAPlay++; if(XAPlay == XAEnd) XAPlay=XAStart; @@ -86,7 +86,7 @@ INLINE void MixXA(void) XALastVal = v; } - for(ns=0;ns<NSSIZE*2 && CDDAPlay!=CDDAFeed && (CDDAPlay!=CDDAEnd-1||CDDAFeed!=CDDAStart);) + for(ns = 0; ns < ns_to * 2 && CDDAPlay!=CDDAFeed && (CDDAPlay!=CDDAEnd-1||CDDAFeed!=CDDAStart);) { v=*CDDAPlay++; if(CDDAPlay==CDDAEnd) CDDAPlay=CDDAStart; |