comparison pyvamp-main.cpp @ 3:134313c59d82

* Add global mutex to PyPlugin -- all plugin method calls are strictly serialised in order to avoid problems with Python interpreter's lack of thread safety.
author cannam
date Fri, 14 Mar 2008 12:02:15 +0000
parents 211ebe55d521
children e1b508f2f914
comparison
equal deleted inserted replaced
2:211ebe55d521 3:134313c59d82
38 * This VAMP plugin is a wrapper for Python Scripts. (VamPy) 38 * This VAMP plugin is a wrapper for Python Scripts. (VamPy)
39 * Centre for Digital Music, Queen Mary, University of London. 39 * Centre for Digital Music, Queen Mary, University of London.
40 * Copyright 2008, George Fazekas. 40 * Copyright 2008, George Fazekas.
41 */ 41 */
42 42
43 //#include "Python.h" 43 #include <Python.h>
44 #include "/usr/include/python/Python.h"
45 #include "vamp/vamp.h" 44 #include "vamp/vamp.h"
46 #include "vamp-sdk/PluginAdapter.h" 45 #include "vamp-sdk/PluginAdapter.h"
47 #include "PyPlugScanner.h" 46 #include "PyPlugScanner.h"
48 #include "PyPlugin.h" 47 #include "PyPlugin.h"
49 48