Mercurial > hg > vamp-plugin-sdk
changeset 82:c8b48bc6db3d
* Add sdkstatic target
author | cannam |
---|---|
date | Wed, 19 Sep 2007 14:04:12 +0000 |
parents | e4826d5365b8 |
children | 94a42248ec33 |
files | Makefile examples/PercussionOnsetDetector.cpp vamp-sdk/RealTime.cpp |
diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Sep 18 14:57:08 2007 +0000 +++ b/Makefile Wed Sep 19 14:04:12 2007 +0000 @@ -17,6 +17,7 @@ # Targets are: # all -- build everything # sdk -- build all the Vamp SDK libraries for plugins and hosts +# sdkstatic -- build only the static versions of the SDK libraries # plugins -- build the example plugins (and the SDK if required) # host -- build the simple Vamp plugin host (and the SDK if required) # test -- build the host and example plugins, and run a quick test @@ -159,6 +160,8 @@ sdk: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) +sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) + plugins: $(PLUGIN_TARGET) host: $(HOST_TARGET)
--- a/examples/PercussionOnsetDetector.cpp Tue Sep 18 14:57:08 2007 +0000 +++ b/examples/PercussionOnsetDetector.cpp Wed Sep 19 14:04:12 2007 +0000 @@ -239,6 +239,7 @@ float real = inputBuffers[0][i*2]; float imag = inputBuffers[0][i*2 + 1]; + float sqrmag = real * real + imag * imag; if (m_priorMagnitudes[i] > 0.f) {