diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-01 01:54:19 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-01 01:54:19 +0300 |
commit | 54f6d97d84a139e559dedf9b94762aceecfa2e73 (patch) | |
tree | 5a4997de68ee947ebfc84ac65a9e33ba6dc0e8a9 | |
parent | 83151b9435c086a93afddc6e25635a80a6142fe8 (diff) | |
download | libADLMIDI-54f6d97d84a139e559dedf9b94762aceecfa2e73.tar.gz libADLMIDI-54f6d97d84a139e559dedf9b94762aceecfa2e73.tar.bz2 libADLMIDI-54f6d97d84a139e559dedf9b94762aceecfa2e73.zip |
Fix the warning on DJGPP with hardware OPL3 mode
-rw-r--r-- | src/adlmidi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 022a07d..c6402e1 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -616,7 +616,7 @@ ADLMIDI_EXPORT void adl_setDebugMessageHook(struct ADL_MIDIPlayer *device, ADL_D play->hooks.onDebugMessage_userData = userData; } - +#ifndef ADLMIDI_HW_OPL template <class Dst> static void CopySamplesRaw(ADL_UInt8 *dstLeft, ADL_UInt8 *dstRight, const int32_t *src, size_t frameCount, unsigned sampleOffset) @@ -748,7 +748,7 @@ static int SendStereoAudio(int samples_requested, return 0; } - +#endif ADLMIDI_EXPORT int adl_play(struct ADL_MIDIPlayer *device, int sampleCount, short *out) { |