aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-10-01 04:02:58 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-10-01 04:02:58 +0300
commit8f7600106c13535be4f90970378b73bda4f42165 (patch)
tree0e70115d0e506d64b1e5d6abab054019c7e78bbb
parent299f4614cf77862c3f20b6b95c56c91102d1e27a (diff)
parent314cde9fccb603bbd2b36b58dc9b3020c160ac4b (diff)
downloadlibADLMIDI-8f7600106c13535be4f90970378b73bda4f42165.tar.gz
libADLMIDI-8f7600106c13535be4f90970378b73bda4f42165.tar.bz2
libADLMIDI-8f7600106c13535be4f90970378b73bda4f42165.zip
Merge branch 'master' into stable
-rw-r--r--README.md10
-rw-r--r--include/adlmidi.h4
2 files changed, 10 insertions, 4 deletions
diff --git a/README.md b/README.md
index 37773aa..e4a694c 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 <dev>
+## 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)
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 2732959..3524587 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))
@@ -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