Commit Graph

1581 Commits

Author SHA1 Message Date
Nedko Arnaudov 8509d8ff5c Use port symbols when restoring lv2 plugin state. Bug #3717
Backport from 3.0 branch. The fix itself was commited as part of r5055.
r5055 needs _port_indices member of the class. _port_indices was
introduced in r4547.

(cherry picked from commit fc258ef102fa101697814478c83a3a2e83ba614a)

Conflicts:
	libs/ardour/ardour/lv2_plugin.h
	libs/ardour/lv2_plugin.cc

This cherry-pick updates the patch to recent upstream version,
from slv2 to lilv.
2013-12-31 00:53:09 +02:00
Paul Davis 3e7a7df183 fix startup errors with 2.x related to boost linkage on some platforms
Note: this should not be required because we do not actually link with ANY boost libraries, so the
occurence of this bug in ardour at run time indicates that the wrong version of boost was used and/or
incorrect flags for using boost are in use.

Fix from  David Henningsson <david.henningsson@canonical.com>
2013-10-04 17:51:03 -04:00
Paul Davis 00e994c649 changes to permit a 64 bit build on OS X of 2.x 2013-04-29 16:40:38 -04:00
Paul Davis 4ce89b5178 fix const-correctness for current lilv
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@14072 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-02-21 14:53:49 +00:00
Paul Davis 54c09b137a add -DBOOST_SYSTEM_NO_DEPRECATED when building anything using boost to avoid linkage issues with boost 1.50 and above
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-02 19:49:01 +00:00
Paul Davis 05457ee552 crossport control surface work from mb2 branch
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 01:03:14 +00:00
Paul Davis 4b72c5851a cross-port fix to generic MIDI control port choice from mixbus2
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-15 20:56:55 +00:00
Paul Davis 73d0f4b9f5 use new ALSA sequencer port tweaks when handling incoming MIDI data
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-04 20:10:21 +00:00
Paul Davis f5a5889f18 new design (inherited from softwerk) to properly handle I/O via ALSA sequencer, where multiple ports are multiplexed via one selectable/pollable fd; fix failure to save an entire class of ALSA sequencer port connections, which helps save/restore control surface sate
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-04 20:09:35 +00:00
Paul Davis 253f0ae04c make note on/off MIDI control do something sensible, rather than attempt to use the enter keyboard as a big fader
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-20 15:10:10 +00:00
Paul Davis a8bd6d1883 fixup SConscript to work on OS X with new build stacks etc.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12978 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-02 13:12:00 +00:00
Paul Davis 3b986aa392 3 spelling mistake fixes from debian
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 15:52:07 +00:00
Paul Davis 743779ce01 remove unused header file copy
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 15:41:16 +00:00
Todd Naugle 08236ff924 Fixing issues with opening a browser when using the bundle. Use xdg-open instead of glib functions. Fix to epa to ensure that the enviroment is restored correctly. The current enviroment has to be cleared. Otherwise any variables that are set in the current enviroment, but do not have a setting in the restored version will be left set.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 20:06:47 +00:00
Paul Davis a0a0fe447c remove stacktrace if there is no room to send a request to the UI thread
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 16:13:49 +00:00
Paul Davis 7c3efef892 print out a stacktrace if there is no room to send a request to the UI thread
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 15:01:29 +00:00
Paul Davis 9dd56383d3 fix bug that has existed since rev 17 when evaluating a curve in a position before the first point of the curve
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 01:43:14 +00:00
Paul Davis f87b5dd23e don't distort xfades when changing their length substantially
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 12:15:14 +00:00
Paul Davis 15c9e45e7b do not select the first possible IO config for AU plugins and use as the i/o valence, just set in/out to -1, which forces us to lookup the value in the plugin itself
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12198 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-07 17:59:25 +00:00
Paul Davis 47ca9f231c **EVEN better** gcc 4.7 fix
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 13:59:44 +00:00
Paul Davis 12774a0718 **better** gcc 4.7 fix
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 13:14:24 +00:00
Paul Davis c37cd8751b another gcc 4.7 fixe
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12103 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 00:08:08 +00:00
Paul Davis e4ca4c9891 #include fix for gcc 4.7 (presumably one of many to come)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 17:50:10 +00:00
Paul Davis 78564e2470 remove soundtouch, fixes for Snow Leopard build, use libintl explicitly on non-glibc systems, fix for new glib include rules
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 15:21:26 +00:00
David Robillard ef03dbe3a4 Rename LV2 designation (BPM, etc) stuff to match terminology used in the spec.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 18:43:05 +00:00
Ben Loftis 4b89f1d35c track bouncing needs to apply automation when in Touch as well as Play. ( not needed on A3 )
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 18:43:23 +00:00
David Robillard 64ee111034 Update LV2 special port stuff for latest LV2/Lilv.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-26 20:06:46 +00:00
David Robillard 58397c04c4 Make it simpler to add new specially handled parameter ports.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29 22:56:18 +00:00
Todd Naugle 920a1fae53 Switch out some strings that still use Ardour and use PROGRAM_NAME instead
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29 20:07:23 +00:00
David Robillard c9907c647d Implement special BPM and free-wheeling control ports.
Input control ports with lv2:hasProperty http://lv2plug.in/ns/ext/time#beatsPerMinute or http://lv2plug.in/ns/lv2core#freeWheeling will be automatically set by Ardour accordingly.


git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11538 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-28 04:34:30 +00:00
David Robillard db589ff626 Implement LV2 URID support.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-24 22:48:34 +00:00
Paul Davis f3b38e263a backport the increase in the click pool size and clear_clicks() call from 3.X
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-15 19:11:52 +00:00
Paul Davis b829261fbc make AUPlugin::describe_parameter() safe
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-15 19:11:23 +00:00
Paul Davis bfd126e73b backport click latency correction change from a3
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-11 15:07:12 +00:00
Paul Davis 66873e9f4b remove dangling debug output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 17:22:29 +00:00
Paul Davis 58a9b0f2de fix up Meta/Mod2/Command madness for OS X
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 17:21:22 +00:00
Paul Davis ad8240f5c1 make PBD::file_subst() actually work
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 17:20:44 +00:00
Paul Davis 23f91595b3 add guard #ifdefs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 17:20:33 +00:00
Paul Davis 8c4a23cfc2 initial rev of file_subst() and its initial use (testing for now) for converting old OS X bindings from Meta to Mod2 modifiers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 15:09:06 +00:00
Ben Loftis 6a851f5a64 fix from a3 svn 10541
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 16:18:38 +00:00
Todd Naugle df5b171c2a backports of 10318, 10380, 10403-10405. Fixes a crash in opening sessions and several leak fixes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 14:33:04 +00:00
David Robillard 85d34e80bf Replace use of SLV2 with its successor Lilv.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-03 21:39:13 +00:00
Paul Davis 33729905f4 compile-time fix for VST support - remove bad result of ustring=>string search-and-replace from a month ago
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28 22:36:10 +00:00
Paul Davis 921bd1fe36 safety fix for the connection-based latency in the event that there are no connections
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 18:09:30 +00:00
Paul Davis 606c13885a make lookup of ardour port names work
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 18:08:58 +00:00
Paul Davis d6e0be5245 minor tweak to OS X linkflags, to remove suppression of undefined symbol warnings
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 14:54:23 +00:00
Paul Davis a57b429dc9 some header-file rearrangements to get JACK weak linkage working correctly
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10142 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 14:52:53 +00:00
Paul Davis aed62d61de reset worst_track_latency to zero before computing it again, so that it can be reduced when latent signal paths get less latent or go away
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 22:07:13 +00:00
Paul Davis c1e827cb48 ardour has never done latency compensations on busses, so what was Route::check_initial_delay() doing? Moved to Track::check_initial_delay() - fixes loopback/play-along recording via the master (or other) busses
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-25 19:47:14 +00:00
Paul Davis 09231489bd first part of colinf's patch for bogus xfades. this merely treats symptoms, not causes, but its application seems like the expedient and sensible thing to do for now
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 17:50:18 +00:00