13
0
Commit Graph

2970 Commits

Author SHA1 Message Date
1c3f709bf7 part two of new JACK latency API support - should fix broken compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 19:55:14 +00:00
01c253b61b part one of several parts: implement support for new (and correct) JACK latency API
git-svn-id: svn://localhost/ardour2/branches/3.0@8863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 18:47:10 +00:00
Doug McLain
8d44c2b82a Update rc files to use unique rc variable names, update wscript to use the names, and re-enable theme switching
git-svn-id: svn://localhost/ardour2/branches/3.0@8861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 18:02:50 +00:00
Carl Hetherington
ea11968f95 Clean up and hopefully fix handling of logarithmic plugin parameters (fixes #3769).
git-svn-id: svn://localhost/ardour2/branches/3.0@8850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:42:48 +00:00
Carl Hetherington
4aaa507472 No-op: whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:09:03 +00:00
Carl Hetherington
70126fb9d6 Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@8848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:08:15 +00:00
7a5b6a5031 patches from lincoln to speed up the regionlist and provide region removal (causes dangling shared ptrs to regions, fix to come
git-svn-id: svn://localhost/ardour2/branches/3.0@8845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 21:49:43 +00:00
7ac5d03cb8 3.0 version of previous 2.X change to always prevent deletion of existing sources
git-svn-id: svn://localhost/ardour2/branches/3.0@8842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 16:04:53 +00:00
Doug McLain
b307462f4f Disable theme changing untill we figure out whats broken
git-svn-id: svn://localhost/ardour2/branches/3.0@8840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 04:44:52 +00:00
Doug McLain
d4dd6fbe63 Make light theme functional, add waf processing, and small change to UI::load_rcfile() that fixes a hang when switching between two rc files that are identical in style defs
git-svn-id: svn://localhost/ardour2/branches/3.0@8839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 01:46:57 +00:00
Carl Hetherington
d36e6b95c0 GCC 4.6 fixes from oget (#3771).
git-svn-id: svn://localhost/ardour2/branches/3.0@8835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-13 18:47:13 +00:00
dce6d0e6a3 actually delete the contents of the history list, rather than just empty the list. could break things at session closing.
git-svn-id: svn://localhost/ardour2/branches/3.0@8833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-12 20:57:44 +00:00
Carl Hetherington
825cb4ce18 Label logarithmic plugin controls correctly. Should fix #3767.
git-svn-id: svn://localhost/ardour2/branches/3.0@8832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-12 14:10:15 +00:00
2aa4fc8599 keep track of the solo mute gain control for MIDI binding etc. etc
git-svn-id: svn://localhost/ardour2/branches/3.0@8829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 22:21:27 +00:00
1a49bb9556 use volume controller widget for monitor section, drop some now-unused code
git-svn-id: svn://localhost/ardour2/branches/3.0@8828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 18:04:09 +00:00
2484291254 provide solo mute gain Config parameter as a controllable and use it in the monitor section GUI to allow MIDI binding
git-svn-id: svn://localhost/ardour2/branches/3.0@8825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 16:14:54 +00:00
c1be28e7b0 new class to wrap a pair of set/get methods as a Controllable
git-svn-id: svn://localhost/ardour2/branches/3.0@8824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 16:14:24 +00:00
7cf4419d62 #ifdef-ize all/most uses of the boost debug hooks API
git-svn-id: svn://localhost/ardour2/branches/3.0@8823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 18:33:43 +00:00
01471c8879 break circular reference between panners and pannables; more destruction debug tracing; a little more boost debug stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@8822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 18:13:15 +00:00
7fc5212eaf get boost debug code working again (global constructors, proper location for the define)
git-svn-id: svn://localhost/ardour2/branches/3.0@8818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 13:41:41 +00:00
Carl Hetherington
5d64748a51 Minor cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@8817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 02:45:06 +00:00
d9770ba4cc set up default speakers in new sessions
git-svn-id: svn://localhost/ardour2/branches/3.0@8809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 16:42:18 +00:00
2b3adfb18f make SiP mute gain work ... hopefully without breaking anything else
git-svn-id: svn://localhost/ardour2/branches/3.0@8808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 16:37:07 +00:00
e460208d22 export graph uses as many threads as there are cores, not the number of DSP threads
git-svn-id: svn://localhost/ardour2/branches/3.0@8796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 13:11:14 +00:00
08e01b85c8 make the export graph use the same number of threads as the DSP graph
git-svn-id: svn://localhost/ardour2/branches/3.0@8795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 13:01:23 +00:00
a2354db323 make a note about process lock and ARDOUR::how_many_dsp_threads()
git-svn-id: svn://localhost/ardour2/branches/3.0@8794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 02:51:50 +00:00
e61b5e23c4 split out ARDOUR::how_many_dsp_threads() ; fix test for whether to use use route_graph or just process routes in-thread
git-svn-id: svn://localhost/ardour2/branches/3.0@8793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 02:41:01 +00:00
5376bc757f fix num DSP threads computation (TODO: move into a utility function for Sakari's graph too)
git-svn-id: svn://localhost/ardour2/branches/3.0@8791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 00:01:56 +00:00
4d210bf033 cairo-ify bar controller widget
git-svn-id: svn://localhost/ardour2/branches/3.0@8789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 23:43:18 +00:00
c7708e721d fixes for pixfader cairo-ification
git-svn-id: svn://localhost/ardour2/branches/3.0@8788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 23:43:06 +00:00
4ed504acd7 added Gtkmm2ext::rounded_rectangle() cairo pseudo-method
git-svn-id: svn://localhost/ardour2/branches/3.0@8787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 23:42:45 +00:00
Carl Hetherington
b7ec5b4b40 Option to colour region background using the track colour (#3759).
git-svn-id: svn://localhost/ardour2/branches/3.0@8778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 20:01:55 +00:00
cc074c66fa cairo-ify expose handlers for PixFader and PixScroller (latter is not used); tweak UI RC file in response; move rgb macros to gtkmm2ext for easier use there as we go cairo over time
git-svn-id: svn://localhost/ardour2/branches/3.0@8775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 19:19:55 +00:00
0e32134ed4 build-side of UUID reversion
git-svn-id: svn://localhost/ardour2/branches/3.0@8764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 02:28:42 +00:00
b6b0d83965 revert earlier changes to uuid class, but keep boost version in svn for the future
git-svn-id: svn://localhost/ardour2/branches/3.0@8763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 02:21:15 +00:00
25a7bb4825 (from 2.x) register Lock edit mode as an enum to provide restore of Lock edit mode
git-svn-id: svn://localhost/ardour2/branches/3.0@8762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 22:19:47 +00:00
94827dd755 forward port thread/abstract_ui changes from 2.X to 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@8751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 18:21:50 +00:00
32e6f03cd4 remove some dead code
git-svn-id: svn://localhost/ardour2/branches/3.0@8750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 18:21:14 +00:00
f17e2847b8 add explict destructor for Pannable
git-svn-id: svn://localhost/ardour2/branches/3.0@8749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 18:20:18 +00:00
373e2c0413 switch to Boost UUID's and away from libuuid
git-svn-id: svn://localhost/ardour2/branches/3.0@8748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 18:19:24 +00:00
466cc57416 why use fabs?
git-svn-id: svn://localhost/ardour2/branches/3.0@8747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 17:34:19 +00:00
4e40ac9358 make reversed width for the 2in/2out panner actually do something
git-svn-id: svn://localhost/ardour2/branches/3.0@8744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 17:21:11 +00:00
a9d331aa98 add back some missing logic to can-replicate
git-svn-id: svn://localhost/ardour2/branches/3.0@8743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 17:14:40 +00:00
eb012ac243 simplify "can-replicate" to allow replication only if a plugin has zero or one input AND output for each data type
git-svn-id: svn://localhost/ardour2/branches/3.0@8742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 17:04:22 +00:00
44d938b6b2 if using only 1 processor for DSP, do not use the graph code to execute routes - fallback to original unthreaded code
git-svn-id: svn://localhost/ardour2/branches/3.0@8741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 17:01:43 +00:00
4140a67a42 allow dynamic process thread count resets
git-svn-id: svn://localhost/ardour2/branches/3.0@8738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 15:24:04 +00:00
6edd17a471 roll back libcurl requirement to just version 7.0.0
git-svn-id: svn://localhost/ardour2/branches/3.0@8737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 14:45:38 +00:00
Carl Hetherington
ad1f38c0a2 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@8734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 01:12:55 +00:00
Carl Hetherington
49869c98f3 Prevent various things from stopping the transport by requesting a transport speed of exactly 0 when they are really just continuously varying it. Fixes strange playhead behaviour during varispeed when the user varispeeds to exactly 0 and auto-return is triggered.
git-svn-id: svn://localhost/ardour2/branches/3.0@8733 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 01:12:47 +00:00
Carl Hetherington
6be56d78b1 Somewhat uncertain fix to playhead misbehaviour in rewind.
git-svn-id: svn://localhost/ardour2/branches/3.0@8732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 01:10:36 +00:00
Carl Hetherington
f0177337d1 Fix up a few mackie control surface exceptions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-06 18:51:35 +00:00
Carl Hetherington
674ed2430c Couple of asserts to catch similar bugs to #3755 a bit earlier.
git-svn-id: svn://localhost/ardour2/branches/3.0@8728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-06 18:32:22 +00:00
Carl Hetherington
e0f4bba2d5 Don't update file_frame twice when reversing close to the start of a diskstream. Should fix #3755.
git-svn-id: svn://localhost/ardour2/branches/3.0@8727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-06 18:32:15 +00:00
Carl Hetherington
6890c43dce Don't update start more than once when reversing. I don't think this is causing any problems at present, but it might as well be cleaned up.
git-svn-id: svn://localhost/ardour2/branches/3.0@8726 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-06 18:32:05 +00:00
32e207d966 Compile with new (as yet unreleased) librdf and SPARQL-free slv2.
git-svn-id: svn://localhost/ardour2/branches/3.0@8696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-03 22:58:17 +00:00
Carl Hetherington
2c9d2faadb Check for libcurl in configure (#3752).
git-svn-id: svn://localhost/ardour2/branches/3.0@8684 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-03 00:15:36 +00:00
Carl Hetherington
a2eb808660 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@8683 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-03 00:10:09 +00:00
Carl Hetherington
1b0b7849ee Remove per-track mono option, as it seems somewhat useless now that we have a mix mono button in the monitor section.
git-svn-id: svn://localhost/ardour2/branches/3.0@8675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-02 02:06:30 +00:00
Carl Hetherington
04724c21b6 Stop saving of garbage values to LADSPA preset files when an output parameter is encountered. Should fix #3733.
git-svn-id: svn://localhost/ardour2/branches/3.0@8674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-02 01:12:40 +00:00
Carl Hetherington
801bd95613 Fix compiler warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@8673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-02 01:12:13 +00:00
Carl Hetherington
d3a4b2df74 Fix drop location for drag-and-drop in some cases.
git-svn-id: svn://localhost/ardour2/branches/3.0@8672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 23:21:28 +00:00
Carl Hetherington
6c7d8c6877 Merge two methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@8671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 23:20:58 +00:00
ea8eabe8c8 avoid unused args warning
git-svn-id: svn://localhost/ardour2/branches/3.0@8644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 17:15:46 +00:00
50af344d12 avoid unused args warning
git-svn-id: svn://localhost/ardour2/branches/3.0@8643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 17:15:06 +00:00
07cadd6fca ensure that the main outs' panner <-> pannable relationship is setup in a new session
git-svn-id: svn://localhost/ardour2/branches/3.0@8641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 15:09:28 +00:00
b78d036aa0 store void pointers to processor UIs in Processors, and reset ProcessorWindowProxy objects to use them, so that we can never create 2 windows (UIs) for the same processor
git-svn-id: svn://localhost/ardour2/branches/3.0@8638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 02:41:31 +00:00
Carl Hetherington
4233a54ac3 Somewhat unconvincing visual indication that plugin inserts are splitting mono inputs to stereo.
git-svn-id: svn://localhost/ardour2/branches/3.0@8636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 01:50:49 +00:00
Carl Hetherington
636ffd7d8d Fix up display of plugin automation when loading 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-01 01:07:38 +00:00
7a03f1c3e6 do not try to open sources with write-permission if the session itself is unwritable
git-svn-id: svn://localhost/ardour2/branches/3.0@8633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31 19:02:15 +00:00
9ec59d793d po name changes, again?
git-svn-id: svn://localhost/ardour2/branches/3.0@8631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31 17:58:06 +00:00
Carl Hetherington
6c3bad48f9 Allow plugins with >1 input to be inserted into mono tracks; the input is passed to each plugin input equally (#3746).
git-svn-id: svn://localhost/ardour2/branches/3.0@8628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31 15:28:15 +00:00
2bb57b2940 rename PO files in accordance with i18n standards
git-svn-id: svn://localhost/ardour2/branches/3.0@8626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31 15:17:18 +00:00
Carl Hetherington
d46766aeff Fix comparison of < 0 with bool.
git-svn-id: svn://localhost/ardour2/branches/3.0@8623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31 14:19:15 +00:00
a2e2412883 do not send MMC DeferredPlay or Stop commands if slaving to MTC when transport starts or stops
git-svn-id: svn://localhost/ardour2/branches/3.0@8617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-30 04:51:28 +00:00
Carl Hetherington
eb4ec4ca0a Fix fader jumps when releasing button 2 on drags; move to mouse position on button down, instead (#3743).
git-svn-id: svn://localhost/ardour2/branches/3.0@8615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-30 01:39:57 +00:00
Carl Hetherington
3ac765121f Tidy up slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@8614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-30 01:39:47 +00:00
Carl Hetherington
64e43bf4b1 Fix crash with debug enabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@8613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-29 19:36:01 +00:00
79c23f5a66 fix auditioner by virtualizing Route::input_streams(), since the auditioner never has any inputs
git-svn-id: svn://localhost/ardour2/branches/3.0@8610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-29 17:49:27 +00:00
Carl Hetherington
a052488c00 Add operator<< for bundles.
git-svn-id: svn://localhost/ardour2/branches/3.0@8606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-29 12:40:57 +00:00
ce03319dd1 prevent formation of new xfades when two regions are precisely co-terminal, and invalidate existing xfades if their participants become co-terminal
git-svn-id: svn://localhost/ardour2/branches/3.0@8605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-29 01:03:05 +00:00
Sakari Bergen
ab8116e725 Add boost:: to shared_ptrs (not to be ambiguous with std::shared_ptr, Deja vu :)
git-svn-id: svn://localhost/ardour2/branches/3.0@8604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-28 22:58:47 +00:00
9a87f854f7 allow derived children of BarController to set label position as a width fraction, not an absolute position
git-svn-id: svn://localhost/ardour2/branches/3.0@8597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-28 01:04:33 +00:00
4d1d355720 move point at which main outs Panner <-> Route Pannable binding occurs, so that it does, in fact, occur
git-svn-id: svn://localhost/ardour2/branches/3.0@8596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-28 00:49:45 +00:00
92add245d0 remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@8595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-28 00:49:11 +00:00
b17dc03047 "Listen" delivery processors (i.e. monitor out) never get their own panner; Route calls Pannable::set_panner() so that it is always the panner for the main outs that controls the Route's own Pannable
git-svn-id: svn://localhost/ardour2/branches/3.0@8591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-27 23:00:17 +00:00
d116af22db virtualize the way that AutomationController gets strings to display values, so that we can callback through the owner of an AutomationControl, not just rely on the value from the AutomationControl; make pan automation tracks use this to display more audio-centric values
git-svn-id: svn://localhost/ardour2/branches/3.0@8590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-27 18:48:33 +00:00
15b5fce904 merge 3.0-panexp (pan experiments) branch, revisions 8534-8585 into 3.0, thus ending 3.0-panexp. THIS COMMIT WILL BREAK ALL EXISTING 3.0 SESSIONS IN SOME WAY (possibly not fatally).
git-svn-id: svn://localhost/ardour2/branches/3.0@8586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-27 01:31:03 +00:00
1385643131 Implement non-SPARQL LV2Plugin::find_presets using more basic SLV2 API.
Also add a (for now) commented out implementation for LV2Plugin::load_preset,
but this requires SLV2 to have blank node SLV2Values, which the current
version does not...


git-svn-id: svn://localhost/ardour2/branches/3.0@8578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-26 19:58:16 +00:00
Carl Hetherington
34d8df6a37 Check for OGG format properly. Should fix #3723.
git-svn-id: svn://localhost/ardour2/branches/3.0@8559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-21 00:58:36 +00:00
Carl Hetherington
f8d3b1f7a7 Lincoln's OSC clean-ups (#3716).
git-svn-id: svn://localhost/ardour2/branches/3.0@8552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 22:05:38 +00:00
Carl Hetherington
b621ce7306 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 21:52:46 +00:00
Carl Hetherington
ba78410f13 Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@8550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 21:49:14 +00:00
Carl Hetherington
3ceee5b20e Stop thought-to-be-safe alloc in RT thread from triggering the checker.
git-svn-id: svn://localhost/ardour2/branches/3.0@8549 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 21:37:32 +00:00
Carl Hetherington
6636a65c10 Configure option to abort when malloc is called in the process thread.
git-svn-id: svn://localhost/ardour2/branches/3.0@8548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 21:36:38 +00:00
3c1e12e7ac check that we're still connected to JACK when using jack_port_get_connections()
git-svn-id: svn://localhost/ardour2/branches/3.0@8543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 18:58:50 +00:00
Carl Hetherington
7c313b4918 Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@8540 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 17:39:22 +00:00
Carl Hetherington
1e8586742e Fix session range location by hooking into the undo system. Fixes #3654.
git-svn-id: svn://localhost/ardour2/branches/3.0@8539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 17:38:56 +00:00
Carl Hetherington
074d58fc6f Fix undo nesting.
git-svn-id: svn://localhost/ardour2/branches/3.0@8538 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 17:38:46 +00:00
5535b994d3 new files
git-svn-id: svn://localhost/ardour2/branches/3.0@8533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 15:58:13 +00:00
Carl Hetherington
253b652344 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19 01:02:06 +00:00
Doug McLain
0d4d585939 Add checks and config for Rasqal, required by slv2
git-svn-id: svn://localhost/ardour2/branches/3.0@8531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-18 19:17:53 +00:00
Carl Hetherington
c6e9362987 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-17 23:30:35 +00:00
Carl Hetherington
bab0f9c969 Remove unused CrossfadeComparePtr. Make Crossfade operator== private.
git-svn-id: svn://localhost/ardour2/branches/3.0@8524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-17 23:23:15 +00:00
f1fd7f6fa4 some new source
git-svn-id: svn://localhost/ardour2/branches/3.0@8523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-17 17:53:34 +00:00
c1c14e229e some new headers
git-svn-id: svn://localhost/ardour2/branches/3.0@8522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-17 17:53:19 +00:00
2a8629d11c tentative commit of new panners subtree
git-svn-id: svn://localhost/ardour2/branches/3.0@8521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-17 17:51:44 +00:00
Sakari Bergen
a406d9183a Make stem export export from right before any processors.
The dialog does not support exporting from the outputs anymore, sorry. Will add options later...


git-svn-id: svn://localhost/ardour2/branches/3.0@8520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-16 19:41:11 +00:00
Sakari Bergen
dad0671ba0 Add dynamic type to SessionHandleRef debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@8516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-16 19:17:45 +00:00
Carl Hetherington
ae2314e4f9 Prevent failed reconfigurations on tracks with 0 inputs (#3709).
git-svn-id: svn://localhost/ardour2/branches/3.0@8509 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-14 21:58:26 +00:00
Carl Hetherington
93b25e1f13 Tweak colouring in the processor list.
git-svn-id: svn://localhost/ardour2/branches/3.0@8507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-14 15:48:45 +00:00
Carl Hetherington
169ad5b019 Don't add post-fader aux sends after the main deliveries; put them post-fader but pre-main-outs.
git-svn-id: svn://localhost/ardour2/branches/3.0@8505 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-11 02:48:02 +00:00
Carl Hetherington
19ee77a74c Prevent Processor classes messing with names when setting state from XML. Fixes JACK-send loading from state.
git-svn-id: svn://localhost/ardour2/branches/3.0@8503 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-11 02:47:38 +00:00
Carl Hetherington
afc0e2db6c Don't modify a send's output count depending on where it lands in the processor list.
git-svn-id: svn://localhost/ardour2/branches/3.0@8501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-11 01:30:29 +00:00
Carl Hetherington
6dde76454d Dear oh dear. Re-fix main fader double click and internal send edit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-11 00:03:12 +00:00
Carl Hetherington
51a3dce3e8 Fix fader motion accidentally broken in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 23:58:50 +00:00
Carl Hetherington
648035dba9 Add route group property to share route active state (#3703)
git-svn-id: svn://localhost/ardour2/branches/3.0@8497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 23:37:34 +00:00
Carl Hetherington
c482638aa6 Revert to fader-is-for-route on double-clicking a mixer strip's fader. Fixes #3685.
git-svn-id: svn://localhost/ardour2/branches/3.0@8496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 23:33:26 +00:00
Carl Hetherington
ed72df29b7 Respond to MMC even when synced to JACK. Fixes #3700.
git-svn-id: svn://localhost/ardour2/branches/3.0@8495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 22:48:25 +00:00
Sakari Bergen
ffccaaf0bb Make export channels own their buffers + some other small code tidy-ups. Preparation for more stem export options
git-svn-id: svn://localhost/ardour2/branches/3.0@8494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 21:16:49 +00:00
Carl Hetherington
bc84cb7479 Make a couple of bits of debug conditional to avoid mallocs when they are turned off.
git-svn-id: svn://localhost/ardour2/branches/3.0@8492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 17:31:43 +00:00
Carl Hetherington
65c97361a9 Somewhat hacky fix to stop the graph code allocating in the RT thread.
git-svn-id: svn://localhost/ardour2/branches/3.0@8491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 17:31:34 +00:00
Carl Hetherington
dd7caa0165 Optimise BufferSet::attach_buffers code to avoid memory allocation in the RT thread and speed things up a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 16:23:54 +00:00
f7cef2016f patch from lincoln to fix failure to leave loop play mode at transort stop
git-svn-id: svn://localhost/ardour2/branches/3.0@8489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-09 23:14:47 +00:00
Carl Hetherington
173a8894e3 Fix setup of route meter point on load, and fix intermittent left-channel-only metering (#3699).
git-svn-id: svn://localhost/ardour2/branches/3.0@8486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-09 15:10:59 +00:00
Carl Hetherington
ddb1a76e5b Replace RouteGroup's collection of apply() methods with a single one.
git-svn-id: svn://localhost/ardour2/branches/3.0@8485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-09 15:10:26 +00:00
Carl Hetherington
bee34078e7 Use DEBUG macros for SessionEvent debugging.
git-svn-id: svn://localhost/ardour2/branches/3.0@8482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-08 15:19:32 +00:00
Carl Hetherington
af0030a6de Make Route Group dialog instant-apply. Disallow identically-named route group; fixes #3689.
git-svn-id: svn://localhost/ardour2/branches/3.0@8481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-08 02:35:46 +00:00
7d252dbbb9 new mono panner widget; make stereo panner respond to changes in colors immediately
git-svn-id: svn://localhost/ardour2/branches/3.0@8474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-07 17:36:01 +00:00
603d07a80b forward port EPA changes from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@8473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-07 16:25:57 +00:00
Carl Hetherington
73f898146d Take automation into account when reporting Amp gain. Fixes #3669.
git-svn-id: svn://localhost/ardour2/branches/3.0@8470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 20:23:13 +00:00
Sakari Bergen
8e35583358 Add stem export dialog and make all different export dialogs save their config to a different node in instant.xml
git-svn-id: svn://localhost/ardour2/branches/3.0@8465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 16:55:19 +00:00
Carl Hetherington
9a400114bb Improve the drag icon for processor drags.
git-svn-id: svn://localhost/ardour2/branches/3.0@8462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 03:39:41 +00:00
Carl Hetherington
61bb7c5852 Fix crash when turning off an active send and redisplaying processors at the same time. Fixes #3674.
git-svn-id: svn://localhost/ardour2/branches/3.0@8458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 01:07:19 +00:00
Carl Hetherington
1f8e12a1b1 Another try at prettifying the processor list with different colours pre- and post-fader, a border etc. All colours should now be configurable from the UI RC file.
git-svn-id: svn://localhost/ardour2/branches/3.0@8453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 00:29:40 +00:00
fde57da354 yet more debugging for thread pools
git-svn-id: svn://localhost/ardour2/branches/3.0@8451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 00:01:33 +00:00
c9fdcd9346 more debugging for thread pools
git-svn-id: svn://localhost/ardour2/branches/3.0@8450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-05 22:17:06 +00:00
Carl Hetherington
12a3e9b879 Remove direct busses so that all busses have internal returns.
git-svn-id: svn://localhost/ardour2/branches/3.0@8447 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-05 15:52:27 +00:00
Carl Hetherington
06387abfec Default stop-at-session-end to false to try and prevent confusion.
git-svn-id: svn://localhost/ardour2/branches/3.0@8445 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-05 13:58:25 +00:00
Carl Hetherington
4a9f3173ee Highlight a send processor entry differently when it the mixer strip's fader is being used to control it. Fixes #3659.
git-svn-id: svn://localhost/ardour2/branches/3.0@8440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 23:26:59 +00:00
a7d465fcb7 more pool allocation debugging for oofus
git-svn-id: svn://localhost/ardour2/branches/3.0@8439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 21:25:52 +00:00
Carl Hetherington
b33e8deffb Fix out-of-sync tracks under varispeed.
git-svn-id: svn://localhost/ardour2/branches/3.0@8438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 21:14:26 +00:00
9541129651 event pool allocation debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@8434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 16:55:52 +00:00
f448697039 add warning about configuration variable types to session_configuration_vars.h as well
git-svn-id: svn://localhost/ardour2/branches/3.0@8433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 14:41:07 +00:00
f4b2805533 fix a bug that defined two configuration variables as "char" and thus serialized them as XML incorrectly
git-svn-id: svn://localhost/ardour2/branches/3.0@8432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 14:29:46 +00:00
Carl Hetherington
4273093d40 Send full MTC messages every 1/4 of a second when quarter-frame messages are suspended (due to out-of-range transport speed)
git-svn-id: svn://localhost/ardour2/branches/3.0@8429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 03:35:10 +00:00
Carl Hetherington
6933d6f945 Allow choice of direct or aux busses when subgrouping route groups. Fixes #3658.
git-svn-id: svn://localhost/ardour2/branches/3.0@8428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 02:36:29 +00:00
Carl Hetherington
aea2a9f0d7 Fix - to _ typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@8425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 00:52:05 +00:00
Carl Hetherington
d795980546 Stop QF messages when transport speed is out of range, and re-start them properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@8423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-03 23:55:00 +00:00
Carl Hetherington
b3fe29af41 Cope with non-unity transport speed when sending MTC.
git-svn-id: svn://localhost/ardour2/branches/3.0@8422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-03 23:54:36 +00:00
Carl Hetherington
544d8f33c8 Substantially simpler fix for editor window jumping.
git-svn-id: svn://localhost/ardour2/branches/3.0@8418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-03 16:23:58 +00:00
Carl Hetherington
5b8472314e Add option to show or hide zoom toolbar.
git-svn-id: svn://localhost/ardour2/branches/3.0@8413 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-03 03:11:31 +00:00
Carl Hetherington
cf45b07f73 Somewhat experimental fix to try to stop the editor window jumping around on small screens.
git-svn-id: svn://localhost/ardour2/branches/3.0@8412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-03 03:10:43 +00:00
Carl Hetherington
e4d960b71f Allow AudioDiskstream to have 0 channels without crashing. Fixes crash on record with a track with no inputs.
git-svn-id: svn://localhost/ardour2/branches/3.0@8408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-02 12:45:20 +00:00
Carl Hetherington
6258f4e33b Fix install path for vamp plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@8399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-31 14:55:33 +00:00
5e7b4559fe resize all editor comboboxes when DPI is reset. involved a minor refactoring of some code and the spreading of the awful COMBO_FUDGE+10 hack
git-svn-id: svn://localhost/ardour2/branches/3.0@8398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 21:15:51 +00:00
0075f4d58c fix compiler warning
git-svn-id: svn://localhost/ardour2/branches/3.0@8387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 16:14:37 +00:00
75ede0dd6b change Session::convert_to_frames_at() to Session::convert_to_frames() to reflect the fact that its argument is a position, not a duration; add Session::any_duration_to_frames(), which converts AnyTime representing a duration to frames; alter callers to use the right one of the two previously mentioned methods
git-svn-id: svn://localhost/ardour2/branches/3.0@8386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 15:45:48 +00:00
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
0bee288b5d clean up debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@8381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 03:13:19 +00:00
0d54bd75c7 quantize conversion from L/R fraction to azimuth to 1 degree increments (given that humans have this as their rough perceptual limit)
git-svn-id: svn://localhost/ardour2/branches/3.0@8380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 03:13:09 +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
cf2cd98db0 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:58:05 +00:00
Carl Hetherington
c76912db2c Fix crash on saving session template (#3634).
git-svn-id: svn://localhost/ardour2/branches/3.0@8375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:36:03 +00:00
Carl Hetherington
fcd0a44744 Remove debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:35:43 +00:00
Carl Hetherington
6f306c9821 Add options to add sends from buses as well as tracks; remainder of #3637.
git-svn-id: svn://localhost/ardour2/branches/3.0@8372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:07:34 +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
fa02a4e61c Fix plugin parameter updates (#3636).
git-svn-id: svn://localhost/ardour2/branches/3.0@8370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 21:07:37 +00:00
Carl Hetherington
d725fc2d1c Make 'copy track gains to sends' and 'set sends gains' work with sends from busses. Partially fixes #3637.
git-svn-id: svn://localhost/ardour2/branches/3.0@8369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 21:07:22 +00:00
Carl Hetherington
0dd2fb557c Update mixer strip input/output button labels from the general JACK port connection / disconnection callback so that all changes are noticed. Fixes #3638.
git-svn-id: svn://localhost/ardour2/branches/3.0@8368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 17:52:32 +00:00
4624153d26 add static methods to Keyboard for keyboard modifier names
git-svn-id: svn://localhost/ardour2/branches/3.0@8364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 16:27:43 +00:00
Carl Hetherington
731bef6c17 Try to ensure that the plugin loads its initial preset correctly. May fix #3602.
git-svn-id: svn://localhost/ardour2/branches/3.0@8356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 01:18:05 +00:00
Carl Hetherington
3d0c3ffb6a Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@8347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 18:43:22 +00:00
Carl Hetherington
f8ebb4582d Unify program change and bank handling so that they are manipulated together.
git-svn-id: svn://localhost/ardour2/branches/3.0@8346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 18:19:40 +00:00
Carl Hetherington
390f18c115 Clarify commentary slightly. No functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8345 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 03:05:09 +00:00
bffe0c4f98 Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-24 22:48:05 +00:00
8e201d18a8 a few more EPA tweaks (from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@8340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 14:23:31 +00:00
27ab352f5b add EPA stuff from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@8338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 04:17:56 +00:00
e99087a273 add EPA stuff from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@8337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 04:17:45 +00:00
Carl Hetherington
4336bb25d7 Use MTC instead of MIDI Timecode as the string for the external sync button. Fixes #3621.
git-svn-id: svn://localhost/ardour2/branches/3.0@8332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 00:26:54 +00:00
19fc040be1 Calculate length_beats of split MIDI regions from 'parent' region.
This is probably less than ideal, since setting the properties later will
recompute from frames values.  It is, however, slightly more rightish :)

Seemingly correct cases (i.e. where length_beats is correct):
 * Recording a new MIDI region
 * Splitting said region

Broken:
 * Loading a region from XML

Untested:
 * Import


git-svn-id: svn://localhost/ardour2/branches/3.0@8324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:48:59 +00:00
9e5550254c Remove lying comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@8323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:09:42 +00:00
372880803f Less code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:01:15 +00:00
10a4435198 Consistently mark all regions "interesting".
(I havn't used the shared_ptr debugging stuff, but presumably marking an arbitrary subset of allocated regions "interesting" is not the idea...).


git-svn-id: svn://localhost/ardour2/branches/3.0@8321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 23:52:10 +00:00
da89cd0c9b Remove confuzzling offset_relative stuff from region construction (pre-properties "hangover").
This commit (in theory) only reorganizes code, not change actual functionality.
RegionFactory now uses a distinct Region constructor for each case, which is a bit easier to wrap around.
Note comment at region.cc:276, this case seems pretty weird to me (more hangover?).


git-svn-id: svn://localhost/ardour2/branches/3.0@8320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 17:03:16 +00:00
71986da212 Only calculate length_beats from length (in frames) if length property (in frames) is given, but length_beats property is not.
git-svn-id: svn://localhost/ardour2/branches/3.0@8319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:53:18 +00:00
4e62adfe1a Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:41:13 +00:00
384c418ae0 Set new (recorded) MIDI source length to length of entire capture (instead of length from start to last actual recorded event).
Precisely set length_beats of newly captured MIDI regions to source length in beats (no conversion).


git-svn-id: svn://localhost/ardour2/branches/3.0@8317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:04:58 +00:00
fe79c42725 Remove unused Region constructor.
git-svn-id: svn://localhost/ardour2/branches/3.0@8316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 23:24:43 +00:00
fb21bf1480 Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 23:05:18 +00:00
f6ed36a457 Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 22:51:17 +00:00
7e3404e2a0 Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 21:50:46 +00:00
3f30e8093e Clean up region.h and trim include tree.
git-svn-id: svn://localhost/ardour2/branches/3.0@8312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 21:22:49 +00:00
Carl Hetherington
fe879145fe Fix converter origins for computing region length.
git-svn-id: svn://localhost/ardour2/branches/3.0@8309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 19:06:58 +00:00
Carl Hetherington
1fd105fbd4 Fix split of midi regions after tempo / meter changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 18:47:18 +00:00
76e7a89a51 use notification of what was changed in MidiRegion::post_set() call
git-svn-id: svn://localhost/ardour2/branches/3.0@8307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 16:11:23 +00:00
e178fb2e50 add notification of what was changed in Stateful::post_set() call
git-svn-id: svn://localhost/ardour2/branches/3.0@8306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 16:10:58 +00:00
Carl Hetherington
3ec58e478c Allow deletion of program changes in the same way as notes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 13:30:31 +00:00
Carl Hetherington
5f4bdb233a Clean up plugin preset handling a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-19 23:11:01 +00:00
Sakari Bergen
94c69b3c91 Finally implement position aware silence adding in export (i.e. bbt times are converted to frames correctly)
This will work when Session::convert_to_frames_at is fixed :)


git-svn-id: svn://localhost/ardour2/branches/3.0@8295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 19:27:04 +00:00
Sakari Bergen
ffadfff650 Add "session rate" as a possible sample rate for export formats
git-svn-id: svn://localhost/ardour2/branches/3.0@8294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 17:56:41 +00:00
Carl Hetherington
850b7d24a9 Fix comment. Fix believed erroneous add of ticks to a fractional beats value.
git-svn-id: svn://localhost/ardour2/branches/3.0@8293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-17 19:20:34 +00:00
f7763f4d8c patch from lincoln to make mute controllable emit its Changed signal; note to self: should route really have a mute_changed() signal too?
git-svn-id: svn://localhost/ardour2/branches/3.0@8291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-17 04:14:24 +00:00
428aabdcfc fix BeatFramesConverter so that it at least works even if its not optimally named/designed
git-svn-id: svn://localhost/ardour2/branches/3.0@8290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-17 01:51:12 +00:00
Carl Hetherington
3029935f0a Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@8288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-16 21:25:04 +00:00
Carl Hetherington
b3fcaf71d4 Fix loading of PortInserts from 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-16 12:48:50 +00:00
Carl Hetherington
9e4b7a45fe Fix deadlock.
git-svn-id: svn://localhost/ardour2/branches/3.0@8286 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-16 12:48:11 +00:00
Carl Hetherington
5d8853b02f Fix a memory leak.
git-svn-id: svn://localhost/ardour2/branches/3.0@8283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-15 03:38:44 +00:00
2a30df0827 fix stupid variable naming issue in last BBT commit
git-svn-id: svn://localhost/ardour2/branches/3.0@8282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-15 03:03:30 +00:00
Carl Hetherington
a6ed335ae9 Restore VST preset saving without chunks. Fixes #3602.
git-svn-id: svn://localhost/ardour2/branches/3.0@8281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-15 02:58:55 +00:00
Carl Hetherington
0e74620ad4 Make VST preset files pre-preset rather than global. Clean up VST preset handling to use more of the bas class' code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-15 02:21:25 +00:00
f09524b9d3 move ticks per beat from Meter to Timecode::BBT_Time, add new constructor for BBT_Time based on a double value; reduce BeatFramesConverted to 1 liners pending likely removal
git-svn-id: svn://localhost/ardour2/branches/3.0@8277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 20:28:37 +00:00
e3c67bceb8 implement methods in TempoMap for walking a given distance along a tempo map and returning the resulting time; add a new property, _length_beats, to MidiRegion; use previously mentioned methods to keep _length_beats up to date as regions are moved AND as tempo map changes occur
git-svn-id: svn://localhost/ardour2/branches/3.0@8274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 20:03:40 +00:00
9882fe9ab0 Clean up libtimecode, make license of bbt_time.h LGPL.
git-svn-id: svn://localhost/ardour2/branches/3.0@8272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 19:07:50 +00:00
4b861e6039 Rename libmusictime libtimecode (consistent with already used namespace "Timecode").
Move BBT_Time to libtimecode.


git-svn-id: svn://localhost/ardour2/branches/3.0@8271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 18:13:37 +00:00
Carl Hetherington
bb92cf3b24 Fix warning better.
git-svn-id: svn://localhost/ardour2/branches/3.0@8267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 03:08:39 +00:00
Carl Hetherington
7961e34fc2 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@8266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 03:06:53 +00:00
Carl Hetherington
1238f09478 Use DEBUG_TRACE for all of the MIDI clock ticker code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 01:05:51 +00:00
6f8cafdaff Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@8263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 21:03:39 +00:00
f6055f2c6f Eliminate circular dependency kludge for control_protocol/smpte.o.
git-svn-id: svn://localhost/ardour2/branches/3.0@8262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 20:46:07 +00:00
23d8df6edf More complete (but still incomplete) LV2 persist implementation.
git-svn-id: svn://localhost/ardour2/branches/3.0@8261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 19:27:59 +00:00
Carl Hetherington
3ccb32773b Oops, fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 16:05:28 +00:00
Carl Hetherington
e8c59e4155 Remove unnecessary assert from midi clock ticker code; MIDI::Port handles non-process thread sends using a ringbuffer. Clean up some types.
git-svn-id: svn://localhost/ardour2/branches/3.0@8259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 16:03:24 +00:00
Carl Hetherington
8d5b4fbf4a Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@8258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 16:03:13 +00:00
Carl Hetherington
9a1f83923d Clear existing data before reading new to make overwrite_existing_buffers() work correctly. Should fix #3481.
git-svn-id: svn://localhost/ardour2/branches/3.0@8256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 21:36:40 +00:00
Carl Hetherington
dd6935e2ad Minor cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@8253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 01:03:17 +00:00
Carl Hetherington
1e11c4bc57 Fix MIDI fork using a modified version of a patch from warrenfalk. Fixes #3595.
git-svn-id: svn://localhost/ardour2/branches/3.0@8252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 00:41:47 +00:00
Sakari Bergen
ccb7a5a794 Add a null check to ports when loading an export channel from xml + fix indentation for commit r8247
git-svn-id: svn://localhost/ardour2/branches/3.0@8249 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 20:56:53 +00:00
fec8f4ad49 better comment change
git-svn-id: svn://localhost/ardour2/branches/3.0@8248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 20:48:18 +00:00
644af18a4b fix thinko in AudioEngine::get_port_by_name()
git-svn-id: svn://localhost/ardour2/branches/3.0@8247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 20:45:11 +00:00
Sakari Bergen
80c61db0cd Fix compiler warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@8246 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 15:09:47 +00:00
Carl Hetherington
680a3f2b86 Prevent garbage preset names with VST plugins when the call to get preset name fails.
git-svn-id: svn://localhost/ardour2/branches/3.0@8245 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 02:35:31 +00:00
Carl Hetherington
173354c847 Fix a few tiny memory leaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 02:34:44 +00:00
Carl Hetherington
e8fede43ee Reset PanControllable StreamPanners when they change.
git-svn-id: svn://localhost/ardour2/branches/3.0@8243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 00:24:17 +00:00
Carl Hetherington
19ae4ed640 Comment a few things and add missing process lock when adding a route from a template.
git-svn-id: svn://localhost/ardour2/branches/3.0@8242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 00:23:51 +00:00
Carl Hetherington
cd175818ed Fix crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@8241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 00:23:39 +00:00
Carl Hetherington
1f0ac78bc4 Fix deadlock on closing a send IO dialogue.
git-svn-id: svn://localhost/ardour2/branches/3.0@8240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 22:46:53 +00:00
Carl Hetherington
86ac707573 Stop bounce / freeze on tracks that have more outputs than inputs and so cannot record all the outputs in their diskstreams. Fix buffer shortage when bouncing tracks whose processing chains temporarily need more buffers than there are inputs. Fixes #3573.
git-svn-id: svn://localhost/ardour2/branches/3.0@8239 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 22:28:29 +00:00
Carl Hetherington
627385cab4 Handle overlaps better when executing DiffCommands.
git-svn-id: svn://localhost/ardour2/branches/3.0@8233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:37:14 +00:00
Carl Hetherington
555c7ac094 Undo for sys-ex movements in time.
git-svn-id: svn://localhost/ardour2/branches/3.0@8232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:36:31 +00:00
Carl Hetherington
ad916f6241 Fix a few bad iterator accesses.
git-svn-id: svn://localhost/ardour2/branches/3.0@8231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:35:33 +00:00
Carl Hetherington
5c23faaa0d Allow trim of midi regions to before the start of the source (better, this time). Fixes #3156.
git-svn-id: svn://localhost/ardour2/branches/3.0@8229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:34:46 +00:00
Carl Hetherington
7d4e03e28e Use a weak_ptr rather than a bald pointer for _midi_source in MidiModel.
git-svn-id: svn://localhost/ardour2/branches/3.0@8228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:34:31 +00:00
ebf3762fa9 fix computation of silence text, and its display. it is still not on top of the canvas, which is a small problem
git-svn-id: svn://localhost/ardour2/branches/3.0@8227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 18:17:36 +00:00
0a62044c2c make strip silence work (again?)
git-svn-id: svn://localhost/ardour2/branches/3.0@8226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 16:31:05 +00:00
d28ecb2b93 fix for Route::shift/insert-time
git-svn-id: svn://localhost/ardour2/branches/3.0@8225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 23:22:01 +00:00
f176612086 move display of silence for strip-silence into regionviews, along with text to describe impact on the region. this doesn't actually make strip-silence work any better, but the display is improving
git-svn-id: svn://localhost/ardour2/branches/3.0@8224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 21:02:37 +00:00
32ac2049fe minor panner debugging, cont'd
git-svn-id: svn://localhost/ardour2/branches/3.0@8223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 21:01:20 +00:00
Carl Hetherington
cbfb77cd8e in compute_gains in case _speakers.n_tuples is 0. Prevent NaN gains if total power is 0 in the same method. Mark initially dirty so that the first call to do_distribute sets up desired_outputs.
git-svn-id: svn://localhost/ardour2/branches/3.0@8218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 01:52:06 +00:00
Carl Hetherington
ab1e2bfaea Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@8217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 01:51:56 +00:00