diff vamp-sdk/hostext/PluginBufferingAdapter.h @ 133:92ca8e401044

* PluginBufferingAdapter: Rewrite OneSamplePerStep to FixedSampleRate, not VariableSampleRate (so result is still dense); do not change FixedSampleRate to VariableSampleRate either; do not do the work of rewriting outputs that don't need to be rewritten
author cannam
date Thu, 20 Mar 2008 13:22:02 +0000
parents 08d8c8ee6097
children af8e59f43d1d
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginBufferingAdapter.h	Thu Mar 20 13:16:04 2008 +0000
+++ b/vamp-sdk/hostext/PluginBufferingAdapter.h	Thu Mar 20 13:22:02 2008 +0000
@@ -58,11 +58,11 @@
  * stepSize should be equal to the blockSize.
  *
  * If the internal step size used for the plugin differs from that
- * supplied by the host, the adapter will modify the sample rate
- * specifications for the plugin outputs (setting them all to
- * VariableSampleRate) and set timestamps on the output features for
- * outputs that formerly used a different sample rate specification.
- * This is necessary in order to obtain correct time stamping.
+ * supplied by the host, the adapter will modify the sample type and
+ * rate specifications for the plugin outputs appropriately, and set
+ * timestamps on the output features for outputs that formerly used a
+ * different sample rate specification.  This is necessary in order to
+ * obtain correct time stamping.
  * 
  * In other respects, the PluginBufferingAdapter behaves identically
  * to the plugin that it wraps. The wrapped plugin will be deleted