aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2020-08-30 14:00:15 +0200
committerGitHub <noreply@github.com>2020-08-30 14:00:15 +0200
commit82fa5cb3e0859942fc6b353a3138aae8c10520a3 (patch)
tree28e99c08b430742c719f6b9bda236d29b650ffd8 /src/adlmidi_private.hpp
parent678be9ff7eb835087a426684a24f0e0172c9178d (diff)
parent6223286c01b83748f5c92cd21612e9eecc3d7525 (diff)
downloadlibADLMIDI-82fa5cb3e0859942fc6b353a3138aae8c10520a3.tar.gz
libADLMIDI-82fa5cb3e0859942fc6b353a3138aae8c10520a3.tar.bz2
libADLMIDI-82fa5cb3e0859942fc6b353a3138aae8c10520a3.zip
Merge pull request #232 from Wohlstand/wip-new-embedded-banks
Brand new embedded banks database format
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r--src/adlmidi_private.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 152ac33..2d47ade 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -146,6 +146,7 @@ class OPLChipBase;
typedef class OPL3 Synth;
#include "adldata.hh"
+#include "adlmidi_db.h"
#define ADLMIDI_BUILD
#include "adlmidi.h" //Main API
@@ -230,4 +231,8 @@ extern void adl_audioTickHandler(void *instance, uint32_t chipId, uint32_t rate)
*/
extern int adlCalculateFourOpChannels(MIDIplay *play, bool silent = false);
+#ifndef DISABLE_EMBEDDED_BANKS
+extern void adlFromInstrument(const BanksDump::InstrumentEntry &instIn, adlinsdata2 &instOut);
+#endif
+
#endif // ADLMIDI_PRIVATE_HPP