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

bool Vamp::HostExt::PluginWrapper::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.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::HostExt::PluginChannelAdapter, and Vamp::HostExt::PluginInputDomainAdapter.

Definition at line 62 of file PluginWrapper.cpp.

References Vamp::Plugin::initialise().

{
    return m_plugin->initialise(channels, stepSize, blockSize);
}


Generated by  Doxygen 1.6.0   Back to index