Mercurial > hg > vamp-plugin-sdk
changeset 60:087c16cca0d6 host-factory-stuff
...
author | cannam |
---|---|
date | Fri, 25 May 2007 13:26:59 +0000 |
parents | fa79c4ec847d |
children | 97c5ac99d725 |
files | vamp-sdk/hostext/PluginInputDomainAdapter.cpp vamp-sdk/hostext/PluginLoader.h vamp-sdk/vamp-hostsdk.pc.in vamp-sdk/vamp-sdk.pc.in |
diffstat | 4 files changed, 8 insertions(+), 3 deletions(-) [+] |
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) {
--- 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<PluginKey> PluginKeyList; typedef std::vector<std::string> PluginCategoryHierarchy; - std::vector<PluginKey> listPlugins(); //!!! pass in version number? + PluginKeyList listPlugins(); //!!! pass in version number? PluginKey composePluginKey(std::string libraryName, std::string identifier);
--- 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}
--- 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}