2 #ifndef _LadspaWrapperBuffer_hxx_
3 #define _LadspaWrapperBuffer_hxx_
24 typedef void * SOPointer;
25 LADSPA_Handle _instance;
26 const LADSPA_Descriptor * _descriptor;
27 SOPointer _sharedObject;
28 std::string _libraryFileName;
30 std::vector< InPort<Audio>* > _inputPorts;
31 std::vector< OutPort<Audio>* > _outputPorts;
33 std::vector< FloatInControl* > _inputControls;
34 std::vector< FloatOutControl* > _outputControls;
35 std::vector< LADSPA_Data > _outputControlValues;
37 std::string _factoryKey;
38 void RemovePortsAndControls();
39 void ConfigurePortsAndControls();
40 void ConfigureControlsPointers();
41 void DoUpdatePortsPointers();
45 LadspaWrapperBuffer(
const std::string& libraryFileName,
unsigned index,
const std::string& factoryKey );
55 bool LoadLibraryFunction(
const std::string& libraryFileName,
unsigned index,
const std::string& factoryKey);