Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/hostext/PluginInputDomainAdapter.cpp @ 60:087c16cca0d6 host-factory-stuff
...
author | cannam |
---|---|
date | Fri, 25 May 2007 13:26:59 +0000 |
parents | fa79c4ec847d |
children | 97c5ac99d725 |
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginInputDomainAdapter.cpp Thu May 24 15:17:07 2007 +0000 +++ b/vamp-sdk/hostext/PluginInputDomainAdapter.cpp Fri May 25 13:26:59 2007 +0000 @@ -126,6 +126,10 @@ return m_plugin->process(inputBuffers, timestamp); } + //!!! need to compensate for the fact that the first block is aligned + // with the zero frame but for frequency domain we want it to be + // centred on the zero frame + for (size_t c = 0; c < m_channels; ++c) { for (size_t i = 0; i < m_blockSize; ++i) {