From 6d4dc0b87bf3a27f0510b63279b17b457821c38c Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 19 Aug 2020 00:42:42 +0300 Subject: CPP Extras: Simplify instrument tester Now it uses internal real-time MIDI API instead of direct deal with banks. --- include/adlmidi.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/adlmidi.hpp') 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); -- cgit v1.2.3