aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_load.cpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-04-20 00:28:09 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-04-20 00:28:09 +0300
commitcfacf50fc1422d88b169d02cfaf48dd8529e5a76 (patch)
treec203374b80142888f5e96a5be70505f0313e17ad /src/adlmidi_load.cpp
parent558cd429dbef266d94ef789efa6514fc9d531b95 (diff)
downloadlibADLMIDI-cfacf50fc1422d88b169d02cfaf48dd8529e5a76.tar.gz
libADLMIDI-cfacf50fc1422d88b169d02cfaf48dd8529e5a76.tar.bz2
libADLMIDI-cfacf50fc1422d88b169d02cfaf48dd8529e5a76.zip
Put some another functions into "ADLMIDI_DISABLE_MIDI_SEQUENCER" zone
Those functions are dead out of disabled MIDI Sequencer code, so, there are must NOT appear in the library when MIDI Sequencer is disabled.
Diffstat (limited to 'src/adlmidi_load.cpp')
-rw-r--r--src/adlmidi_load.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp
index 77e6f69..f87b547 100644
--- a/src/adlmidi_load.cpp
+++ b/src/adlmidi_load.cpp
@@ -32,6 +32,7 @@
# endif//XMI
#endif //ADLMIDI_DISABLE_MIDI_SEQUENCER
+#ifndef ADLMIDI_DISABLE_MIDI_SEQUENCER
uint64_t MIDIplay::ReadBEint(const void *buffer, size_t nbytes)
{
uint64_t result = 0;
@@ -54,6 +55,8 @@ uint64_t MIDIplay::ReadLEint(const void *buffer, size_t nbytes)
return result;
}
+#endif
+
bool MIDIplay::LoadBank(const std::string &filename)
{
fileReader file;