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

bool Vamp::PluginHostAdapter::initialise ( size_t  inputChannels,
size_t  stepSize,
size_t  blockSize 
) [virtual]

Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).

The input sample rate should have been already specified at construction time.

Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported.

Implements Vamp::Plugin.

Definition at line 117 of file PluginHostAdapter.cpp.

    if (!m_handle) return false;
    return m_descriptor->initialise(m_handle, channels, stepSize, blockSize) ?
        true : false;

Generated by  Doxygen 1.6.0   Back to index