13
0
Commit Graph

2188 Commits

Author SHA1 Message Date
Carl Hetherington
0e0beef90f Fix some excessive search-and-replaces.
git-svn-id: svn://localhost/ardour2/branches/3.0@7104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-15 23:57:41 +00:00
Carl Hetherington
0fd0679c67 Keep to a quota of open files by closing least recently used ones as required. Should fix #2341.
git-svn-id: svn://localhost/ardour2/branches/3.0@7101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-14 02:24:44 +00:00
Carl Hetherington
1f196b4013 Make butler handle auditioner again. Fixes #3128.
git-svn-id: svn://localhost/ardour2/branches/3.0@7100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-13 19:35:35 +00:00
Carl Hetherington
5670e2c3a4 Reset buffer stats on stop. Remove unused minimum playback/capture load stats.
git-svn-id: svn://localhost/ardour2/branches/3.0@7098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-12 00:29:28 +00:00
Carl Hetherington
d60ca669a0 Update diskstream statistics when rolling. Should fix #3067.
git-svn-id: svn://localhost/ardour2/branches/3.0@7096 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-11 23:22:15 +00:00
Carl Hetherington
ac3265d7f4 Evidence from Chris suggests that imported OGG files can clip, so check for that.
git-svn-id: svn://localhost/ardour2/branches/3.0@7095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-11 00:43:28 +00:00
Carl Hetherington
792e3de1d4 Create the session range location as and when the session first gets some content. Allows both the beginning and end of the range to expand to contain the actual session contents.
git-svn-id: svn://localhost/ardour2/branches/3.0@7087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-09 20:48:21 +00:00
Carl Hetherington
ea1a103b26 Reset both IO names rather than just one when setting up the use of a track template.
git-svn-id: svn://localhost/ardour2/branches/3.0@7085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-09 00:47:16 +00:00
Carl Hetherington
45b5b19da2 Re-throw exception slightly better.
git-svn-id: svn://localhost/ardour2/branches/3.0@7084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-09 00:46:54 +00:00
Carl Hetherington
542372cd18 Add debug() method to dump XML nodes.
git-svn-id: svn://localhost/ardour2/branches/3.0@7083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-09 00:46:33 +00:00
78b8eaf565 save global state when quitting BEFORE we stop the engine, so that global MIDI ports are still connected and thus will re-establish their connections on session reload
git-svn-id: svn://localhost/ardour2/branches/3.0@7082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-08 16:47:57 +00:00
Carl Hetherington
8d0581a720 Remove use of i18n macros in headers. Prevents our gettext.h being included before libintl.h, which causes failures when ENABLE_NLS is not defined (bug #3111)
git-svn-id: svn://localhost/ardour2/branches/3.0@7081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-08 01:20:33 +00:00
133aaeaf58 tweak knob drawing, add angular/radial control on button3
git-svn-id: svn://localhost/ardour2/branches/3.0@7078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-07 16:33:25 +00:00
29da90651e prolooks helper code from hans, enabling new knob drawing based on Thorsten Wilm's lovely knob/dial design. To Be Tweaked
git-svn-id: svn://localhost/ardour2/branches/3.0@7074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-06 21:02:08 +00:00
f2ceb5c340 lots of odds and ends to do with solo isolate and its GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@7072 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-06 18:40:37 +00:00
e1ed9467dc draw LED background with same style as parent window; less debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@7070 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-06 02:48:59 +00:00
1ae1eeb257 led\'s for solo-safe and solo-isolate, rather than a context menu (mixer strip only). not finished and some logic errors in terms of turning things on and off
git-svn-id: svn://localhost/ardour2/branches/3.0@7066 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 20:29:46 +00:00
958d5ffefd less debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@7065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 15:48:09 +00:00
3fa522e5df make "exclusive solo" apply to listen as well as SiP
git-svn-id: svn://localhost/ardour2/branches/3.0@7064 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 15:47:51 +00:00
896a0a991c rename latched solo option and reverse its meaning; add exclusive solo button functionality in monitor section; add solo/mute override control in monitor section
git-svn-id: svn://localhost/ardour2/branches/3.0@7059 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 14:09:58 +00:00
2e1d964528 add DEBUG::Solo for conditional debugging of solo stuff, just in case
git-svn-id: svn://localhost/ardour2/branches/3.0@7058 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 03:20:16 +00:00
970f749110 remove solo debugging output for now
git-svn-id: svn://localhost/ardour2/branches/3.0@7057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 03:09:34 +00:00
9a1cce915b this might just be it for solo
git-svn-id: svn://localhost/ardour2/branches/3.0@7056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 03:06:14 +00:00
8f59346592 better handling of the inverse-push of solo-by-upstream. still not quite right, but closer
git-svn-id: svn://localhost/ardour2/branches/3.0@7054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 01:43:25 +00:00
6d9f600560 fix inverse solo push to work properly in both exclusive and non-exclusive solo modes
git-svn-id: svn://localhost/ardour2/branches/3.0@7053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-04 17:45:33 +00:00
bf6de6da77 remove muted-by-others, a concept that turns out to have been a red herring; add auditioning alert button to monitor section; start adding exclusive solo button to monitor section
git-svn-id: svn://localhost/ardour2/branches/3.0@7052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-04 16:39:03 +00:00
823bad3049 when soloed by upstream (e.g. a track in a group solos-by-upstream the group bus), push the inverse solo change back down to everything that feeds us. this makes solo within a group work
git-svn-id: svn://localhost/ardour2/branches/3.0@7050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-04 13:29:38 +00:00
dda0622957 the great solo model simplification (without much code removal)
git-svn-id: svn://localhost/ardour2/branches/3.0@7049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-03 22:07:47 +00:00
e33d4553b2 more solo model work, including a GUI fix for mute button state when the route is self-soloed
git-svn-id: svn://localhost/ardour2/branches/3.0@7048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-03 18:58:38 +00:00
Carl Hetherington
c2da4ec8f9 Prevent multiple tempo / meter changes being inserted at the same point
on the timeline; adding a new change at the same time as an existing one
will replace the existing one.  Should prevent #769 from happening.

Some cleanups and tweaks to tempo / meter dialogues.  Desensitize Remove
menu option for those changes that can't be removed.



git-svn-id: svn://localhost/ardour2/branches/3.0@7045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-02 23:14:43 +00:00
Carl Hetherington
ceb1025c2c Small cleanup: add constructor to InterThreadInfo.
git-svn-id: svn://localhost/ardour2/branches/3.0@7044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-02 19:08:30 +00:00
Carl Hetherington
b30fa60ad9 Fix crash on export.
git-svn-id: svn://localhost/ardour2/branches/3.0@7038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-02 13:14:06 +00:00
Carl Hetherington
0d0e32d8b3 Various fixes to multiple-2D panner signal handling. Should fix some or all of #1632.
git-svn-id: svn://localhost/ardour2/branches/3.0@7037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-02 01:33:25 +00:00
Carl Hetherington
78da07607d Fix snap to bars to account for the fact that the beats are counted from 1 rather than 0.
git-svn-id: svn://localhost/ardour2/branches/3.0@7034 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-01 23:35:04 +00:00
576cdb08b5 perhaps, just possibly, a working solo model. needs to be fixed so that connections to other JACK clients count as "physical" connections, so don't use this with ardour connected to other JACK apps just yet. Oh, this also invalidates existing a3 sessions again
git-svn-id: svn://localhost/ardour2/branches/3.0@7033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-01 15:09:19 +00:00
Carl Hetherington
d57a472c16 Delete cross-thread pools when the thread terminates if they are empty. Hopefully fixes #3094.
git-svn-id: svn://localhost/ardour2/branches/3.0@7022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-29 22:55:27 +00:00
27dfb74bda add proper conditional-header creation and inclusion for VAMP plugins
git-svn-id: svn://localhost/ardour2/branches/3.0@7012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-28 12:25:16 +00:00
f796c0f177 remove some silent-buffer-detecting debugging code
git-svn-id: svn://localhost/ardour2/branches/3.0@7011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-28 12:03:16 +00:00
57f01f2d66 notify about changes to solo-isolated state
git-svn-id: svn://localhost/ardour2/branches/3.0@7010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-28 01:37:38 +00:00
6dac4da983 more solo/mute architecture work. NOTE: changes to mute points are ignored right now
git-svn-id: svn://localhost/ardour2/branches/3.0@7009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-28 01:29:06 +00:00
47de938e99 add muted-by-other concept to solo support infrastructure
git-svn-id: svn://localhost/ardour2/branches/3.0@7005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27 17:10:04 +00:00
a8e354ed7b yet more work on Ye Fabled Solo Architecture. now do forward and backward propagation of solo status from a soloed track. tweak GUI appearance
git-svn-id: svn://localhost/ardour2/branches/3.0@7001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27 03:10:53 +00:00
Carl Hetherington
56469c1956 Revert my revision 6996, which was wrong. Sources need to stay around in the session even when they are no longer being used as the write source for a Diskstream.
git-svn-id: svn://localhost/ardour2/branches/3.0@7000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27 00:59:31 +00:00
Carl Hetherington
581376e0ed Make Session::audible_frame() return a (more) correct answer when the transport has changed direction since it last started rolling. Fixes some playhead anomolies when reversing the transport.
git-svn-id: svn://localhost/ardour2/branches/3.0@6999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27 00:57:46 +00:00
Carl Hetherington
83b30a6d06 Remove some debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@6998 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27 00:29:35 +00:00
Carl Hetherington
e112ed3d6a Make Session listen to DropReferences from Sources, and remove them. Call drop_references for a Source in one imnportant case which occurs during MIDI track creation.
git-svn-id: svn://localhost/ardour2/branches/3.0@6996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-26 21:29:47 +00:00
Carl Hetherington
e950e5de0b Truncate / expand gain envelope when region length changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@6990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-26 00:24:46 +00:00
Carl Hetherington
a4917c9831 Preserve gain envelopes across filtering operations and stretch them across time stretches. Fixes #902.
git-svn-id: svn://localhost/ardour2/branches/3.0@6989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-26 00:23:40 +00:00
Carl Hetherington
ed9d42c55d Some comments and minor cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@6988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-26 00:22:26 +00:00
Carl Hetherington
990f3391ad Make attenutation during fast forward/rewind configurable again. Fixes #3089.
git-svn-id: svn://localhost/ardour2/branches/3.0@6985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-25 15:30:14 +00:00
Carl Hetherington
f29c96c188 Fix setting of location start position. Fixes #3090.
git-svn-id: svn://localhost/ardour2/branches/3.0@6984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-25 14:33:42 +00:00
Torben Hohn
4cd13b606f fix session loading
git-svn-id: svn://localhost/ardour2/branches/3.0@6967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-22 16:36:52 +00:00
Carl Hetherington
3bfb8ce383 Gah! Typo in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@6960 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-22 12:22:57 +00:00
Carl Hetherington
c71cc3702e torbenh's buffer manager fixes from 3.0P
git-svn-id: svn://localhost/ardour2/branches/3.0@6959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-22 12:20:04 +00:00
Carl Hetherington
9213e9c909 Allow more than one peaks_ready callback to be pending for an AudioRegionView
at any one time.  Prevents problems when there is more than 1 channel for which
peaks are not ready; before, the first peaks_ready callback would be forgotten
when the second one was requested.  Should fix #3074.


git-svn-id: svn://localhost/ardour2/branches/3.0@6951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-22 01:40:33 +00:00
Carl Hetherington
5b4b2c04e5 Fix compile warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@6950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-22 01:38:47 +00:00
Carl Hetherington
bc8a459dbe Clean up some location handling bits; should fix update of editor summary when session start/end is moved.
git-svn-id: svn://localhost/ardour2/branches/3.0@6948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-22 00:20:57 +00:00
Carl Hetherington
b32efee4b3 Fix loading of MIDI tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@6947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-21 21:44:10 +00:00
Carl Hetherington
950ac6ef2b Don't try to load separate diskstreams in 3.0 session files. Fix a few uses of Diskstream outside Track.
git-svn-id: svn://localhost/ardour2/branches/3.0@6946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-21 21:29:15 +00:00
Carl Hetherington
061a85191c Move Diskstream ownership to Track, so that Session no longer holds lists of Diskstreams. Breaks 3.0 file format again.
git-svn-id: svn://localhost/ardour2/branches/3.0@6945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-21 20:42:22 +00:00
d9cebc2edf commits 6001-6525 inclusive from 2.X applied to 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@6942 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-21 02:24:38 +00:00
f119387d76 indicate "soloed-by-others" state on solo button via a "half-lit" state
git-svn-id: svn://localhost/ardour2/branches/3.0@6939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-20 12:38:37 +00:00
2cb5595b11 fix solo/listen issues when reloadign a session, caused by that last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@6937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-19 17:48:11 +00:00
1ceee92bb5 permanently mark Delivery processors on master/monitor/audition as immune to solo effects, rather than having to reset them every time something else is soloed
git-svn-id: svn://localhost/ardour2/branches/3.0@6936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-19 14:02:53 +00:00
Carl Hetherington
0cde999d87 Move toggle-waveforms-while-recording into RC options.
git-svn-id: svn://localhost/ardour2/branches/3.0@6935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-19 01:40:42 +00:00
Carl Hetherington
0a40e0be86 Load 2.X sessions correctly with newly-arranged session start/end markers.
git-svn-id: svn://localhost/ardour2/branches/3.0@6933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-18 23:58:43 +00:00
Carl Hetherington
e4258dcaf9 Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@6932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-18 23:58:21 +00:00
Carl Hetherington
895bad1dcd Make the session start/end location a single location (with start and end) rather than two separate ones. Fixes #1298.
git-svn-id: svn://localhost/ardour2/branches/3.0@6929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-18 21:29:48 +00:00
5ddedeec73 make sure that meters are configured to handle the right number of channels, and allow internal returns to be restored from XML in non-monitor busses
git-svn-id: svn://localhost/ardour2/branches/3.0@6917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-16 19:31:10 +00:00
dc815ea8e8 forward-port from 2.X commits 5827-6000 including
git-svn-id: svn://localhost/ardour2/branches/3.0@6914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-15 20:42:05 +00:00
Carl Hetherington
d2e26e3219 Remove out-of-date members of freeze_record which are now accounted for by Processor state.
git-svn-id: svn://localhost/ardour2/branches/3.0@6906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-15 00:43:52 +00:00
Carl Hetherington
84e92060fd Prevent crash in pool destruction during session teardown.
git-svn-id: svn://localhost/ardour2/branches/3.0@6905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 23:58:20 +00:00
Carl Hetherington
7939dd9399 Don't run meters either during freeze.
git-svn-id: svn://localhost/ardour2/branches/3.0@6904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 23:58:07 +00:00
Carl Hetherington
3d3e889dd6 Separate interthread progress window out into its own class and HIG-ify it a bit. Make the import progress bar report on the whole import rather than individual files.
git-svn-id: svn://localhost/ardour2/branches/3.0@6894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 22:16:46 +00:00
Carl Hetherington
8783fc35f2 Suspend deletion of cross-thread pools until they are empty. Prevents crashes when the freeze thread completes.
git-svn-id: svn://localhost/ardour2/branches/3.0@6893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 22:06:12 +00:00
Carl Hetherington
72f8544b24 Don't run deliveries to output ports during export / freeze.
git-svn-id: svn://localhost/ardour2/branches/3.0@6892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 15:21:55 +00:00
a83157de45 remove babbling torrent of debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@6889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-13 21:05:59 +00:00
3ea10b38bb substantive change: use the JACK wait API and provide "thread buffers" separately from session in preparation for parallelization. lots of debug output at present. If using JACK1, requires a very current version of JACK1 SVN (0.119.0)
git-svn-id: svn://localhost/ardour2/branches/3.0@6888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-13 20:48:33 +00:00
Carl Hetherington
46ea5f5f58 Reduce stack requirement of AudioTrack::export_stuff, which fixes a crash when freezing.
git-svn-id: svn://localhost/ardour2/branches/3.0@6887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-13 01:18:05 +00:00
981c8906fb alignment/capture/positioning changes ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@6886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-12 22:35:06 +00:00
Carl Hetherington
33028f4d6d Fix import dialogue to correctly report (x of N) with multiple files, and slightly prettify it. Partially fixes #3064.
git-svn-id: svn://localhost/ardour2/branches/3.0@6882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-10 01:35:11 +00:00
Carl Hetherington
f4ac9430f3 Prevent clipping during the import of files from sources that have
amplitudes greater than 1 when data is being stored in files that
are clamped. e.g. when importing hot sources and resampling them
when the session file format is integer.


git-svn-id: svn://localhost/ardour2/branches/3.0@6879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-09 14:11:47 +00:00
77c09fc824 add support for "msg=" bindings and also action="SomeGroup/Action"
git-svn-id: svn://localhost/ardour2/branches/3.0@6876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-08 21:05:55 +00:00
5970212b87 similar fix for punch recording as applied to 2.X, with additional tweak that when we fetch the audio port buffer, we must use the full nframes() for the current ::roll() call and not rec_nframes. otherwise, we get back an AudioBuffer that thinks it is smaller than it really is. there may be other issues with this distinction lurking somewhere
git-svn-id: svn://localhost/ardour2/branches/3.0@6873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-07 14:39:34 +00:00
Carl Hetherington
298db6ef35 Add virtual destructor.
git-svn-id: svn://localhost/ardour2/branches/3.0@6871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-07 12:49:31 +00:00
Carl Hetherington
2e2b35d953 Comment format.
git-svn-id: svn://localhost/ardour2/branches/3.0@6866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-07 00:17:19 +00:00
e3ed1adadd (3.0 version of 2.0-ongoing) fix 100% CPU usage after killing JACK caused by faulty logic in butler thread main loop
git-svn-id: svn://localhost/ardour2/branches/3.0@6865 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-06 18:17:46 +00:00
e69aca2842 MIDI/Controllables for monitor section, and related fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@6863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-06 16:57:35 +00:00
Carl Hetherington
3a7487d3fa Resort routes after processors change. Ensures that, e.g. things work after adding sends to tracks. Fixes #2794.
git-svn-id: svn://localhost/ardour2/branches/3.0@6862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-06 12:13:38 +00:00
Carl Hetherington
60158fd2b4 Emit signal when a group's active state is changed. Fix restoration of state from XML.
git-svn-id: svn://localhost/ardour2/branches/3.0@6859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-05 17:17:48 +00:00
Carl Hetherington
6e49c73bb0 Make port matrix notice when connections are changed outside of ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@6858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-05 15:23:54 +00:00
9644362c92 remove some OS X cruft in io.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@6856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-03 16:11:56 +00:00
7151d28ae3 fix build process to avoid mismatching size/layout of AudioEngine object; use a slightly more efficient way to access the engine's process_lock from within io.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@6855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-03 15:53:19 +00:00
3104041e67 meter point restore handling, and related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-03 13:40:34 +00:00
Sakari Bergen
d166d0584f Re-connect some signals in export format stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@6853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-03 08:40:21 +00:00
Carl Hetherington
8a8552c4cb Allow cross-thread request invalidators to cope with multiple requests
being logged before they are handled, and to invalidate them all rather
than just the last one.  Fixes shutdown problems when the PortMatrix has
been opened during the session, during which PortRegisteredOrUnregistered
is emitted quite heavily.


git-svn-id: svn://localhost/ardour2/branches/3.0@6852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-03 00:42:39 +00:00
Carl Hetherington
f14a33e492 Couple of comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@6851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 23:11:15 +00:00
Sakari Bergen
9943e0c6be Make session and master outs the default timespan and channel config for export
git-svn-id: svn://localhost/ardour2/branches/3.0@6849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 22:57:02 +00:00
Carl Hetherington
e31c2e4dcb Fix logic for when to request buffer overwrite.
git-svn-id: svn://localhost/ardour2/branches/3.0@6848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 22:45:50 +00:00
Carl Hetherington
12ce8f17f4 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@6847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 22:45:30 +00:00
Carl Hetherington
4dfa48ad1d Add missing test file.
git-svn-id: svn://localhost/ardour2/branches/3.0@6846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 21:11:45 +00:00
c7b867bddb missign return value
git-svn-id: svn://localhost/ardour2/branches/3.0@6845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 21:11:01 +00:00
Sakari Bergen
48dd5afaa5 Make audiographer SndfileWriter use PBD::Signal and use it properly. Also make export graph stuff use boost::ptr_list (because of ScopedConnection non-copyability)
git-svn-id: svn://localhost/ardour2/branches/3.0@6844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 20:49:02 +00:00
ad7025ae84 possible fix for race between diskstream buffer overwrite and channel setup
git-svn-id: svn://localhost/ardour2/branches/3.0@6843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 20:14:28 +00:00
7ed95f7c37 (FULL) not-yet-complete JACK session management patch (TODO: get program name, vary snapshot name, arrange quit when necessary)
git-svn-id: svn://localhost/ardour2/branches/3.0@6841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 18:54:33 +00:00
Carl Hetherington
97e11c790f A few more libpbd test tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@6839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 16:38:23 +00:00
Carl Hetherington
69f135517a Unbreak build. Sorry.
git-svn-id: svn://localhost/ardour2/branches/3.0@6837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 15:45:01 +00:00
Carl Hetherington
9c5f36c328 Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@6836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 15:37:11 +00:00
Carl Hetherington
eecb8c496a Some stub tests for scalar properties.
git-svn-id: svn://localhost/ardour2/branches/3.0@6835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 15:35:36 +00:00
a48742043b remove PBD::Connection (replace use with PBD::ScopedConnection); remove limitation on transport roll after session end
git-svn-id: svn://localhost/ardour2/branches/3.0@6834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 15:24:53 +00:00
Carl Hetherington
3dd7f05fb1 Remove empty file.
git-svn-id: svn://localhost/ardour2/branches/3.0@6833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 14:58:39 +00:00
Carl Hetherington
2fa02997dd Add script to run libpbd tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@6832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 14:55:34 +00:00
Carl Hetherington
9e3280ae67 Build libpbd tests using waf.
git-svn-id: svn://localhost/ardour2/branches/3.0@6831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 14:52:55 +00:00
Carl Hetherington
24fee4b8ef Rename tests to test to match up with other libraries.
git-svn-id: svn://localhost/ardour2/branches/3.0@6830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 14:42:38 +00:00
Carl Hetherington
1cc0bc8344 Fix crash in test.
git-svn-id: svn://localhost/ardour2/branches/3.0@6829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 14:30:14 +00:00
Carl Hetherington
9b35264bdb Make sure that tests are rebuilt even when only their headers change.
git-svn-id: svn://localhost/ardour2/branches/3.0@6828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 14:30:00 +00:00
Carl Hetherington
b68256a8ff Fix up route group state signal handling. Make the PropertyList version
of Stateful::set_properties emit a changed signal after it has done its work.


git-svn-id: svn://localhost/ardour2/branches/3.0@6826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-02 00:21:08 +00:00
38575cd805 fix save+restore of Gtkmm2ext::Tearoff state; a few cerr cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@6823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-01 02:29:13 +00:00
Carl Hetherington
2ad3940b54 Oops. Actually make new Properties changes work.
git-svn-id: svn://localhost/ardour2/branches/3.0@6822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-01 02:18:58 +00:00
f08a4e014d don't override user naming of send/return/port inserts
git-svn-id: svn://localhost/ardour2/branches/3.0@6820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-01 01:59:47 +00:00
c0c617902e revisit setting up processors during route construction; remove several more XML-based constructors; don't put () parens around inactive plugin names (we have a checkbox); improve management of send, return and insert bitslot IDs; clean up Diskstream construction a bit more
git-svn-id: svn://localhost/ardour2/branches/3.0@6819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-01 01:24:13 +00:00
Carl Hetherington
50dd880d7e No-op: rename a few variables and add/fix some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@6818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-01 01:07:24 +00:00
Carl Hetherington
afc5e3bd02 Rework to set Stateful properties automagically in the Stateful class rather than delegating to subclasses.
git-svn-id: svn://localhost/ardour2/branches/3.0@6817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-31 22:45:27 +00:00
Carl Hetherington
7f8b337d30 A few small cleanups to the property code.
git-svn-id: svn://localhost/ardour2/branches/3.0@6816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-31 22:17:01 +00:00
f7a9434034 functioning invert (polarity) button; menu item removed and track name button no longer relablled when inverted
git-svn-id: svn://localhost/ardour2/branches/3.0@6813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-31 00:59:09 +00:00
Carl Hetherington
e3dd8cc3ee Move region naming stuff from Session into RegionFactory, cleaning up some vestiges of when Session had a list of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@6812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 23:40:28 +00:00
Sakari Bergen
a743d20dce Fix split channel export (which was broken during export refactoring)
Possibly fixes bug #3052

Also clarify some comments which weren't quite clear :)


git-svn-id: svn://localhost/ardour2/branches/3.0@6808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 15:25:28 +00:00
14b0ca31bc handle deletion of UI objects between the time that a callback is queued with the UI event loop and the execution of the callback (intrusive, big)
git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 15:18:43 +00:00
10c257039d fix bug in MidiStateTracker::resolve_notes() involving argument reversal when constructing a NoteOff event (thanks to lincoln for this)
git-svn-id: svn://localhost/ardour2/branches/3.0@6805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-28 19:36:46 +00:00
f297e9fa51 lincoln's patch to get loading 2.X sessions to work better
git-svn-id: svn://localhost/ardour2/branches/3.0@6804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-28 19:07:23 +00:00
5e8b3f0832 part one of hiding Diskstreams and making them a private object of a Track
git-svn-id: svn://localhost/ardour2/branches/3.0@6802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-27 14:41:24 +00:00
4be50fc81b disable panner on main outs of monitor bus - it doesn't pan, ever.
git-svn-id: svn://localhost/ardour2/branches/3.0@6801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-27 12:35:45 +00:00
316fca72db lots of work to hide prelight from most buttons, etc. etc. etc; increase range of solo boost knob; theme RC files changes need propagating to the light theme, sigh
git-svn-id: svn://localhost/ardour2/branches/3.0@6799 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-26 21:24:17 +00:00
ac5bbf4b99 use correct (RCConfig-based) name for MIDI port in generic MIDI control stuff; make monitor section track configuration params that apply to it; add use-monitor-bus option to rc option editor
git-svn-id: svn://localhost/ardour2/branches/3.0@6797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-25 16:03:31 +00:00
f1b0f30cd5 make solo button2 click function as momentary even when in listen mode; tweak auditioner so that we know if its using the monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@6795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-25 14:51:32 +00:00
02583c300f would you look at that! all those changes just to make the auditioner work again ....
git-svn-id: svn://localhost/ardour2/branches/3.0@6794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-25 03:40:07 +00:00
Carl Hetherington
896aa29dcf Remove use of xmlCleanupParser as suggested in the libxml2 docs. Fixes #3047.
git-svn-id: svn://localhost/ardour2/branches/3.0@6793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-25 01:24:59 +00:00
2726184f42 remove XML-based constructors for several types of Processors; less debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@6790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-24 14:01:31 +00:00
b3a3e66f77 remove XML constructors for Route, Track, AudioTrack, MidiTrack; make Session::XMLRouteFactory() call a constructor and then set_state(); lots of debugging output (will remove next commit)
git-svn-id: svn://localhost/ardour2/branches/3.0@6789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-24 12:55:04 +00:00
f11a5e1769 don't set _is_new=false too early when creating a new session
git-svn-id: svn://localhost/ardour2/branches/3.0@6788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-23 17:58:40 +00:00
Carl Hetherington
eb6ae56faf Fix track mode options to appear only once on audio tracks rather than twice. Fix event handling logic for these options. HIG-ify some menu items.
git-svn-id: svn://localhost/ardour2/branches/3.0@6787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-23 13:11:14 +00:00
Carl Hetherington
40f93ba6e0 Add an assert and fix a crash on creating a new tape track.
git-svn-id: svn://localhost/ardour2/branches/3.0@6785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-22 22:14:54 +00:00
4d33dcd5d7 remove near-duplicate session constructor; change names from control_outs to monitor_out and control_out to monitor_send; may havebroken creation of new sessions in a wierd way (will fix later)
git-svn-id: svn://localhost/ardour2/branches/3.0@6783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-22 21:35:35 +00:00
9bdb9836b5 fix import of MIDI files
git-svn-id: svn://localhost/ardour2/branches/3.0@6782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-22 21:33:01 +00:00
7689d72875 put the issue of using a monitor section into ~/.config/ardour.rc, not the session file. probably not totally right yet. provide startup dialog choice page to let first time users make the decision when first trying ardour (needs rewording)
git-svn-id: svn://localhost/ardour2/branches/3.0@6780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-22 03:22:28 +00:00
814f2fbd8f change session construction so that the the monitor bus config is derived (once) from the master bus config
git-svn-id: svn://localhost/ardour2/branches/3.0@6779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-21 17:02:30 +00:00
692987ee2e shift-click MotionFeedback widgets to reset to default, and monitor section SiP cut now does something (but doesn't pay attention to changes from elsewhere yet
git-svn-id: svn://localhost/ardour2/branches/3.0@6778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-19 21:40:23 +00:00
d163021950 lots of tricks & tweaks related to the monitor section and All That It Uses
git-svn-id: svn://localhost/ardour2/branches/3.0@6777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-19 20:53:22 +00:00
587021ac0b make another note about win32 C++ sym name demangling
git-svn-id: svn://localhost/ardour2/branches/3.0@6776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-19 13:34:25 +00:00
f36bd6993f make a note about win32 C++ sym name demangling
git-svn-id: svn://localhost/ardour2/branches/3.0@6775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-19 02:56:58 +00:00
f0748535a5 save tearoff state; restore monitor section state reasonably well; fixup access control to parts of editor.h (needs more work); extend CrossThread just a little
git-svn-id: svn://localhost/ardour2/branches/3.0@6774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-19 02:49:01 +00:00
295eb9a395 force AFL monitor/listen send to be at the very end of the Route processor list; put the monitor processor used by the monitor/listen send right after that bus' internal return (to provide for post-monitor-control metering etc); hide monitor/listen sends
git-svn-id: svn://localhost/ardour2/branches/3.0@6773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-18 01:31:54 +00:00
8caed20c97 fixes for various consistency/settings issues in monitor section; minor edit to PACKAGER_README
git-svn-id: svn://localhost/ardour2/branches/3.0@6771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-17 16:01:58 +00:00
da3f9e3e07 do not use SSE source code on a non-x86 build
git-svn-id: svn://localhost/ardour2/branches/3.0@6770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-17 15:25:04 +00:00
7286ca7c45 more new files
git-svn-id: svn://localhost/ardour2/branches/3.0@6763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-16 19:18:37 +00:00
4e9ad8da45 new files
git-svn-id: svn://localhost/ardour2/branches/3.0@6762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-16 19:16:23 +00:00
6ef5d85ae1 changes from 2.X starting in march 2009 through oct 20 2009 (5826 inclusive)
git-svn-id: svn://localhost/ardour2/branches/3.0@6761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-16 15:33:04 +00:00
Sakari Bergen
830911f6f9 Fix export, which has been broken since the boost::signals2 changes. Also update Audiographer, bacause of its incomplete sndfile handling. Audiographer is equal to revision 74
git-svn-id: svn://localhost/ardour2/branches/3.0@6760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-15 19:11:48 +00:00
44f4b84551 finalize PROGRAM_NAME change for ardour3
git-svn-id: svn://localhost/ardour2/branches/3.0@6759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-15 02:31:27 +00:00
f85161c5d0 "Ardour" -> PROGRAM_NAME change for libardour and setup for gtk2_ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@6757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-13 19:22:34 +00:00
e10f59f96c map most (all?) monitor processor state into/onto monitor section GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@6749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-12 00:19:46 +00:00
c5dab0e2a8 save/restore monitor processor state; key handling in torn off monitor section window
git-svn-id: svn://localhost/ardour2/branches/3.0@6748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-11 22:51:24 +00:00
100d7c0f82 monitor section: make sip/afl/pfl buttons work, add rude solo, mono function, rearrange
git-svn-id: svn://localhost/ardour2/branches/3.0@6747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-11 14:33:21 +00:00
ada93428b4 more missing files added
git-svn-id: svn://localhost/ardour2/branches/3.0@6746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-10 17:31:58 +00:00
325671e20a how about that ... a monitor/main section .. GUI is still unfinished .. several small fixes to processor loading/listen mgmt and a few debug output lines rmeoved. knob images are provisional, and can be found in icons/knob.png and related files
git-svn-id: svn://localhost/ardour2/branches/3.0@6744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-10 17:31:16 +00:00
b2bc408cef remove yesterday's mayhem with MainListen and get afl/pfl sorta-kinda working
git-svn-id: svn://localhost/ardour2/branches/3.0@6742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-08 02:14:23 +00:00
2085cddab3 the last (?) piece of the internal send/listen/monitor/control outs track/bus architecture puzzle: a send from the post-fader master bus to the control/listen/monitor bus inputs that is silent when something is soloed, but the rest of the time delivers the main mix to the control/listen/monitor bus. Tweaks to follow, surely ...
git-svn-id: svn://localhost/ardour2/branches/3.0@6740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-06 19:47:34 +00:00
b6b68881b2 remove the session region list; GUI now represents (a relatively unfiltered view of) the raw region list that always contains every single region ever created
git-svn-id: svn://localhost/ardour2/branches/3.0@6739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-06 15:40:42 +00:00
93dac756a2 prevent relaying during an undo/redo operation; remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@6728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-04 15:55:08 +00:00
0e10f8a290 add new file
git-svn-id: svn://localhost/ardour2/branches/3.0@6727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-04 15:01:27 +00:00
6dde6c5a8f goodbye to MementoCommand for playlists
git-svn-id: svn://localhost/ardour2/branches/3.0@6726 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-04 13:15:04 +00:00
c2c224727e changes to help strp silence
git-svn-id: svn://localhost/ardour2/branches/3.0@6725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-03 23:39:26 +00:00
3e013e45b3 fix up start-in-source values from regions created as sections of another region (semantics changed as plists were introducted); remove some "optimizations" from Playlist::set_state() added to help with MementoCommand but that made undo not work correctly; make sure that Playlist::clear() notifies about regions being removed
git-svn-id: svn://localhost/ardour2/branches/3.0@6722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-02 21:08:37 +00:00
3a85e71031 (1) stop using mangled names in history state, use demangled ones instead (2) fix region split so that the generated regions have the right start points in the source(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@6721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-02 19:12:01 +00:00
17088ee3ea (1) remove most uses of MementoCommand for Playlist and Region (2) move frozen state from Region into Stateful, renamed "suspend property changes" (3) successive changes to a Property (scalar) after clear_history() do not keep resetting the old value (fixes region trim)
git-svn-id: svn://localhost/ardour2/branches/3.0@6720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-02 18:05:26 +00:00
a5ab2e99e1 PBD::capitalize() and use it to for the XML node name of a SequenceProperty's history node
git-svn-id: svn://localhost/ardour2/branches/3.0@6719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-02 01:05:14 +00:00
db8b575c30 the mega-properties/SequenceProperty patch. split is broken at present (right hand starts has start-in-source of zero)
git-svn-id: svn://localhost/ardour2/branches/3.0@6718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-02 00:00:00 +00:00
482f21f9dd Fix adding multiple tracks (regression from r6711).
git-svn-id: svn://localhost/ardour2/branches/3.0@6712 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-26 23:35:58 +00:00
0efd1c6f0b Factor out massive code duplication in route creation stuff.
Fix auto-connect logic for multiply-typed routes.


git-svn-id: svn://localhost/ardour2/branches/3.0@6711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-23 22:45:07 +00:00
650c6d5824 Fix various code quality issues found by cppcheck (e.g. uninitialized members, larger than necessary variable scope, memory leaks, etc).
git-svn-id: svn://localhost/ardour2/branches/3.0@6710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-23 20:25:53 +00:00
db14006645 remove RegionCommand
git-svn-id: svn://localhost/ardour2/branches/3.0@6708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-22 17:23:32 +00:00
f51e92290e set default region amplitude scale factor to 1.0, not 0.0, thus restoring audio & waveforms for new sessions
git-svn-id: svn://localhost/ardour2/branches/3.0@6706 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-21 17:58:05 +00:00
7720d0d109 ensure that imported regions have names based on the files they are based on
git-svn-id: svn://localhost/ardour2/branches/3.0@6705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-20 03:32:42 +00:00
5fe37dbc53 Uncrustify. Sorry. :)
git-svn-id: svn://localhost/ardour2/branches/3.0@6704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 23:46:00 +00:00
29015dc5df Fix MIDI command names smashed by overzealous sedding.
git-svn-id: svn://localhost/ardour2/branches/3.0@6703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 21:59:29 +00:00
d9d1a4a5cf add begin/end undo/redo signals so that playlist can freeze/thaw itself around potentially NxM region property changes; clean up debug output; don't connect streamview to Playlist::ContentsChanged because there appears to be no need for it - we catch add/remove region, and region property changes are handled by RegionView
git-svn-id: svn://localhost/ardour2/branches/3.0@6702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 21:49:56 +00:00
fa701b8c06 change PropertyChange from a bitfield into a real object, with all the many widespread changes that causes
git-svn-id: svn://localhost/ardour2/branches/3.0@6701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 18:09:08 +00:00
95b8a69a58 overall timing for undo/redo ops
git-svn-id: svn://localhost/ardour2/branches/3.0@6699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 16:34:09 +00:00
6b86da6760 add missing/new file
git-svn-id: svn://localhost/ardour2/branches/3.0@6697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 14:25:45 +00:00
6ccab0da0a fix up reload of existing session by avoiding stupid early return in a RegionFactory::create() method
git-svn-id: svn://localhost/ardour2/branches/3.0@6696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 14:15:15 +00:00
ce7a5e1c9f the Properties & 64bit region commit
git-svn-id: svn://localhost/ardour2/branches/3.0@6695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 13:59:49 +00:00
cdcc4d3720 new file
git-svn-id: svn://localhost/ardour2/branches/3.0@6686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-15 16:25:46 +00:00
ab7f800fb4 split out State... objects and rename as Property...
git-svn-id: svn://localhost/ardour2/branches/3.0@6682 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-13 17:51:40 +00:00
fccd7d5103 torben's latest fix for the MTC PiC (adjust catch factor)
git-svn-id: svn://localhost/ardour2/branches/3.0@6679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-12 18:40:42 +00:00
a1e0dc13df tweak Stateful/StatefulDiffCommand changes so that SessionObject's actually get a name; make StatefulDiffCommand use a weak_ptr, not a raw ptr; use .val() rather than .get() to avoid confusion with boost:: smart ptr method of the same name
git-svn-id: svn://localhost/ardour2/branches/3.0@6678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 23:10:29 +00:00
f938687f87 fix last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@6677 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 18:05:51 +00:00
47018a3bd1 some fixes/tweaks for MTC slaving, some untested
git-svn-id: svn://localhost/ardour2/branches/3.0@6676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 18:00:50 +00:00
Carl Hetherington
3a27410dcb More tinkering with State<>. Use some StateDiffCommands instead of
MementoCommand<Region>.  More use of State<> for Region members.


git-svn-id: svn://localhost/ardour2/branches/3.0@6675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 17:08:34 +00:00
Carl Hetherington
3c00a7ca2a Move ARDOUR::Change into PBD so that Stateful can be aware of
what Change a State reflects.  Hence allow Stateful to do some
of the work of set/get_state in Region.


git-svn-id: svn://localhost/ardour2/branches/3.0@6671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-10 01:38:20 +00:00
Carl Hetherington
c9d433d9b3 Make the MementoCommand and StatefulDiffCommand factories look up region IDs in the RegionFactory's map, so that they find the ones they are looking for.
git-svn-id: svn://localhost/ardour2/branches/3.0@6670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 22:45:13 +00:00