diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-09-01 11:12:02 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-09-01 11:12:02 +0300 |
commit | 884ac1205079f391e124e33e0f5e827873688aae (patch) | |
tree | b9110cbdd332b3f21c8203e6097960a6cd68d1eb /utils/adlmidi-2/midiplay.cc | |
parent | f3c36fd37be2c68ed2f5443cd026ef77af4eb4c7 (diff) | |
download | libADLMIDI-884ac1205079f391e124e33e0f5e827873688aae.tar.gz libADLMIDI-884ac1205079f391e124e33e0f5e827873688aae.tar.bz2 libADLMIDI-884ac1205079f391e124e33e0f5e827873688aae.zip |
ADLMIDI2: Fixed build with disabled embedded banks mode
Diffstat (limited to 'utils/adlmidi-2/midiplay.cc')
-rw-r--r-- | utils/adlmidi-2/midiplay.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/adlmidi-2/midiplay.cc b/utils/adlmidi-2/midiplay.cc index ed62c3d..8a39f2f 100644 --- a/utils/adlmidi-2/midiplay.cc +++ b/utils/adlmidi-2/midiplay.cc @@ -1357,7 +1357,7 @@ AdlInstrumentTester::AdlInstrumentTester(ADL_MIDIPlayer *device) p->cur_note = -1; p->device = device; #else - ADL_UNUSED(device); + (void)(device); #endif } @@ -1387,7 +1387,7 @@ void AdlInstrumentTester::DoNote(int note) adl_rt_noteOn(p->device, p->play_chan, note, 127); p->cur_note = note; #else - ADL_UNUSED(note); + (void)(note); #endif } @@ -1417,7 +1417,7 @@ void AdlInstrumentTester::NextGM(int offset) printIntst(); #else - ADL_UNUSED(offset); + (void)(offset); #endif } @@ -1451,7 +1451,7 @@ void AdlInstrumentTester::NextAdl(int offset) printIntst(); #else - ADL_UNUSED(offset); + (void)(offset); #endif } @@ -1501,7 +1501,7 @@ bool AdlInstrumentTester::HandleInputChar(char ch) DoNote((int)(p - notes) + 48); } #else - ADL_UNUSED(ch); + (void)(ch); #endif return true; } |