13
0

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
This commit is contained in:
Carl Hetherington 2011-11-14 11:31:22 +00:00
parent 7ffe37faad
commit 5de95fc822
2 changed files with 34 additions and 0 deletions

View File

@ -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;
}

View File

@ -415,6 +415,7 @@ def build(bld):
# Unit tests
testobj = bld(features = 'cxx cxxprogram')
testobj.source = '''
test/dummy_lxvst.cc
test/bbt_test.cpp
test/interpolation_test.cpp
test/midi_clock_slave_test.cpp