diff vamp-sdk/hostext/PluginChannelAdapter.h @ 197:fe30a25ee4f8

* Add processInterleaved to PluginChannelAdapter
author cannam
date Tue, 07 Oct 2008 21:07:04 +0000
parents 6683f99107cf
children
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginChannelAdapter.h	Tue Oct 07 20:07:17 2008 +0000
+++ b/vamp-sdk/hostext/PluginChannelAdapter.h	Tue Oct 07 21:07:04 2008 +0000
@@ -116,6 +116,17 @@
 
     FeatureSet process(const float *const *inputBuffers, RealTime timestamp);
 
+    /**
+     * Call process(), providing interleaved audio data with the
+     * number of channels passed to initialise().  The adapter will
+     * de-interleave into temporary buffers as appropriate before
+     * calling process().
+     *
+     * \note This function was introduced in version 1.4 of the Vamp
+     * plugin SDK.
+     */
+    FeatureSet processInterleaved(const float *inputBuffer, RealTime timestamp);
+
 protected:
     class Impl;
     Impl *m_impl;