Revision 539:15a89a89aa9b
| CHANGELOG | ||
|---|---|---|
| 1 |
|
|
| 2 |
Version 2.10, 2020-05-18 (minor feature release) |
|
| 3 |
|
|
| 4 |
* Add a method to PluginWrapper, the host-side base for adapters |
|
| 5 |
like PluginInputDomainAdapter that modify the processing behaviour |
|
| 6 |
of a plugin, that tells it to "disown" the wrapped plugin. The |
|
| 7 |
former behaviour, and still the default, is for the wrapper to |
|
| 8 |
take ownership of the wrapped plugin. The alternative behaviour |
|
| 9 |
makes it easier to mix these classes with some modern C++ styles |
|
| 10 |
that use managed pointers |
|
| 1 | 11 |
|
| 2 | 12 |
Version 2.9, 2019-11-13 (maintenance release) |
| 3 | 13 |
|
| Makefile.in | ||
|---|---|---|
| 78 | 78 |
INSTALL_PLUGINS = $(INSTALL_PREFIX)/lib/vamp |
| 79 | 79 |
INSTALL_BINARIES = $(INSTALL_PREFIX)/bin |
| 80 | 80 |
|
| 81 |
INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.9.0
|
|
| 81 |
INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.10.0
|
|
| 82 | 82 |
INSTALL_SDK_LINK_ABI = libvamp-sdk.so.2 |
| 83 | 83 |
INSTALL_SDK_LINK_DEV = libvamp-sdk.so |
| 84 | 84 |
INSTALL_SDK_STATIC = libvamp-sdk.a |
| 85 | 85 |
INSTALL_SDK_LA = libvamp-sdk.la |
| 86 | 86 |
|
| 87 |
INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.so.3.9.0
|
|
| 87 |
INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.so.3.10.0
|
|
| 88 | 88 |
INSTALL_HOSTSDK_LINK_ABI = libvamp-hostsdk.so.3 |
| 89 | 89 |
INSTALL_HOSTSDK_LINK_DEV = libvamp-hostsdk.so |
| 90 | 90 |
INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a |
| ... | ... | |
| 113 | 113 |
HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) |
| 114 | 114 |
PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -exported_symbols_list build/vamp-plugin.list |
| 115 | 115 |
|
| 116 |
INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.3.9.0.dylib
|
|
| 116 |
INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.3.10.0.dylib
|
|
| 117 | 117 |
INSTALL_HOSTSDK_LINK_ABI = libvamp-hostsdk.3.dylib |
| 118 | 118 |
|
| 119 | 119 |
# The OS X linker doesn't allow you to request static linkage when |
| ... | ... | |
| 122 | 122 |
# dynamic, the static library will never be used. That's OK for the |
| 123 | 123 |
# host SDK, but we do want plugins to get static linkage of the plugin |
| 124 | 124 |
# SDK. So install the dynamic version under a different name. |
| 125 |
INSTALL_SDK_LIBNAME = libvamp-sdk-dynamic.2.9.0.dylib
|
|
| 125 |
INSTALL_SDK_LIBNAME = libvamp-sdk-dynamic.2.10.0.dylib
|
|
| 126 | 126 |
INSTALL_SDK_LINK_ABI = libvamp-sdk-dynamic.2.dylib |
| 127 | 127 |
|
| 128 | 128 |
endif |
| README | ||
|---|---|---|
| 9 | 9 |
Vamp is an API for C and C++ plugins that process sampled audio data |
| 10 | 10 |
to produce descriptive output (measurements or semantic observations). |
| 11 | 11 |
|
| 12 |
This is version 2.9 of the Vamp plugin Software Development Kit.
|
|
| 12 |
This is version 2.10 of the Vamp plugin Software Development Kit.
|
|
| 13 | 13 |
|
| 14 | 14 |
Plugins and hosts built with this SDK are binary compatible with those |
| 15 | 15 |
built using any version 2.0 or newer of the SDK. |
| build/Doxyfile | ||
|---|---|---|
| 31 | 31 |
# This could be handy for archiving the generated documentation or |
| 32 | 32 |
# if some version control system is used. |
| 33 | 33 |
|
| 34 |
PROJECT_NUMBER = 2.9
|
|
| 34 |
PROJECT_NUMBER = 2.10
|
|
| 35 | 35 |
|
| 36 | 36 |
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) |
| 37 | 37 |
# base path where the generated documentation will be put. |
| build/libvamp-hostsdk.la.in | ||
|---|---|---|
| 8 | 8 |
old_library='%STATIC%' |
| 9 | 9 |
dependency_libs='' |
| 10 | 10 |
current=3 |
| 11 |
age=9
|
|
| 11 |
age=10
|
|
| 12 | 12 |
revision=0 |
| 13 | 13 |
installed=yes |
| 14 | 14 |
libdir='%LIBS%' |
| build/libvamp-sdk.la.in | ||
|---|---|---|
| 8 | 8 |
old_library='%STATIC%' |
| 9 | 9 |
dependency_libs='' |
| 10 | 10 |
current=2 |
| 11 |
age=9
|
|
| 11 |
age=10
|
|
| 12 | 12 |
revision=0 |
| 13 | 13 |
installed=yes |
| 14 | 14 |
libdir='%LIBS%' |
| configure | ||
|---|---|---|
| 1 | 1 |
#! /bin/sh |
| 2 | 2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.69 for vamp-plugin-sdk 2.9.
|
|
| 3 |
# Generated by GNU Autoconf 2.69 for vamp-plugin-sdk 2.10.
|
|
| 4 | 4 |
# |
| 5 | 5 |
# Report bugs to <cannam@all-day-breakfast.com>. |
| 6 | 6 |
# |
| ... | ... | |
| 580 | 580 |
# Identity of this package. |
| 581 | 581 |
PACKAGE_NAME='vamp-plugin-sdk' |
| 582 | 582 |
PACKAGE_TARNAME='vamp-plugin-sdk' |
| 583 |
PACKAGE_VERSION='2.9'
|
|
| 584 |
PACKAGE_STRING='vamp-plugin-sdk 2.9'
|
|
| 583 |
PACKAGE_VERSION='2.10'
|
|
| 584 |
PACKAGE_STRING='vamp-plugin-sdk 2.10'
|
|
| 585 | 585 |
PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' |
| 586 | 586 |
PACKAGE_URL='' |
| 587 | 587 |
|
| ... | ... | |
| 1244 | 1244 |
# Omit some internal or obsolete options to make the list less imposing. |
| 1245 | 1245 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1246 | 1246 |
cat <<_ACEOF |
| 1247 |
\`configure' configures vamp-plugin-sdk 2.9 to adapt to many kinds of systems.
|
|
| 1247 |
\`configure' configures vamp-plugin-sdk 2.10 to adapt to many kinds of systems.
|
|
| 1248 | 1248 |
|
| 1249 | 1249 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1250 | 1250 |
|
| ... | ... | |
| 1305 | 1305 |
|
| 1306 | 1306 |
if test -n "$ac_init_help"; then |
| 1307 | 1307 |
case $ac_init_help in |
| 1308 |
short | recursive ) echo "Configuration of vamp-plugin-sdk 2.9:";;
|
|
| 1308 |
short | recursive ) echo "Configuration of vamp-plugin-sdk 2.10:";;
|
|
| 1309 | 1309 |
esac |
| 1310 | 1310 |
cat <<\_ACEOF |
| 1311 | 1311 |
|
| ... | ... | |
| 1403 | 1403 |
test -n "$ac_init_help" && exit $ac_status |
| 1404 | 1404 |
if $ac_init_version; then |
| 1405 | 1405 |
cat <<\_ACEOF |
| 1406 |
vamp-plugin-sdk configure 2.9
|
|
| 1406 |
vamp-plugin-sdk configure 2.10
|
|
| 1407 | 1407 |
generated by GNU Autoconf 2.69 |
| 1408 | 1408 |
|
| 1409 | 1409 |
Copyright (C) 2012 Free Software Foundation, Inc. |
| ... | ... | |
| 1652 | 1652 |
This file contains any messages produced by compilers while |
| 1653 | 1653 |
running configure, to aid debugging if configure makes a mistake. |
| 1654 | 1654 |
|
| 1655 |
It was created by vamp-plugin-sdk $as_me 2.9, which was
|
|
| 1655 |
It was created by vamp-plugin-sdk $as_me 2.10, which was
|
|
| 1656 | 1656 |
generated by GNU Autoconf 2.69. Invocation command line was |
| 1657 | 1657 |
|
| 1658 | 1658 |
$ $0 $@ |
| ... | ... | |
| 4648 | 4648 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 4649 | 4649 |
# values after options handling. |
| 4650 | 4650 |
ac_log=" |
| 4651 |
This file was extended by vamp-plugin-sdk $as_me 2.9, which was
|
|
| 4651 |
This file was extended by vamp-plugin-sdk $as_me 2.10, which was
|
|
| 4652 | 4652 |
generated by GNU Autoconf 2.69. Invocation command line was |
| 4653 | 4653 |
|
| 4654 | 4654 |
CONFIG_FILES = $CONFIG_FILES |
| ... | ... | |
| 4701 | 4701 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4702 | 4702 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 4703 | 4703 |
ac_cs_version="\\ |
| 4704 |
vamp-plugin-sdk config.status 2.9
|
|
| 4704 |
vamp-plugin-sdk config.status 2.10
|
|
| 4705 | 4705 |
configured by $0, generated by GNU Autoconf 2.69, |
| 4706 | 4706 |
with options \\"\$ac_cs_config\\" |
| 4707 | 4707 |
|
| configure.ac | ||
|---|---|---|
| 1 | 1 |
|
| 2 |
AC_INIT(vamp-plugin-sdk, 2.9, cannam@all-day-breakfast.com)
|
|
| 2 |
AC_INIT(vamp-plugin-sdk, 2.10, cannam@all-day-breakfast.com)
|
|
| 3 | 3 |
|
| 4 | 4 |
AC_CONFIG_SRCDIR(vamp/vamp.h) |
| 5 | 5 |
AC_PROG_CXX |
| pkgconfig/vamp-hostsdk.pc.in | ||
|---|---|---|
| 4 | 4 |
includedir=${prefix}/include
|
| 5 | 5 |
|
| 6 | 6 |
Name: vamp-hostsdk |
| 7 |
Version: 2.9
|
|
| 7 |
Version: 2.10
|
|
| 8 | 8 |
Description: Development library for Vamp audio analysis plugin hosts |
| 9 | 9 |
Libs: -L${libdir} -lvamp-hostsdk -ldl
|
| 10 | 10 |
Cflags: -I${includedir}
|
| pkgconfig/vamp-sdk.pc.in | ||
|---|---|---|
| 4 | 4 |
includedir=${prefix}/include
|
| 5 | 5 |
|
| 6 | 6 |
Name: vamp-sdk |
| 7 |
Version: 2.9
|
|
| 7 |
Version: 2.10
|
|
| 8 | 8 |
Description: Development library for Vamp audio analysis plugins |
| 9 | 9 |
Libs: -L${libdir} -lvamp-sdk
|
| 10 | 10 |
Cflags: -I${includedir}
|
| pkgconfig/vamp.pc.in | ||
|---|---|---|
| 4 | 4 |
includedir=${prefix}/include
|
| 5 | 5 |
|
| 6 | 6 |
Name: vamp |
| 7 |
Version: 2.9
|
|
| 7 |
Version: 2.10
|
|
| 8 | 8 |
Description: An API for audio analysis and feature extraction plugins |
| 9 | 9 |
Libs: |
| 10 | 10 |
Cflags: -I${includedir}
|
| src/vamp-hostsdk/PluginHostAdapter.cpp | ||
|---|---|---|
| 39 | 39 |
|
| 40 | 40 |
#include "Files.h" |
| 41 | 41 |
|
| 42 |
#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 9 )
|
|
| 42 |
#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 10 )
|
|
| 43 | 43 |
#error Unexpected version of Vamp SDK header included |
| 44 | 44 |
#endif |
| 45 | 45 |
|
| src/vamp-hostsdk/acsymbols.c | ||
|---|---|---|
| 1 | 1 |
/* These stubs are provided so that autoconf can check library |
| 2 | 2 |
* versions using C symbols only */ |
| 3 | 3 |
|
| 4 |
extern void libvamphostsdk_v_2_10_present(void) { }
|
|
| 4 | 5 |
extern void libvamphostsdk_v_2_9_present(void) { }
|
| 5 | 6 |
extern void libvamphostsdk_v_2_8_present(void) { }
|
| 6 | 7 |
extern void libvamphostsdk_v_2_7_1_present(void) { }
|
| src/vamp-sdk/FFT.cpp | ||
|---|---|---|
| 41 | 41 |
#include <math.h> |
| 42 | 42 |
#include <string.h> |
| 43 | 43 |
|
| 44 |
#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 9 )
|
|
| 44 |
#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 10 )
|
|
| 45 | 45 |
#error Unexpected version of Vamp SDK header included |
| 46 | 46 |
#endif |
| 47 | 47 |
|
| src/vamp-sdk/PluginAdapter.cpp | ||
|---|---|---|
| 41 | 41 |
|
| 42 | 42 |
#include <mutex> |
| 43 | 43 |
|
| 44 |
#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 9 )
|
|
| 44 |
#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 10 )
|
|
| 45 | 45 |
#error Unexpected version of Vamp SDK header included |
| 46 | 46 |
#endif |
| 47 | 47 |
|
| src/vamp-sdk/acsymbols.c | ||
|---|---|---|
| 1 | 1 |
/* These stubs are provided so that autoconf can check library |
| 2 | 2 |
* versions using C symbols only */ |
| 3 | 3 |
|
| 4 |
extern void libvampsdk_v_2_10_present(void) { }
|
|
| 4 | 5 |
extern void libvampsdk_v_2_9_present(void) { }
|
| 5 | 6 |
extern void libvampsdk_v_2_8_present(void) { }
|
| 6 | 7 |
extern void libvampsdk_v_2_7_1_present(void) { }
|
| vamp-hostsdk/hostguard.h | ||
|---|---|---|
| 43 | 43 |
|
| 44 | 44 |
#define _VAMP_IN_HOSTSDK 1 |
| 45 | 45 |
|
| 46 |
#define VAMP_SDK_VERSION "2.9"
|
|
| 46 |
#define VAMP_SDK_VERSION "2.10"
|
|
| 47 | 47 |
#define VAMP_SDK_MAJOR_VERSION 2 |
| 48 |
#define VAMP_SDK_MINOR_VERSION 9
|
|
| 48 |
#define VAMP_SDK_MINOR_VERSION 10
|
|
| 49 | 49 |
|
| 50 | 50 |
#ifdef _VAMP_NO_HOST_NAMESPACE |
| 51 | 51 |
#define _VAMP_SDK_HOSTSPACE_BEGIN(h) |
| vamp-sdk/plugguard.h | ||
|---|---|---|
| 71 | 71 |
|
| 72 | 72 |
#define _VAMP_IN_PLUGINSDK 1 |
| 73 | 73 |
|
| 74 |
#define VAMP_SDK_VERSION "2.9"
|
|
| 74 |
#define VAMP_SDK_VERSION "2.10"
|
|
| 75 | 75 |
#define VAMP_SDK_MAJOR_VERSION 2 |
| 76 |
#define VAMP_SDK_MINOR_VERSION 9
|
|
| 76 |
#define VAMP_SDK_MINOR_VERSION 10
|
|
| 77 | 77 |
|
| 78 | 78 |
#ifdef _VAMP_NO_PLUGIN_NAMESPACE |
| 79 | 79 |
#define _VAMP_SDK_PLUGSPACE_BEGIN(h) |
Also available in: Unified diff