Mercurial > hg > svcore
comparison plugin/LADSPAPluginInstance.cpp @ 62:33285f426852
fixed some problems with building the latest revision on the mac
author | Martin Gasser |
---|---|
date | Tue, 28 Mar 2006 23:57:32 +0000 |
parents | 3086ff194ea0 |
children | 7afcfe666910 |
comparison
equal
deleted
inserted
replaced
61:749b5521e082 | 62:33285f426852 |
---|---|
412 | 412 |
413 (*m_controlPortsIn[parameter].second) = value; | 413 (*m_controlPortsIn[parameter].second) = value; |
414 } | 414 } |
415 | 415 |
416 float | 416 float |
417 LADSPAPluginInstance::getControlOutputValue(unsigned int output) const | 417 LADSPAPluginInstance::getControlOutputValue(size_t output) const |
418 { | 418 { |
419 if (output > m_controlPortsOut.size()) return 0.0; | 419 if (output > m_controlPortsOut.size()) return 0.0; |
420 return (*m_controlPortsOut[output].second); | 420 return (*m_controlPortsOut[output].second); |
421 } | 421 } |
422 | 422 |