2 * Copyright (C) 2016 Robin Gareus <robin@gareus.org>
3 * Copyright (C) 2012 Paul Davis
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, or (at your option)
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.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __mac_vst_support_h__
21 #define __mac_vst_support_h__
28 #include "ardour/libardour_visibility.h"
29 #include "ardour/vst_types.h"
31 LIBARDOUR_API extern void (*mac_vst_error_callback)(const char *msg);
32 LIBARDOUR_API void mac_vst_error (const char *fmt, ...);
34 LIBARDOUR_API extern VSTHandle * mac_vst_load (const char*);
35 LIBARDOUR_API extern int mac_vst_unload (VSTHandle *);
36 LIBARDOUR_API extern VSTState * mac_vst_instantiate (VSTHandle *, audioMasterCallback, void *);
37 LIBARDOUR_API extern void mac_vst_close (VSTState*);
39 #endif /* ____mac_vst_support_h__ */