aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.cpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-10 02:42:59 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-10 02:42:59 +0300
commit472cd580a2646d53a86c5bbdce890a3798754200 (patch)
tree38ff86ae62992e62e43dbfe807312243bed0df76 /src/adlmidi.cpp
parent0b64e5b1982c4ce09b48c2ac927ace7505d7f3a7 (diff)
downloadlibADLMIDI-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.cpp2
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