1 /* Dummy LXVST methods so that libardour can be linked against the test code */ 2 3 #include "ardour/linux_vst_support.h" 4 5 int vstfx_init(void * ptr)6vstfx_init (void* ptr) 7 { 8 return 0; 9 } 10 11 VSTState * vstfx_instantiate(VSTHandle * fhandle,audioMasterCallback amc,void * userptr)12vstfx_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr) 13 { 14 return 0; 15 } 16 17 void vstfx_close(VSTState * vstfx)18vstfx_close (VSTState* vstfx) 19 { 20 21 } 22 23 VSTHandle * vstfx_load(const char * path)24vstfx_load (const char *path) 25 { 26 return 0; 27 } 28 29 int vstfx_unload(VSTHandle * fhandle)30vstfx_unload (VSTHandle* fhandle) 31 { 32 return -1; 33 } 34 35 void vstfx_destroy_editor(VSTState *)36vstfx_destroy_editor (VSTState *) 37 { 38 39 } 40 41 void vstfx_exit()42vstfx_exit () 43 { 44 45 } 46