13
0
Commit Graph

47 Commits

Author SHA1 Message Date
fd8053da9e Don't use VST ->user points, prefer host-reserved ptr
Apparently "user" is for plugins (not hosts) to use.
2017-07-08 18:13:42 +02:00
4b982ef895 Prepare moving to a dedicated x-thread signal for VST UI resizing
(this changes the internal API, pending follow-up GUI update)
2017-03-08 13:03:46 +01:00
e1095310a8 Rework VST initialization:
Set the AEffect* plugin pointer before calling effOpen.
effOpen may call back into the host (masterCallback) and invoke
actions which depend on _plugin (eg. to call back into the plugin again)
2017-03-07 00:13:56 +01:00
cc72cff504 try VST2.4's VSTPluginMain first
This fixes a crash with loading u-he Diva on windows.
2016-11-17 13:03:36 +01:00
cf1651e6d7 consolidate VSTState functions 2016-11-15 17:10:13 +01:00
15161d641d really fix windows compilation. 2016-11-15 03:25:32 +01:00
694de29953 amend 5dc2497100 ...get the windows version to compile.
eventually vststate_init() needs cleaning up, but not tonight.
2016-11-15 03:21:02 +01:00
5dc2497100 rework 8e3b6c9ac (fstwin is C code, not C++) 2016-11-15 02:49:41 +01:00
4e8d705d99 fix another typo (f30fbcaaf) 2016-11-15 01:18:10 +01:00
f30fbcaaf9 Fix VST state-lock SNAFU (effSetChunk and process are exclusive) 2016-11-14 21:06:18 +01:00
8e3b6c9ac6 consolidate VSTState initialization 2016-11-14 21:06:18 +01:00
4d7eb04cf6 Fix a crash when toggling back and forth between a generic plugin GUI window and a VST plugin's own GUI 2016-08-28 10:26:02 +01:00
3a1a978541 Fix for crash when loading DrumGizmo VST editor on Windows 2015-08-12 11:39:28 +10:00
04bda495c2 When building with MSVC, guard a declaration of 'strdup()' which conflicts slightly with the MSVC declaration
(maybe we should just #include <string.h> ?)
2014-11-04 13:23:15 +00:00
06b700abf2 fix VST GUI swallowing for windows 2014-04-18 01:54:59 +02:00
09d5d7f26b remove code intended for use with basename(), fix memory leak since g_path_get_basename() returns a newly allocated string. 2014-04-14 15:21:29 +02:00
15c5d12321 clean up 6cc2812f2e (interim vst fixes) 2014-04-14 15:10:28 +02:00
56b9398208 despite what MSVC thinks, C is not C++. 2014-04-14 15:04:50 +02:00
unknown
6cc2812f2e interim vst fixes 2014-04-11 14:23:29 -05:00
f678700376 amend previous commit, remove cruft, no more extern function pointers 2014-04-11 19:36:17 +02:00
912f07b919 mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64) 2014-03-04 15:25:58 +01:00
bcf6c76462 consolidate lxVST & winVST file-info code into libardour
first step and clennup before adding support for
VST shell-plugins (collections) and external scanner app...
2014-02-23 05:51:58 +01:00
8843679e1f fix minimum VST GUI window size (gtk padding) 2014-02-22 03:11:49 +01:00
dfdf9a35f1 resolve gtk + VST threading issues
while (gtk_events_pending()) gtk_main_iteration(); never returns
as long as there's a idle call registered somewhere (and it's not
called from an idle callback itself)
2014-02-22 03:11:48 +01:00
40aa7e5e90 first part of merging windows and wine VST
libfst is now very ardour specific (no longer compatible with /upstream/)
2014-02-22 03:11:48 +01:00
348115c0f7 add support for VST>=2.4 2014-02-22 03:11:47 +01:00
Carl Hetherington
569bf2f27e Remove VST current_program variable, since that stuff is
managed by the presets code in Plugin.


git-svn-id: svn://localhost/ardour2/branches/3.0@10801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:38 +00:00
Carl Hetherington
aed44005b2 Merge some linux/windows VST GUI code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 00:55:25 +00:00
Carl Hetherington
2c6a9b11ac Remove unused define.
git-svn-id: svn://localhost/ardour2/branches/3.0@10764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 02:33:56 +00:00
Carl Hetherington
16aece1d47 Share main VSTFX / FST struct between windows / linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 02:27:26 +00:00
Carl Hetherington
ff98e0490d Share VSTHandle and VSTInfo between windows/linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 01:28:34 +00:00
b15f48fb30 fix C99 compliance issue for winegcc
git-svn-id: svn://localhost/ardour2/branches/3.0@8384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 15:06:58 +00:00
Carl Hetherington
b00bb4d5ff Gruesome-in-the-extreme VST hacks to attempt to allow presets to
be loaded without an editor window.  You may need to clean your
Ethernet cable with soapy water after fetching this commit
(wireless users --- open the window).



git-svn-id: svn://localhost/ardour2/branches/3.0@8378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 00:53:37 +00:00
Carl Hetherington
72190954c4 Clean up VST plugin key handling slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@8377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 23:31:02 +00:00
Carl Hetherington
d367d94c7f Extremely hacky but somewhat functional passing of keys to VST plugin UIs. Sort-of fixes #3630.
git-svn-id: svn://localhost/ardour2/branches/3.0@8371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 21:58:44 +00:00
Carl Hetherington
56554af08f Revert previous ill-thought-out patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@8213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:55:43 +00:00
Carl Hetherington
40c162d609 Move RDF-based preset stuff into LadspaPlugin, to make way for a set of evil hacks to make VST chunk-based presets work (for some values of `work').
May fix #3577.


git-svn-id: svn://localhost/ardour2/branches/3.0@8202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 02:56:11 +00:00
c2b12f05f4 FST code from 2.X branch
git-svn-id: svn://localhost/ardour2/branches/3.0@4981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 00:43:41 +00:00
63189be1df vestige-based VST support, back-ported from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@4703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 17:11:21 +00:00
449aab3c46 rollback to 3428, before the mysterious removal of libs/* at 3431/3432
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 21:41:35 +00:00
Doug McLain
9c0d7d72d7 remove empty sigc++2 directory
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 05:02:28 +00:00
44a3f5419b fix error in last commit with VST entry function type cast
git-svn-id: svn://localhost/ardour2/trunk@1512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-26 17:48:53 +00:00
c20e55d07a fix compiler complaints about RCU code; fix a couple of compiler warnings
git-svn-id: svn://localhost/ardour2/trunk@1511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-26 17:44:09 +00:00
27cd4034bd fix misdesign of VST GUI thread
git-svn-id: svn://localhost/ardour2/trunk@1428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-06 20:09:35 +00:00
1161fa8731 debugging VST issues
git-svn-id: svn://localhost/ardour2/trunk@1427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-06 18:30:55 +00:00
2b5d095464 correctly forward configure events to plugin windows, and cleanup FST code
git-svn-id: svn://localhost/ardour2/trunk@635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 21:04:47 +00:00
4d3e06f29d more details for VST support
git-svn-id: svn://localhost/ardour2/trunk@630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:22:16 +00:00