Skip to content

Commit 1cc9161

Browse files
committed
Fixed crash when using resampler_quality = none
Thanks to @nswaldman for quickly reporting this bug.
1 parent 6716272 commit 1cc9161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mt32synth.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ CMT32SynthBase::CMT32SynthBase(unsigned pSampleRate, ResamplerQuality pResampler
4141

4242
mSampleRate(pSampleRate),
4343
mResamplerQuality(pResamplerQuality),
44+
mSampleRateConverter(nullptr),
4445

4546
#ifdef BAKE_MT32_ROMS
4647
mControlFile(MT32_CONTROL_ROM, MT32_CONTROL_ROM_len),

0 commit comments

Comments
 (0)