diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-08-19 00:42:42 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-08-19 00:42:42 +0300 |
commit | 6d4dc0b87bf3a27f0510b63279b17b457821c38c (patch) | |
tree | 9ba55ea32ce2ecbe9f3e112e0d2fc2bbc5bffcaa /include | |
parent | 64496d6a075fa0bdcdd20520a3476970d5146e78 (diff) | |
download | libADLMIDI-6d4dc0b87bf3a27f0510b63279b17b457821c38c.tar.gz libADLMIDI-6d4dc0b87bf3a27f0510b63279b17b457821c38c.tar.bz2 libADLMIDI-6d4dc0b87bf3a27f0510b63279b17b457821c38c.zip |
CPP Extras: Simplify instrument tester
Now it uses internal real-time MIDI API instead of direct deal with banks.
Diffstat (limited to 'include')
-rw-r--r-- | include/adlmidi.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/adlmidi.hpp b/include/adlmidi.hpp index dda9c78..69ee026 100644 --- a/include/adlmidi.hpp +++ b/include/adlmidi.hpp @@ -31,7 +31,7 @@ struct ADL_MIDIPlayer; class ADLMIDI_DECLSPEC AdlInstrumentTester { struct Impl; - Impl *P; + Impl *p; public: explicit AdlInstrumentTester(ADL_MIDIPlayer *device); @@ -39,8 +39,8 @@ public: // Find list of adlib instruments that supposedly implement this GM void FindAdlList(); - void Touch(unsigned c, unsigned volume); void DoNote(int note); + void DoNoteOff(); void NextGM(int offset); void NextAdl(int offset); bool HandleInputChar(char ch); |