comparison vamp-sdk/PluginHostAdapter.h @ 32:13eae6cc6bac

* Add a function to look up the Vamp plugin path for the current platform. * Add make install stage and pkgconfig files. (This bit is rather Linux-specific.)
author cannam
date Mon, 31 Jul 2006 16:12:37 +0000
parents c29eccb892f1
children be8fdfe25693
comparison
equal deleted inserted replaced
31:0e7aa8fabd76 32:13eae6cc6bac
39 39
40 #include <vamp/vamp.h> 40 #include <vamp/vamp.h>
41 41
42 #include "Plugin.h" 42 #include "Plugin.h"
43 43
44 #include <vector>
45
44 namespace Vamp { 46 namespace Vamp {
45 47
46 class PluginHostAdapter : public Plugin 48 class PluginHostAdapter : public Plugin
47 { 49 {
48 public: 50 public:
49 PluginHostAdapter(const VampPluginDescriptor *descriptor, 51 PluginHostAdapter(const VampPluginDescriptor *descriptor,
50 float inputSampleRate); 52 float inputSampleRate);
51 virtual ~PluginHostAdapter(); 53 virtual ~PluginHostAdapter();
54
55 static std::vector<std::string> getPluginPath();
52 56
53 bool initialise(size_t channels, size_t stepSize, size_t blockSize); 57 bool initialise(size_t channels, size_t stepSize, size_t blockSize);
54 void reset(); 58 void reset();
55 59
56 InputDomain getInputDomain() const; 60 InputDomain getInputDomain() const;