merge with master
[ardour.git] / libs / ardour / test / dummy_lxvst.cc
index ddc60ee56d81f99037f21f48824569d768e6dde9..c614c776bf7c5cf37bbd80a3cb9280cd8bcc480f 100644 (file)
@@ -1,6 +1,6 @@
 /* Dummy LXVST methods so that libardour can be linked against the test code */
 
-#include "ardour/vstfx.h"
+#include "ardour/linux_vst_support.h"
 
 int
 vstfx_init (void* ptr)
@@ -8,32 +8,38 @@ vstfx_init (void* ptr)
        return 0;
 }
 
-VSTFX *
-vstfx_instantiate (VSTFXHandle* fhandle, audioMasterCallback amc, void* userptr)
+VSTState *
+vstfx_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr)
 {
        return 0;
 }
 
 void
-vstfx_close (VSTFX* vstfx)
+vstfx_close (VSTState* vstfx)
 {
 
 }
 
-VSTFXHandle *
+VSTHandle *
 vstfx_load (const char *path)
 {
        return 0;
 }
 
 int
-vstfx_unload (VSTFXHandle* fhandle)
+vstfx_unload (VSTHandle* fhandle)
 {
        return -1;
 }
 
 void
-vstfx_destroy_editor (VSTFX *)
+vstfx_destroy_editor (VSTState *)
+{
+
+}
+
+void
+vstfx_exit ()
 {
 
 }