13
0
Commit Graph

2809 Commits

Author SHA1 Message Date
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