Clear running state var in MIDI constructor

This commit is contained in:
Earle F. Philhower, III committed 2020-08-07 21:32:32 -07:00
1 parent c5f0930b03
commit fe21f08e99
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@
class AudioGeneratorMIDI : public AudioGenerator
{
public:
AudioGeneratorMIDI() { freq=44100; };
AudioGeneratorMIDI() { freq=44100; running = false; };
virtual ~AudioGeneratorMIDI() override {};
bool SetSoundfont(AudioFileSource *newsf2) {
if (isRunning()) return false;