Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
258:96a6dd889c68 | 259:dc46851837d6 |
---|---|
267 std::cerr << "DSSIPluginInstance::getLatency(): m_latencyPort " << m_latencyPort << ", m_run " << m_run << std::endl; | 267 std::cerr << "DSSIPluginInstance::getLatency(): m_latencyPort " << m_latencyPort << ", m_run " << m_run << std::endl; |
268 #endif | 268 #endif |
269 | 269 |
270 if (m_latencyPort) { | 270 if (m_latencyPort) { |
271 if (!m_run) { | 271 if (!m_run) { |
272 for (int i = 0; i < getAudioInputCount(); ++i) { | 272 for (size_t i = 0; i < getAudioInputCount(); ++i) { |
273 for (int j = 0; j < m_blockSize; ++j) { | 273 for (size_t j = 0; j < m_blockSize; ++j) { |
274 m_inputBuffers[i][j] = 0.f; | 274 m_inputBuffers[i][j] = 0.f; |
275 } | 275 } |
276 } | 276 } |
277 run(Vamp::RealTime::zeroTime); | 277 run(Vamp::RealTime::zeroTime); |
278 } | 278 } |
1227 m_groupLocalEventBuffers, | 1227 m_groupLocalEventBuffers, |
1228 counts); | 1228 counts); |
1229 } | 1229 } |
1230 | 1230 |
1231 int | 1231 int |
1232 DSSIPluginInstance::requestMidiSend(LADSPA_Handle instance, | 1232 DSSIPluginInstance::requestMidiSend(LADSPA_Handle /* instance */, |
1233 unsigned char ports, | 1233 unsigned char /* ports */, |
1234 unsigned char channels) | 1234 unsigned char /* channels */) |
1235 { | 1235 { |
1236 // This is called from a non-RT context (during instantiate) | 1236 // This is called from a non-RT context (during instantiate) |
1237 | 1237 |
1238 std::cerr << "DSSIPluginInstance::requestMidiSend" << std::endl; | 1238 std::cerr << "DSSIPluginInstance::requestMidiSend" << std::endl; |
1239 return 1; | 1239 return 1; |
1240 } | 1240 } |
1241 | 1241 |
1242 void | 1242 void |
1243 DSSIPluginInstance::midiSend(LADSPA_Handle instance, | 1243 DSSIPluginInstance::midiSend(LADSPA_Handle /* instance */, |
1244 snd_seq_event_t *events, | 1244 snd_seq_event_t * /* events */, |
1245 unsigned long eventCount) | 1245 unsigned long /* eventCount */) |
1246 { | 1246 { |
1247 // This is likely to be called from an RT context | 1247 // This is likely to be called from an RT context |
1248 | 1248 |
1249 std::cerr << "DSSIPluginInstance::midiSend" << std::endl; | 1249 std::cerr << "DSSIPluginInstance::midiSend" << std::endl; |
1250 } | 1250 } |