MxMIDIPresenter functions (#204)

* MxMIDIPresenter destructor, stub Destroy for now

* MxMIDIPresenter::EndMIDIAction + update param name

m_MIDIInitialized is definitely public, since it is accessed from the global
MusicManager.

* Add getter for MIDIInitialized, fix virtual function decl

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach
2023-10-14 09:25:53 -04:00
committed by GitHub
parent 7cf85e6f06
commit a814132ab9
3 changed files with 31 additions and 1 deletions

View File

@@ -16,6 +16,8 @@ public:
virtual void SetVolume(MxS32 p_volume) override; // vtable+2c
virtual MxResult StartMIDIThread(MxU32 p_frequencyMS, MxU8 p_noRegister); // vtable+30
inline MxBool GetMIDIInitialized() { return m_MIDIInitialized; }
private:
void Destroy(MxBool p_fromDestructor);
void DeinitializeMIDI();