ardour/libs/ardour/test/dummy_lxvst.cc

46 lines
492 B
C++

/* Dummy LXVST methods so that libardour can be linked against the test code */
#include "ardour/linux_vst_support.h"
int
vstfx_init (void* ptr)
{
return 0;
}
VSTState *
vstfx_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr)
{
return 0;
}
void
vstfx_close (VSTState* vstfx)
{
}
VSTHandle *
vstfx_load (const char *path)
{
return 0;
}
int
vstfx_unload (VSTHandle* fhandle)
{
return -1;
}
void
vstfx_destroy_editor (VSTState *)
{
}
void
vstfx_exit ()
{
}