From 320fc6c3b2a3628e2b6a073029a11babbd14da88 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 30 Mar 2015 21:51:16 +0200 Subject: make configtool compile for wine/vst --- cfgtool/cfgtool.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cfgtool') diff --git a/cfgtool/cfgtool.cc b/cfgtool/cfgtool.cc index 021484671b..23f7369f52 100644 --- a/cfgtool/cfgtool.cc +++ b/cfgtool/cfgtool.cc @@ -53,3 +53,15 @@ int main (int argc, char **argv) { int vstfx_init (void*) { return 0; } void vstfx_exit () {} void vstfx_destroy_editor (VSTState*) {} + +#ifdef WINDOWS_VST_SUPPORT +extern "C" { +int fst_init (void* possible_hmodule) { return -1;} +void fst_exit (void) {} +VSTHandle* fst_load (const char*) { return 0; } +int fst_unload (VSTHandle**) { return -1; } +VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr) { return 0; } +void fst_close (VSTState *) {} +void fst_audio_master_idle(void) {} +}; +#endif -- cgit v1.2.3