Ardour  9.0-pre0-582-g084a23a80d
linux_vst_support.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013-2015 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2013-2016 Robin Gareus <robin@gareus.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #pragma once
21 
22 #include <setjmp.h>
23 #include <signal.h>
24 #include <pthread.h>
25 #include <stdio.h>
26 
28 #include "ardour/vst_types.h"
29 
30 /******************************************************************************************/
31 /*VSTFX - an engine to manage native linux VST plugins - derived from FST for Windows VSTs*/
32 /******************************************************************************************/
33 
34 LIBARDOUR_API extern void (*vstfx_error_callback)(const char *msg);
35 LIBARDOUR_API void vstfx_error (const char *fmt, ...);
36 
37 /*API to vstfx*/
38 
40 LIBARDOUR_API extern int vstfx_init (void *);
41 LIBARDOUR_API extern void vstfx_exit ();
42 LIBARDOUR_API extern VSTHandle * vstfx_load (const char*);
44 
47 
51 
53 
#define LIBARDOUR_API
int vstfx_launch_editor(VSTState *)
VSTHandle * vstfx_load(const char *)
void vstfx_destroy_editor(VSTState *)
void vstfx_close(VSTState *)
void vstfx_event_loop_remove_plugin(VSTState *)
VSTState * vstfx_instantiate(VSTHandle *, audioMasterCallback, void *)
void vstfx_error(const char *fmt,...)
int vstfx_init(void *)
int vstfx_run_editor(VSTState *)
int vstfx_unload(VSTHandle *)
void vstfx_exit()
void(* vstfx_error_callback)(const char *msg)
int vstfx_create_editor(VSTState *)
intptr_t(* audioMasterCallback)(AEffect *, int32_t, int32_t, intptr_t, void *, float)
Definition: vestige.h:341