diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-10 02:42:59 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-10 02:42:59 +0300 |
commit | 472cd580a2646d53a86c5bbdce890a3798754200 (patch) | |
tree | 38ff86ae62992e62e43dbfe807312243bed0df76 /src/adlmidi.cpp | |
parent | 0b64e5b1982c4ce09b48c2ac927ace7505d7f3a7 (diff) | |
download | libADLMIDI-472cd580a2646d53a86c5bbdce890a3798754200.tar.gz libADLMIDI-472cd580a2646d53a86c5bbdce890a3798754200.tar.bz2 libADLMIDI-472cd580a2646d53a86c5bbdce890a3798754200.zip |
Small fix of warnings on DJGPP
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r-- | src/adlmidi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 2add51a..e2d2730 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -528,6 +528,7 @@ inline static void SendStereoAudio(MIDIplay::Setup &device, ADLMIDI_EXPORT int adl_play(ADL_MIDIPlayer *device, int sampleCount, short *out) { #ifdef ADLMIDI_HW_OPL + (void)device; (void)sampleCount; (void)out; return 0; #else sampleCount -= sampleCount % 2; //Avoid even sample requests @@ -633,6 +634,7 @@ ADLMIDI_EXPORT int adl_play(ADL_MIDIPlayer *device, int sampleCount, short *out) ADLMIDI_EXPORT int adl_generate(ADL_MIDIPlayer *device, int sampleCount, short *out) { #ifdef ADLMIDI_HW_OPL + (void)device; (void)sampleCount; (void)out; return 0; #else sampleCount -= sampleCount % 2; //Avoid even sample requests |