From 46fffa615b3012a51d6523143a4505b80dcd78d1 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 31 Aug 2020 13:22:42 +0300 Subject: Remove C++ extras All C++ binded features are useless since C-binded real-time MIDI API can completely replace them at all. This was a workaround for ADLMIDI2 tool. --- include/adlmidi.hpp | 56 ----------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 include/adlmidi.hpp (limited to 'include/adlmidi.hpp') diff --git a/include/adlmidi.hpp b/include/adlmidi.hpp deleted file mode 100644 index 0df6dd4..0000000 --- a/include/adlmidi.hpp +++ /dev/null @@ -1,56 +0,0 @@ -/* - * libADLMIDI is a free Software MIDI synthesizer library with OPL3 emulation - * - * Original ADLMIDI code: Copyright (c) 2010-2014 Joel Yliluoma - * ADLMIDI Library API: Copyright (c) 2015-2020 Vitaly Novichkov - * - * Library is based on the ADLMIDI, a MIDI player for Linux and Windows with OPL3 emulation: - * http://iki.fi/bisqwit/source/adlmidi.html - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef ADLMIDI_HPP -#define ADLMIDI_HPP - -#include "adlmidi.h" - -struct ADL_MIDIPlayer; - -class ADLMIDI_DECLSPEC AdlInstrumentTester -{ - struct Impl; - Impl *p; - -public: - explicit AdlInstrumentTester(ADL_MIDIPlayer *device); - virtual ~AdlInstrumentTester(); - - void start(); - - // Find list of adlib instruments that supposedly implement this GM - void FindAdlList(); - void DoNote(int note); - void DoNoteOff(); - void NextGM(int offset); - void NextAdl(int offset); - bool HandleInputChar(char ch); - -private: - AdlInstrumentTester(const AdlInstrumentTester &); - AdlInstrumentTester &operator=(const AdlInstrumentTester &); -}; - -#endif //ADLMIDI_HPP - -- cgit v1.2.3