# HG changeset patch # User Chris Cannam # Date 1434446772 -3600 # Node ID 14b34e85523b3748f87d55d67d2abb664efe24e3 # Parent 0d9d6a7d6ca8553ea4e2b41ffe804861f4952de2 Updates for v2.6 diff -r 0d9d6a7d6ca8 -r 14b34e85523b CHANGELOG --- a/CHANGELOG Tue Jun 16 10:12:51 2015 +0100 +++ b/CHANGELOG Tue Jun 16 10:26:12 2015 +0100 @@ -1,3 +1,18 @@ + +Version 2.6, 2015-06-16 (maintenance and minor feature release) + + * Add a simple C-linkage API for plugin library discovery and + loading -- the missing part when trying to use Vamp plugins from C + or a language with only C-linkage foreign-function interface + * Fix bug in PluginBufferingAdapter reset() function, which failed + to reset timestamp rewrites (symptom: timestamps appeared to + continue to ascend from end point on next run after a reset) + * Fix sometime 1-sample rounding error in PluginInputDomainAdapter + * Update build files for more recent OS versions + * Add -L option to simple host, as synonym for --list-full + * Add a combined Visual C++ solution that includes the plugin SDK, + host SDK, example plugins, and simple host projects + Version 2.5, 2013-05-08 (maintenance release): * Fix incorrect handling of FixedSampleRate outputs in the diff -r 0d9d6a7d6ca8 -r 14b34e85523b COPYING --- a/COPYING Tue Jun 16 10:12:51 2015 +0100 +++ b/COPYING Tue Jun 16 10:26:12 2015 +0100 @@ -1,7 +1,7 @@ Vamp Plugin SDK Copyright (c) 2005-2006 Chris Cannam - Copyright (c) 2006-2014 Queen Mary, University of London + Copyright (c) 2006-2015 Queen Mary, University of London Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff -r 0d9d6a7d6ca8 -r 14b34e85523b README --- a/README Tue Jun 16 10:12:51 2015 +0100 +++ b/README Tue Jun 16 10:26:12 2015 +0100 @@ -9,7 +9,7 @@ Vamp is an API for C and C++ plugins that process sampled audio data to produce descriptive output (measurements or semantic observations). -This is version 2.5 of the Vamp plugin Software Development Kit. +This is version 2.6 of the Vamp plugin Software Development Kit. Plugins and hosts built with this SDK are binary compatible with those built using version 1.0 of the SDK, with certain restrictions. See @@ -117,6 +117,17 @@ Hosts should link with -lvamp-hostsdk. +vamp-hostsdk/host-c.h +--------------------- + +A C-linkage header wrapping the part of the C++ SDK code that handles +plugin discovery and library loading. Host programs written in C or in +a language with a C-linkage foreign function interface may choose to +use this header to discover and load plugin libraries, together with +the vamp/vamp.h formal API to interact with plugins themselves. See +the header for more documentation. + + examples -------- @@ -237,7 +248,7 @@ Vamp and the Vamp SDK were designed and made at the Centre for Digital Music at Queen Mary, University of London. -The SDK was written by Chris Cannam, copyright (c) 2005-2014 +The SDK was written by Chris Cannam, copyright (c) 2005-2015 Chris Cannam and QMUL. Mark Sandler and Christian Landone provided ideas and direction, and diff -r 0d9d6a7d6ca8 -r 14b34e85523b build/README.osx --- a/build/README.osx Tue Jun 16 10:12:51 2015 +0100 +++ b/build/README.osx Tue Jun 16 10:26:12 2015 +0100 @@ -5,10 +5,8 @@ Prerequisites ------------- -You must have Xcode installed, with the command-line build tools. - -(If you are using Xcode 4, you may have to go to Preferences -> -Downloads -> Components and install the Command Line Tools component.) +You must have Xcode installed, with the command-line build tools (an +optional component). You must have libsndfile (http://www.mega-nerd.com/libsndfile/) installed in order to build the command-line host successfully. But @@ -34,8 +32,8 @@ the vamp-sdk and src/vamp-sdk (for plugins) or vamp-hostsdk and src/vamp-hostsdk (for hosts) directories to your existing project. -If you are using OS/X 10.6 or older, use Makefile.osx.106 instead of -Makefile.osx. +If you are using OS/X 10.6 or older, you could try Makefile.osx.106 +instead of Makefile.osx. Installing the Example Plugins diff -r 0d9d6a7d6ca8 -r 14b34e85523b skeleton/Makefile.osx --- a/skeleton/Makefile.osx Tue Jun 16 10:12:51 2015 +0100 +++ b/skeleton/Makefile.osx Tue Jun 16 10:26:12 2015 +0100 @@ -14,12 +14,12 @@ # ... or for a release build -#CFLAGS := -Wall -Wextra -O3 -ftree-vectorize -fPIC +#CFLAGS := -Wall -Wextra -O3 -fPIC # Flags to determine processor architecture and system SDK -ARCHFLAGS ?= -mmacosx-version-min=10.6 -arch x86_64 -arch i386 +ARCHFLAGS ?= -mmacosx-version-min=10.7 -arch x86_64 -stdlib=libc++ # Location of Vamp plugin SDK relative to the project directory