Logo Search packages:      
Sourcecode: vamp-plugin-sdk version File versions  Download package

void Vamp::PluginHostAdapter::setParameter ( std::string  ,
) [virtual]

Set a named parameter. The first argument is the identifier field from that parameter's descriptor.

Reimplemented from Vamp::PluginBase.

Definition at line 226 of file PluginHostAdapter.cpp.

    if (!m_handle) return;

    for (unsigned int i = 0; i < m_descriptor->parameterCount; ++i) {
        if (param == m_descriptor->parameters[i]->identifier) {
            m_descriptor->setParameter(m_handle, i, value);

Generated by  Doxygen 1.6.0   Back to index