diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-14 11:31:22 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-14 11:31:22 +0000 |
commit | 5de95fc822300102d03c43b376cd071022b824fc (patch) | |
tree | 9206f077d8a79c64378044dd7522352ae603577e /libs/ardour/test/dummy_lxvst.cc | |
parent | 7ffe37faadd1fc99cf42a06eedce057a16203aba (diff) |
Fix unit test build by adding some dummy LXVST methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@10576 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/dummy_lxvst.cc')
-rw-r--r-- | libs/ardour/test/dummy_lxvst.cc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/ardour/test/dummy_lxvst.cc b/libs/ardour/test/dummy_lxvst.cc new file mode 100644 index 0000000000..d21702ec43 --- /dev/null +++ b/libs/ardour/test/dummy_lxvst.cc @@ -0,0 +1,33 @@ +/* Dummy LXVST methods so that libardour can be linked against the test code */ + +#include "ardour/vstfx.h" + +int +vstfx_init (void* ptr) +{ + return 0; +} + +VSTFX * +vstfx_instantiate (VSTFXHandle* fhandle, audioMasterCallback amc, void* userptr) +{ + return 0; +} + +void +vstfx_close (VSTFX* vstfx) +{ + +} + +VSTFXHandle * +vstfx_load (const char *path) +{ + return 0; +} + +int +vstfx_unload (VSTFXHandle* fhandle) +{ + return -1; +} |