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

size_t Vamp::HostExt::PluginWrapper::getPreferredBlockSize (  )  const [virtual]

Get the preferred block size (window size -- the number of sample frames passed in each block to the process() function). This should be called before initialise().

A plugin that can handle any block size may return 0. The final block size will be set in the initialise() call.

Reimplemented from Vamp::Plugin.

Reimplemented in Vamp::HostExt::PluginInputDomainAdapter.

Definition at line 164 of file PluginWrapper.cpp.

References Vamp::Plugin::getPreferredBlockSize().

Referenced by Vamp::HostExt::PluginBufferingAdapter::getPreferredStepSize().

    return m_plugin->getPreferredBlockSize();

Generated by  Doxygen 1.6.0   Back to index