zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 70b7577e451afb310b3f55f5e69edc4fa8864daf
parent 6babf69e5fa9e1eb90d19e374a529c2837959267
Author: fundamental <[email protected]>
Date:   Fri, 12 Mar 2010 14:14:16 -0500

Nio: Warning Cleanup

Diffstat:
Msrc/Nio/JackEngine.cpp | 4++--
Msrc/Nio/OutMgr.cpp | 2+-
Msrc/Nio/WavEngine.h | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Nio/JackEngine.cpp b/src/Nio/JackEngine.cpp @@ -268,7 +268,7 @@ bool JackEngine::processAudio(jack_nframes_t nframes) } -int JackEngine::_xrunCallback(void *arg) +int JackEngine::_xrunCallback(void * /*/arg*/) { cerr << "Jack reports xrun" << endl; return 0; @@ -304,7 +304,7 @@ void JackEngine::handleMidi(unsigned long frames) jack_midi_event_t jack_midi_event; jack_nframes_t event_index = 0; unsigned char *midi_data; - unsigned char type, chan; + unsigned char type; while(jack_midi_event_get(&jack_midi_event, midi_buf, event_index++) == 0) { diff --git a/src/Nio/OutMgr.cpp b/src/Nio/OutMgr.cpp @@ -101,7 +101,7 @@ string OutMgr::getDriver() const return "ERROR"; } -bool OutMgr::setDriver(string name) +bool OutMgr::setDriver(string /*name*/) { return false; } diff --git a/src/Nio/WavEngine.h b/src/Nio/WavEngine.h @@ -38,7 +38,7 @@ class WavEngine: public AudioOut bool Start(); void Stop(); - void setAudioEn(bool nval){}; + void setAudioEn(bool /*nval*/){}; bool getAudioEn() const{return true;}; protected: