aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/DelayReverb.h
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-26 21:17:53 +0200
committerFilippos Karapetis2012-12-26 21:28:34 +0200
commit5711d23231d2f7baf965b93e1e771c917bdc246f (patch)
treec8df610d944381d152ff45b61fde59b3f3cb5b74 /audio/softsynth/mt32/DelayReverb.h
parent0b72bd2dea0cfea13ab03dc74361aea7ac95c997 (diff)
downloadscummvm-rg350-5711d23231d2f7baf965b93e1e771c917bdc246f.tar.gz
scummvm-rg350-5711d23231d2f7baf965b93e1e771c917bdc246f.tar.bz2
scummvm-rg350-5711d23231d2f7baf965b93e1e771c917bdc246f.zip
MT32: Update the MT32 emulator and adapt to its new API
Previous munt commit was 84b2819 (Dec 22, 2012) Current munt commit is 6afddaf (Dec 23, 2012) This commit also updates the MT32 driver code to the latest munt API
Diffstat (limited to 'audio/softsynth/mt32/DelayReverb.h')
-rw-r--r--audio/softsynth/mt32/DelayReverb.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/softsynth/mt32/DelayReverb.h b/audio/softsynth/mt32/DelayReverb.h
index e967ddc49c..1abb49f128 100644
--- a/audio/softsynth/mt32/DelayReverb.h
+++ b/audio/softsynth/mt32/DelayReverb.h
@@ -25,10 +25,7 @@ private:
Bit8u time;
Bit8u level;
- unsigned int sampleRate;
- Bit32u bufSize;
Bit32u bufIx;
-
float *buf;
Bit32u delayLeft;
@@ -43,7 +40,7 @@ private:
public:
DelayReverb();
~DelayReverb();
- void open(unsigned int sampleRate);
+ void open();
void close();
void setParameters(Bit8u time, Bit8u level);
void process(const float *inLeft, const float *inRight, float *outLeft, float *outRight, unsigned long numSamples);