Commit graph

1335 commits

Author SHA1 Message Date
Paul Davis
e78cd3add8 required extra header for memset() in FPU
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-31 23:56:30 +00:00
Paul Davis
87127bae2d un-fix register clobber for gcc on x86 and update comments on register clobbering
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-31 18:20:13 +00:00
Paul Davis
05f68565cc asm fixes for FPU::FPU() back ported from 3.0
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-31 17:53:10 +00:00
Paul Davis
7269bab49c fix borked discovery of factory presets
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-23 16:05:48 +00:00
Ben Loftis
95566ba565 fix typo in AU cache loading
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22 20:35:53 +00:00
Ben Loftis
360b97a763 backport feature to show only tracks with regions under the playhead (thanks Carl) and fix Save As function (thanks Paul)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-08 20:42:52 +00:00
Paul Davis
c1a10ef31f weak version of "Save As"
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-07 20:35:59 +00:00
Paul Davis
84ed50fd8b do not indirect through AU transport state pointers when actually testing for null
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6141 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-20 22:38:15 +00:00
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