comparison plugin/LADSPAPluginInstance.cpp @ 980:6e6da0636e5e tonioni

Merge from default branch
author Chris Cannam
date Tue, 09 Sep 2014 16:36:21 +0100
parents 7aa9088e9bcd
children b14064bd1f97
comparison
equal deleted inserted replaced
954:35b05cac32d0 980:6e6da0636e5e
121 LADSPAPluginInstance::ParameterList 121 LADSPAPluginInstance::ParameterList
122 LADSPAPluginInstance::getParameterDescriptors() const 122 LADSPAPluginInstance::getParameterDescriptors() const
123 { 123 {
124 ParameterList list; 124 ParameterList list;
125 LADSPAPluginFactory *f = dynamic_cast<LADSPAPluginFactory *>(m_factory); 125 LADSPAPluginFactory *f = dynamic_cast<LADSPAPluginFactory *>(m_factory);
126 if (!f) return list;
126 127
127 for (unsigned int i = 0; i < m_controlPortsIn.size(); ++i) { 128 for (unsigned int i = 0; i < m_controlPortsIn.size(); ++i) {
128 129
129 ParameterDescriptor pd; 130 ParameterDescriptor pd;
130 unsigned int pn = m_controlPortsIn[i].first; 131 unsigned int pn = m_controlPortsIn[i].first;