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

PluginHostAdapter::ProgramList Vamp::PluginHostAdapter::getPrograms (  )  const [virtual]

Get the program settings available in this plugin. A program is a named shorthand for a set of parameter values; changing the program may cause the plugin to alter the values of its published parameters (and/or non-public internal processing parameters). The host should re-read the plugin's parameter values after setting a new program.

The programs must have unique names.

Reimplemented from Vamp::PluginBase.

Definition at line 240 of file PluginHostAdapter.cpp.

{
    ProgramList list;
    
    for (unsigned int i = 0; i < m_descriptor->programCount; ++i) {
        list.push_back(m_descriptor->programs[i]);
    }
    
    return list;
}


Generated by  Doxygen 1.6.0   Back to index