Commit graph

1327 commits

Author SHA1 Message Date
Paul Davis
2fc01707a7 define VSTPluginInfo::VSTPluginInfo()
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-16 01:55:11 +00:00
Paul Davis
674609dfcd use "weak" attribute rather than "weak_import"
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12 22:10:21 +00:00
Paul Davis
8f0a937d01 add run-time tests for weak-linked symbols from JACK (e.g. functions added to the API since 0.116.2) so that we can avoid using them if running on a platform with an older version of JACK
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12 21:53:27 +00:00
Paul Davis
72d9f9df46 JAG's new region layer editor, tweaked by me to (a) hide editor if we click in a location with just 1 region under the mouse (b) automatically update to reflect playlist modification outside of the layering editor (c) add a clock and a track name to give a bit more context to the editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6067 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12 01:14:21 +00:00
Paul Davis
e19ff50c2c fixup compilation of AU i/o debug patch
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6064 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11 19:37:24 +00:00
Paul Davis
c14c1c2bf3 better/correct AU transport state callback ; debug info for AU I/O configs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11 19:09:24 +00:00
Paul Davis
19b61a81c2 permit compilation even without unreleased versions of JACK
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11 17:03:54 +00:00
Paul Davis
1c5e550e5d fix scons tests for various JACK functions; use jack_on_info_shutdown() if its available at compile time
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11 16:23:37 +00:00
Paul Davis
4abd8d384f do AU parameter change notify for user-created preset changes not just factory presets
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6059 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11 01:10:54 +00:00
Paul Davis
343acfcaa1 working version of AU parameter change notification, presets too
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6058 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11 01:04:02 +00:00
Paul Davis
47be62fc4f first pass at fixing AU parameter notification changes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-10 22:51:44 +00:00
Paul Davis
c5bc47c237 add configure tests for a new JACK API function
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-10 22:28:07 +00:00
Paul Davis
b03aa77850 disable recording when stopping even if we where looping, unless latched rec-enable is in use
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-10 18:19:11 +00:00
Paul Davis
23d5e052f3 prevent routes from being renamed to match some other send/insert name, as well as the existing test for other route names
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-10 18:04:34 +00:00
Paul Davis
ccdd99afce when renaming redirects, scan all routes AND sends AND port inserts for the name to avoid JACK port duplicate names
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-10 17:34:33 +00:00
Paul Davis
6f1964985e plugin menu/manager patch from J. Abelardo Gutierrez (already applied to 3.0)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-08 19:20:12 +00:00
Paul Davis
2b349c9c45 minor cleanups noted while forward porting transport stuff to 3.0
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-08 18:00:40 +00:00
Paul Davis
141e023666 what chris asks for, chris gets. don't ask me why : if in range mode and range is cleared, stop transport but only if doing range play (almost)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-08 03:31:55 +00:00
Paul Davis
5574b46de4 clean up that godawful programming style in the last transport commit, and fix dynamic range playback
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-07 23:48:19 +00:00
Paul Davis
c033e6f875 better design for range plays that leaves the range play button able to play the current range selection
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-07 17:15:54 +00:00
Paul Davis
862cb478a2 the "final" (??) fixes for transport state stuff before 2.8.4. y'all let me know, i'm sure
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-07 03:38:34 +00:00
Paul Davis
8bb5605dfc deep, somewhat subtle changes for transport control. Everything should use Session::request_stop(), which nows takes an additional argument indicating whether or not to clear play range/loop state. UI threads will generally do so, other things, like slave sync objects, generally will not. also fixed stupid delay on exit, caused by unconditional usleep (2.5 seconds) ...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-06 22:43:47 +00:00
Paul Davis
4d613925bf return null when dlopen() fails to load a plugin shared object
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-05 19:29:18 +00:00
Paul Davis
1aaebc43c3 save & restore seamless loop setting when setting sync source, since JACK does not allow seamless looping (and actually, looping with JACK is totally broken right now
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-05 02:13:49 +00:00
Paul Davis
6d07b590bb minor fix to make !seamless loop actually loop
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-04 22:25:37 +00:00
Paul Davis
36c2cc577d various "deep" fixes related to looping, particularly seamless, and transport state
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-04 21:18:37 +00:00
Paul Davis
c7a1fd3951 fix buffer content issue after seamless loop ends
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-04 13:06:40 +00:00
Paul Davis
e0af0cf592 substantial reformatting of code (http://ardour.org/development/styleguide); attempt to rationalize connections made to Config, Session and Route objects; drop master bus in ::close(). MUST BE TESTED BY MCU USERS WITH MULTIPLE SESSIONS PER ARDOUR INSTANCE
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-03 21:10:31 +00:00
Paul Davis
c641b92c12 fix out-by-one error when partitioning a region - if a region continues to exist to the left of the cut position, its length before this fix was 1 sample too long
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-03 19:12:37 +00:00
Paul Davis
25793f7e21 change the implementation of lower_region_to_bottom() and raise_region_to_top() to try to be more robust following subsequent edits
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 21:24:24 +00:00
Paul Davis
76f4758b2c make AU host callback code actually compile
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 20:49:14 +00:00
Paul Davis
95b52e093a implement AU host callbacks, to some extent
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 19:38:31 +00:00
Paul Davis
ad25b45537 initial unfinished support for AU host callbacks (tempo, musical time, transport state)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 17:31:09 +00:00
Paul Davis
2ec80665ea clean up last commit by sharing coding via modify_{front,end}
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 17:24:02 +00:00
Paul Davis
95f1c2369a provide new cut_{front,end} region methods whose semantics for audio fade in/out are subtly different than trim_{front,end}
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 16:40:24 +00:00
Paul Davis
9e1c3be0a7 part two of: don't reset panner or plugin parameter values when switching automation to Write or Off to avoid losing manually-set value (#879, from carl)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 17:42:00 +00:00
Paul Davis
68f85d05b5 patch for unimportant memory leak, #1809
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 17:22:35 +00:00
Paul Davis
766dae795b patch from carl for #2017 - do not stop at session end if synced to jack but not the master. suggests a deeper issue with transport design overall, but that will have to wait
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 16:50:50 +00:00
Paul Davis
3d70a76240 patch from hsyl20 for punch in wierdness (mantis #1937). Thanks!
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 16:43:50 +00:00
Paul Davis
630db4123c remove stop when playing ranges
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 15:51:59 +00:00
Paul Davis
b2c5b3b518 more loop/transport fixups; make visible PH track transport frame as an experiment (instead of audible frame)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 14:38:55 +00:00
Paul Davis
69ac5b3c33 lots of deep but hard to spot changes to transport control, primarily relating to looping and transitions between loop, play-range and regular roll/stop ; add GUI option for seamless looping control (under Options). Needs to be forward ported to 3.0. Please TEST THE HELL out of this one - changes were deeper and wider than i would like, but did consolidate some of the GUI transport control code in a good way
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 02:52:55 +00:00
Sampo Savolainen
2442aa577a Remove unnecessary copy constructor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-29 18:39:21 +00:00
Sampo Savolainen
5a3a2fad4f PluginInfo::type added to copy constructor. But why is the copy constructor defined at all?
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-29 17:56:05 +00:00
Paul Davis
97c0cdd252 loop handling changes: always turn off play_loop @ transport stop ; remove request_play_loop(false) from GUI ; always locate to start of loop when starting to play in loop mode ; if auto-return is enabled, and in loop mode, auto-return to loop start. NEEDS TESTING PLEASE. TRY TO BREAK THIS.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5968 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-29 02:05:17 +00:00
Paul Davis
66a0a11b08 patches for valgrind-reported errors, from carl (#2873)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5963 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 21:42:57 +00:00
Paul Davis
836591b6b5 potential fix for zoom-related crash involving array overrun during peak generation
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5960 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 21:02:28 +00:00
Sampo Savolainen
8e52a22c22 Make sure PluginInfo.type is always set plus replace a mindless class cast kludge from PluginInfo::type() with plugin()->get_info()->type
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 20:21:07 +00:00
Ben Loftis
18dbb55c93 2 patches inspired from 3.0. remove unused butler buffers(drobilla), and region gain (colinf)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 22:27:15 +00:00
Ben Loftis
6a0469c10d some checkins inspired by drobilla commits 5865 and 5866. allow more vertical layout of ladspa bools
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 21:12:35 +00:00