Clear running state var in MIDI constructor
This commit is contained in:
1 parent
c5f0930b03
commit
fe21f08e99
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user