comparison vamp-sdk/Plugin.h @ 190:1982246a3902

* Provide PluginWrapper method for getting hold of a nested wrapper directly (a bit gross, but useful) * Use the above to enable the simple host to adjust timestamps appropriately when printing out results from input domain adapter wrapped plugins
author cannam
date Wed, 17 Sep 2008 13:16:09 +0000
parents 31eda4b11f2b
children d4fbd4e6fdbf
comparison
equal deleted inserted replaced
189:5ce2c3f79a45 190:1982246a3902
376 * Process a single block of input data. 376 * Process a single block of input data.
377 * 377 *
378 * If the plugin's inputDomain is TimeDomain, inputBuffers will 378 * If the plugin's inputDomain is TimeDomain, inputBuffers will
379 * point to one array of floats per input channel, and each of 379 * point to one array of floats per input channel, and each of
380 * these arrays will contain blockSize consecutive audio samples 380 * these arrays will contain blockSize consecutive audio samples
381 * (the host will zero-pad as necessary). The timestamp will be 381 * (the host will zero-pad as necessary). The timestamp in this
382 * the real time in seconds of the start of the supplied block of 382 * case will be the real time in seconds of the start of the
383 * samples. 383 * supplied block of samples.
384 * 384 *
385 * If the plugin's inputDomain is FrequencyDomain, inputBuffers 385 * If the plugin's inputDomain is FrequencyDomain, inputBuffers
386 * will point to one array of floats per input channel, and each 386 * will point to one array of floats per input channel, and each
387 * of these arrays will contain blockSize/2+1 consecutive pairs of 387 * of these arrays will contain blockSize/2+1 consecutive pairs of
388 * real and imaginary component floats corresponding to bins 388 * real and imaginary component floats corresponding to bins