From 472cd580a2646d53a86c5bbdce890a3798754200 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Fri, 10 Nov 2017 02:42:59 +0300 Subject: Small fix of warnings on DJGPP --- src/adlmidi.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3