# HG changeset patch # User cannam # Date 1180099619 0 # Node ID 087c16cca0d62a7c2db953e826dac7921bdf2a44 # Parent fa79c4ec847db45f7d600276d045ca45471854d2 ... diff -r fa79c4ec847d -r 087c16cca0d6 vamp-sdk/hostext/PluginInputDomainAdapter.cpp --- 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) { diff -r fa79c4ec847d -r 087c16cca0d6 vamp-sdk/hostext/PluginLoader.h --- a/vamp-sdk/hostext/PluginLoader.h Thu May 24 15:17:07 2007 +0000 +++ b/vamp-sdk/hostext/PluginLoader.h Fri May 25 13:26:59 2007 +0000 @@ -55,9 +55,10 @@ static PluginLoader *getInstance(); typedef std::string PluginKey; + typedef std::vector PluginKeyList; typedef std::vector PluginCategoryHierarchy; - std::vector listPlugins(); //!!! pass in version number? + PluginKeyList listPlugins(); //!!! pass in version number? PluginKey composePluginKey(std::string libraryName, std::string identifier); diff -r fa79c4ec847d -r 087c16cca0d6 vamp-sdk/vamp-hostsdk.pc.in --- a/vamp-sdk/vamp-hostsdk.pc.in Thu May 24 15:17:07 2007 +0000 +++ b/vamp-sdk/vamp-hostsdk.pc.in Fri May 25 13:26:59 2007 +0000 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: vamp-hostsdk -Version: 1.0.0 +Version: 1.1.0 Description: Development library for Vamp audio analysis plugin hosts Libs: -L${libdir} -lvamp-hostsdk Cflags: -I${includedir} diff -r fa79c4ec847d -r 087c16cca0d6 vamp-sdk/vamp-sdk.pc.in --- a/vamp-sdk/vamp-sdk.pc.in Thu May 24 15:17:07 2007 +0000 +++ b/vamp-sdk/vamp-sdk.pc.in Fri May 25 13:26:59 2007 +0000 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: vamp-sdk -Version: 1.0.0 +Version: 1.1.0 Description: Development library for Vamp audio analysis plugins Libs: -L${libdir} -lvamp-sdk Cflags: -I${includedir}