From eefbc9eb33324e0d0a9f371f0b88ffcce85adb23 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 30 Sep 2018 21:54:41 +0300 Subject: [PATCH 1/3] Minor fix of the public header --- include/adlmidi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/adlmidi.h b/include/adlmidi.h index 2732959a..4b21e25b 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -66,7 +66,7 @@ typedef short ADL_SInt16; #ifdef __clang__ # if __has_extension(attribute_deprecated_with_message) -# define JSONCPP_DEPRECATED(message) __attribute__((deprecated(message))) +# define ADLMIDI_DEPRECATED(message) __attribute__((deprecated(message))) # endif #elif defined __GNUC__ /* not clang (gcc comes later since clang emulates gcc) */ # if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)) From f78312bef17d096636f7888d44c103b777ce443e Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Mon, 1 Oct 2018 03:53:02 +0300 Subject: [PATCH 2/3] Remove useless dllexport from the typedef --- include/adlmidi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/adlmidi.h b/include/adlmidi.h index 4b21e25b..35245877 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -743,7 +743,7 @@ extern ADLMIDI_DECLSPEC int adl_setTrackOptions(struct ADL_MIDIPlayer *device, s * @param trigger Value of the event which triggered this callback. * @param track Identifier of the track which triggered this callback. */ -typedef ADLMIDI_DECLSPEC void (*ADL_TriggerHandler)(void *userData, unsigned trigger, size_t track); +typedef void (*ADL_TriggerHandler)(void *userData, unsigned trigger, size_t track); /** * @brief Defines a handler for callback trigger events From 314cde9fccb603bbd2b36b58dc9b3020c160ac4b Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Mon, 1 Oct 2018 04:02:42 +0300 Subject: [PATCH 3/3] Readme update --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37773aac..e4a694c6 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,14 @@ You need to make in the any IDE a library project and put into it next files ### Internal code (src) * chips/* - Various OPL3 chip emulators and commonized interface over them +* wopl/* - WOPL bank format library * adldata.hh - bank structures definition * adlmidi_private.hpp - header of internal private APIs +* adlmidi_bankmap.h - MIDI bank hash table +* adlmidi_bankmap.tcc - MIDI bank hash table (Implementation) +* adlmidi_cvt.hpp - Instrument conversion template +* adlmidi_ptr.hpp - Custom implementations of smart pointers for C++98 +* file_reader.hpp - Generic file and memory reader * adldata.cpp - Automatically generated database of FM banks from "fm_banks" directory via "gen_adldata" tool. **Don't build it if you have defined `DISABLE_EMBEDDED_BANKS` macro!** * adlmidi.cpp - code of library @@ -160,10 +166,10 @@ To build that example you will need to have installed SDL2 library. # Todo * Check out for XG/GS standards to provide a support to use any channels as percussion and also check some of SysEx commands. -* Add support of MIDI Format 2 files (FL Studio made MIDI-files are wired and opening of those files making lossy of tempo and some meta-information events) +* Add support of MIDI Format 2 files # Changelog -## 1.4.0 +## 1.4.0 2018-10-01 * Implemented a full support for Portamento! (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!) * Added support for SysEx event handling! (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!) * Added support for GS way of custom drum channels (through SysEx events)