From 00e1ac1cfb5dae59830fecab1fd33624a1cfee62 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Fri, 4 Sep 2009 22:39:21 +0000 Subject: [PATCH] SPU2-X: Fixe the dsp (winamp plugin) crashes. Thanks to Gigaherz for this one, too :p git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1739 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/SndOut.cpp | 4 +--- plugins/spu2-x/src/SndOut.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/spu2-x/src/SndOut.cpp b/plugins/spu2-x/src/SndOut.cpp index 0fcb169080..33ada97d10 100644 --- a/plugins/spu2-x/src/SndOut.cpp +++ b/plugins/spu2-x/src/SndOut.cpp @@ -296,7 +296,6 @@ void SndBuffer::Cleanup() } int SndBuffer::m_dsp_progress = 0; -int SndBuffer::m_dsp_writepos = 0; int SndBuffer::m_timestretch_progress = 0; int SndBuffer::ssFreeze = 0; @@ -333,7 +332,7 @@ void SndBuffer::Write( const StereoOut32& Sample ) { // Convert in, send to winamp DSP, and convert out. - for( int i=0; iConfigure(parent); } - diff --git a/plugins/spu2-x/src/SndOut.h b/plugins/spu2-x/src/SndOut.h index e4d4d1a89c..2c3e26e9f9 100644 --- a/plugins/spu2-x/src/SndOut.h +++ b/plugins/spu2-x/src/SndOut.h @@ -355,7 +355,6 @@ private: static int sndTempProgress; static int m_dsp_progress; - static int m_dsp_writepos; static int m_timestretch_progress; static int m_timestretch_writepos;