Commit Graph

145 Commits

Author SHA1 Message Date
Robin Gareus 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
Robin Gareus cf1651e6d7 consolidate VSTState functions 2016-11-15 17:10:13 +01:00
Robin Gareus 15161d641d really fix windows compilation. 2016-11-15 03:25:32 +01:00
Robin Gareus 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
Robin Gareus 5dc2497100 rework 8e3b6c9ac (fstwin is C code, not C++) 2016-11-15 02:49:41 +01:00
Robin Gareus 4e8d705d99 fix another typo (f30fbcaaf) 2016-11-15 01:18:10 +01:00
Robin Gareus f30fbcaaf9 Fix VST state-lock SNAFU (effSetChunk and process are exclusive) 2016-11-14 21:06:18 +01:00
Robin Gareus 8e3b6c9ac6 consolidate VSTState initialization 2016-11-14 21:06:18 +01:00
Robin Gareus 8b93fb02f3 Mac VST-2.x support 2016-11-13 16:35:06 +01:00
Michael Beer 8d8ca6a8fa Make some functions which are needed for native VST support like snprintf() visible in FreeBSD. 2016-10-04 22:59:16 +02:00
John Emmas 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
Robin Gareus bdfddec6fc more hot wine. 2015-12-17 20:22:02 +01:00
Tim Mayberry 3a1a978541 Fix for crash when loading DrumGizmo VST editor on Windows 2015-08-12 11:39:28 +10:00
Robin Gareus 5291400878 case insensitive VST plugin file extension - fixes #6285
2nd attempt.
2015-04-27 18:23:51 +02:00
Robin Gareus 3f2306c4fb Revert "case insensitive ".dll" for VST plugins - fixes #6285"
This reverts commit c2f84af73d.

strcasestr() is not compatible with mingw nor MSVC.
different approach is needed.
2015-04-27 00:40:07 +02:00
Robin Gareus c2f84af73d case insensitive ".dll" for VST plugins - fixes #6285
TODO: check portability of strcasestr()
2015-04-26 21:26:12 +02:00
Robin Gareus 7f0cdc3967 hide terminal window for windows vst scanner 2015-02-14 05:50:40 +01:00
Robin Gareus 20ea90a186 waf: fix concurrency issue with duplicate targets
The same source file cannot safely be used in different wscripts
with concurrency (if they were in the same wscript it works
.c.1.o .c.2.o, etc).


[387/764] c: libs/fst/vstwin.c -> build/libs/fst/vstwin.c.1.o
[731/764] c: libs/fst/vstwin.c -> build/libs/fst/vstwin.c.1.o
[746/764] cxxprogram: build/libs/fst/scanner.cc.1.o build/libs/fst/vstwin.c.1.o -> build/libs/fst/ardour-vst-scanner.exe
[750/764] cxxshlib: [...]  build/libs/fst/vstwin.c.1.o [...] -> build/libs/ardour/ardour-3.dll

and about one every full moon (depending on concurrency) it failed:
missing file: 'build/libs/fst/vstwin.c.1.o'
2015-01-17 18:19:25 +01:00
Robin Gareus 659c0d093d remove hardcoded major version in build scripts 2015-01-08 17:59:41 +01:00
Robin Gareus c16d520338 prepare for 'ardour4' 2015-01-05 19:07:24 +01:00
Robin Gareus f3604814a4 use ldflags for wine linking
fixes issue with eg. wine-unstable:
--also-libdir=/usr/lib/i386-linux-gnu/wine-unstable/
2014-12-28 15:18:39 +01:00
Robin Gareus 28fb110dd3 fix [rare] concurrent build issue:
[709/779] subst: headless/hardev_common.sh.in -> build/headless/hardev_common_waf.sh
[710/779] hardev_common_waf.sh: -> build/headless/hardev_common_waf.sh
chmod: cannot access `headless/hardev_common_waf.sh': No such file or directory
2014-12-28 10:20:25 +01:00
Robin Gareus cb38034334 install all additional binaries in $libdir 2014-11-13 19:57:40 +01:00
John Emmas 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
Robin Gareus 94e7015c70 64bit windows VSTs 2014-10-05 18:11:11 +02:00
Robin Gareus 8b27c122b6 vst-scanner app: properly init and use libpbd's Transmitter 2014-05-17 16:54:12 +02:00
Paul Davis 058986f77b finish unfinished work at basing all install paths on the program name 2014-04-28 21:11:08 -04:00
Robin Gareus 06b700abf2 fix VST GUI swallowing for windows 2014-04-18 01:54:59 +02:00
Robin Gareus 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
Robin Gareus 15c5d12321 clean up 6cc2812f2e (interim vst fixes) 2014-04-14 15:10:28 +02:00
Robin Gareus 56b9398208 despite what MSVC thinks, C is not C++. 2014-04-14 15:04:50 +02:00
unknown d2ab2e8b31 another stab at a working vst on windows 2014-04-11 14:41:58 -05:00
unknown 9fe353c4a2 more vst tweaks 2014-04-11 14:23:35 -05:00
unknown 6cc2812f2e interim vst fixes 2014-04-11 14:23:29 -05:00
Robin Gareus f678700376 amend previous commit, remove cruft, no more extern function pointers 2014-04-11 19:36:17 +02:00
Robin Gareus e359521fad export fst functions (for MSVC) 2014-04-11 17:30:37 +02:00
Robin Gareus 0e41d00811 fix potential uninitialized object pointer. 2014-03-18 20:51:59 +01:00
Paul Davis 495c0de4ac fix up waf build in wake of search path changes earlier today 2014-03-10 17:30:12 -04:00
Robin Gareus 1c839ed541 some more mingw x-compile fixes 2014-03-04 18:53:43 +01:00
Robin Gareus 912f07b919 mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64) 2014-03-04 15:25:58 +01:00
Robin Gareus e2adf46e0f update external VST scanner app 2014-02-25 14:57:57 +01:00
Robin Gareus 993ed56701 prepare standalone VST scanner tool.. part one 2014-02-25 14:57:57 +01:00
Robin Gareus 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
Robin Gareus 8843679e1f fix minimum VST GUI window size (gtk padding) 2014-02-22 03:11:49 +01:00
Robin Gareus 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
Robin Gareus b3154e8ed6 NOOP, whitespace change only 2014-02-22 03:11:48 +01:00
Robin Gareus 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
Robin Gareus 348115c0f7 add support for VST>=2.4 2014-02-22 03:11:47 +01:00
Robin Gareus 4be1c7d8c8 disable unused windows-vst / ALSA-MIDI code
replace / amend to prev commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@14065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-02-19 22:17:20 +00:00
Robin Gareus a401abfee7 fix windows-VST/ALSA combination
git-svn-id: svn://localhost/ardour2/branches/3.0@13793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-06 12:32:10 +00:00
Robin Gareus bb3690db58 merge Marcel Bonnet's patches for Free-BSD
(may need further cleanup:
 compare with timbyr's windows patch,
 verify fst/vsti + ALSA)

git-svn-id: svn://localhost/ardour2/branches/3.0@13774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 17:36:52 +00: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 b0842e706e Remove unused file.
git-svn-id: svn://localhost/ardour2/branches/3.0@10759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 01:29:05 +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
Carl Hetherington d98b2b6039 Use same aeffectx.h for windows and linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 01:28:27 +00:00
Carl Hetherington ac647e5fec Fix Windows VST compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@10756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 00:15:52 +00:00
Carl Hetherington d7b38512b8 Remove VESTIGE_HEADER stuff since we will always use it.
git-svn-id: svn://localhost/ardour2/branches/3.0@10755 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 00:15:46 +00:00
Carl Hetherington 2f7b61155e Make the windows VST callback use int32_t rather than long (to make it the same as the linux VST one); I think this is safe as the windows VST code is only built on 32-bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 23:45:15 +00:00
Carl Hetherington bae2dcd4bf Share VSTKey struct beween linux and windows VST.
git-svn-id: svn://localhost/ardour2/branches/3.0@10750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 22:46:20 +00:00
Paul Davis 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
Taybin Rutkin 52b4b464f9 Merged revisions 6292,6294-6295,6311,6314 via svnmerge from
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes

........
  r6292 | trutkin | 2009-12-05 08:31:25 -0500 (Sat, 05 Dec 2009) | 1 line
  
  remove scons build files
........
  r6294 | trutkin | 2009-12-05 09:11:17 -0500 (Sat, 05 Dec 2009) | 2 lines
  
  cairomm
  remove unnecessary vendor libraries as we now rely on the developer to install them
........
  r6295 | trutkin | 2009-12-05 09:12:54 -0500 (Sat, 05 Dec 2009) | 2 lines
  
  soundtouch
  remove unnecessary vendor libraries as we now rely on the developer to install them
........
  r6311 | trutkin | 2009-12-05 23:38:49 -0500 (Sat, 05 Dec 2009) | 2 lines

  glibmm2, gtkmm2, libgnomecanvasmm, sigc++2  
  remove unnecessary vendor libraries as we now rely on the developer to install them
........
  r6314 | trutkin | 2009-12-06 09:15:49 -0500 (Sun, 06 Dec 2009) | 4 lines
  
  remove scons referencing from Makefile
  
  - TODO: should move cscope stuff to waf and get rid of the Makefile
........


git-svn-id: svn://localhost/ardour2/branches/3.0@6315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-06 14:21:46 +00:00
Paul Davis 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
Paul Davis 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
Paul Davis 68e943265e merge from 2.0-ongoing @ 3581
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-10 15:03:30 +00:00
Paul Davis 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
Paul Davis 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
Paul Davis 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
Paul Davis 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
Paul Davis 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
Paul Davis b7f645cbe6 add missing file; remove another VST debug hack
git-svn-id: svn://localhost/ardour2/trunk@1211 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14 14:37:29 +00:00
Paul Davis f21094937a revert VST debug hacks
git-svn-id: svn://localhost/ardour2/trunk@1210 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14 14:17:17 +00:00
Paul Davis c0924280e9 more vst debug output for solv, again
git-svn-id: svn://localhost/ardour2/trunk@1208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14 03:41:08 +00:00
Paul Davis 421ff2e506 more vst debug output for solv
git-svn-id: svn://localhost/ardour2/trunk@1207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14 03:34:54 +00:00
Paul Davis c103132ae6 more accurate comment for FST SConscript
git-svn-id: svn://localhost/ardour2/trunk@1180 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-01 03:25:07 +00:00
Paul Davis e23a1d1a84 better design for discovering VST packages
git-svn-id: svn://localhost/ardour2/trunk@1179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-01 03:18:20 +00:00
Paul Davis 448a4d46f9 try that one on for size (VST build fu)
git-svn-id: svn://localhost/ardour2/trunk@1177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-30 23:32:18 +00:00
Paul Davis 17469ea0e3 not completely tested new structure for VST/FST build
git-svn-id: svn://localhost/ardour2/trunk@1176 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-30 22:44:15 +00:00
Doug McLain f987091756 Better error message for missing vst files
git-svn-id: svn://localhost/ardour2/trunk@1170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-29 03:39:54 +00:00
Doug McLain fb95081537 Handle both possible zip files that may be provided for the vst sdk source
git-svn-id: svn://localhost/ardour2/trunk@1169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-29 03:35:55 +00:00
Doug McLain c371600816 A bit better integration of vst sdk files
git-svn-id: svn://localhost/ardour2/trunk@1165 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-28 19:22:31 +00:00
Paul Davis e9604e2173 better error message if VST SDK is not installed and neeed
git-svn-id: svn://localhost/ardour2/trunk@1080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-06 19:59:00 +00:00
Paul Davis cdbcb1a4ea another tweak for VST building
git-svn-id: svn://localhost/ardour2/trunk@964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-09 19:53:04 +00:00
Paul Davis c0192ee340 VST=1 support working in build scripts
git-svn-id: svn://localhost/ardour2/trunk@963 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-09 19:22:35 +00:00
Paul Davis 048526fde8 do not conditionally add directories to "subdirs" because then they are not included in the src tarball if various scons flags are not set
git-svn-id: svn://localhost/ardour2/trunk@960 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-09 17:56:13 +00:00
Paul Davis 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
Paul Davis 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