diff plugin/DSSIPluginInstance.cpp @ 259:dc46851837d6

* Fix many compile warnings, remove some debug output
author Chris Cannam
date Mon, 30 Apr 2007 13:36:23 +0000
parents 2f7d27648806
children ca3b91119482
line wrap: on
line diff
--- a/plugin/DSSIPluginInstance.cpp	Mon Apr 30 09:07:42 2007 +0000
+++ b/plugin/DSSIPluginInstance.cpp	Mon Apr 30 13:36:23 2007 +0000
@@ -269,8 +269,8 @@
 
     if (m_latencyPort) {
 	if (!m_run) {
-            for (int i = 0; i < getAudioInputCount(); ++i) {
-                for (int j = 0; j < m_blockSize; ++j) {
+            for (size_t i = 0; i < getAudioInputCount(); ++i) {
+                for (size_t j = 0; j < m_blockSize; ++j) {
                     m_inputBuffers[i][j] = 0.f;
                 }
             }
@@ -1229,9 +1229,9 @@
 }
 
 int
-DSSIPluginInstance::requestMidiSend(LADSPA_Handle instance,
-				    unsigned char ports,
-				    unsigned char channels)
+DSSIPluginInstance::requestMidiSend(LADSPA_Handle /* instance */,
+				    unsigned char /* ports */,
+				    unsigned char /* channels */)
 {
     // This is called from a non-RT context (during instantiate)
 
@@ -1240,9 +1240,9 @@
 }
 
 void
-DSSIPluginInstance::midiSend(LADSPA_Handle instance,
-			     snd_seq_event_t *events,
-			     unsigned long eventCount)
+DSSIPluginInstance::midiSend(LADSPA_Handle /* instance */,
+			     snd_seq_event_t * /* events */,
+			     unsigned long /* eventCount */)
 {
     // This is likely to be called from an RT context