From d45218b13e0416a72df5ba757d81c66e1481917a Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 6 Nov 2017 03:09:38 +0300 Subject: Added adapted original ADLMIDI as user of libADLMIDI code This is almost same ADLMIDI as was originally, except of case it no more contains MIDI playing code and directly uses libADLMIDI to process same stuff as originally. However, Instrument Tester feature requires direct access to private OPL3 class, therefore a public API that grands access to data of that class is needed. --- utils/adlmidi-2/adlmidi-2.pro | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 utils/adlmidi-2/adlmidi-2.pro (limited to 'utils/adlmidi-2/adlmidi-2.pro') diff --git a/utils/adlmidi-2/adlmidi-2.pro b/utils/adlmidi-2/adlmidi-2.pro new file mode 100644 index 0000000..9c5df16 --- /dev/null +++ b/utils/adlmidi-2/adlmidi-2.pro @@ -0,0 +1,58 @@ +TEMPLATE=app +CONFIG-=qt +CONFIG+=console + +CONFIG -= c++11 + +TARGET = adlmidi2 +DESTDIR=$$PWD/../../bin/ + +#INCLUDEPATH += $$PWD/AudioCodecs/build/install/include +#LIBS += -L$$PWD/AudioCodecs/build/install/lib +INCLUDEPATH += $$PWD/../../src $$PWD/../../include +#LIBS += -Wl,-Bstatic -lSDL2 -Wl,-Bdynamic -lpthread -ldl +LIBS += -lSDL2 -lpthread -ldl + +#DEFINES += DEBUG_TIME_CALCULATION +#DEFINES += DEBUG_SEEKING_TEST +#DEFINES += DISABLE_EMBEDDED_BANKS +#DEFINES += ADLMIDI_USE_DOSBOX_OPL +#DEFINES += ENABLE_BEGIN_SILENCE_SKIPPING +#DEFINES += DEBUG_TRACE_ALL_EVENTS + +QMAKE_CFLAGS += -std=c90 -pedantic +QMAKE_CXXFLAGS += -std=c++98 -pedantic + +HEADERS += \ + $$PWD/../../include/adlmidi.h \ + $$PWD/../../src/adlbank.h \ + $$PWD/../../src/adldata.hh \ + $$PWD/../../src/adlmidi_mus2mid.h \ + $$PWD/../../src/adlmidi_private.hpp \ + $$PWD/../../src/adlmidi_xmi2mid.h \ + $$PWD/../../src/fraction.h \ + $$PWD/../../src/nukedopl3.h \ + $$PWD/../../src/dbopl.h \ + $$PWD/../../src/midiplay/wave_writer.h \ + 6x9.hpp \ + 8x16.hpp \ + 9x15.hpp \ + puzzlegame.hpp + +SOURCES += \ + $$PWD/../../src/adldata.cpp \ + \ + $$PWD/../../src/adlmidi.cpp \ + $$PWD/../../src/adlmidi_load.cpp \ + $$PWD/../../src/adlmidi_midiplay.cpp \ + $$PWD/../../src/adlmidi_mus2mid.c \ + $$PWD/../../src/adlmidi_opl3.cpp \ + $$PWD/../../src/adlmidi_private.cpp \ + $$PWD/../../src/adlmidi_xmi2mid.c \ + $$PWD/../../src/nukedopl3.c \ + $$PWD/../../src/dbopl.cpp \ + #$$PWD/../../utils/midiplay/adlmidiplay.cpp \ + #$$PWD/../../utils/midiplay/wave_writer.c \ + midiplay.cc + + -- cgit v1.2.3