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