13
0
Commit Graph

2953 Commits

Author SHA1 Message Date
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
Carl Hetherington
c65d364661 Fix VST preset deletion.
git-svn-id: svn://localhost/ardour2/branches/3.0@8216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 20:12:47 +00:00
Carl Hetherington
95acc21c69 Add scrollbar to edit presets dialogue, and the ability to differentiate between built-in and user presets.
git-svn-id: svn://localhost/ardour2/branches/3.0@8215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 20:12:40 +00:00
Carl Hetherington
56554af08f Revert previous ill-thought-out patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@8213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:55:43 +00:00
Carl Hetherington
f3fc6195bc Allow trim of midi regions to before the start of the source. Fixes #3156.
git-svn-id: svn://localhost/ardour2/branches/3.0@8212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:16:23 +00:00
Carl Hetherington
f8e16276d9 Fix a couple of places where set_position_internal was not being used, meaning that a region's _bbt_time member was not updated and so regions could move about unexpectedly when locked to bars and beats.
git-svn-id: svn://localhost/ardour2/branches/3.0@8211 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:05:05 +00:00
eead73098d reimplement Route::shift() from 2.X for "Insert Time"
git-svn-id: svn://localhost/ardour2/branches/3.0@8209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 15:15:25 +00:00
b83f21c3cf add "shift" method used in 2.X and now a3 to move data starting at a position, not an iterator
git-svn-id: svn://localhost/ardour2/branches/3.0@8208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 15:13:04 +00:00
Carl Hetherington
a9275f997b Put plugin-note-off code in the right place.
git-svn-id: svn://localhost/ardour2/branches/3.0@8207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 15:00:19 +00:00
Carl Hetherington
94b4c264d1 Send note-offs to VST instrument plugins on transport stop. Fixes #3583.
git-svn-id: svn://localhost/ardour2/branches/3.0@8203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 14:44:47 +00:00
Carl Hetherington
40c162d609 Move RDF-based preset stuff into LadspaPlugin, to make way for a set of evil hacks to make VST chunk-based presets work (for some values of `work').
May fix #3577.


git-svn-id: svn://localhost/ardour2/branches/3.0@8202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 02:56:11 +00:00
Carl Hetherington
99c2d589d1 Don't crash if get_action() is called before the UI manager is created. Sort-of fix for #3571.
git-svn-id: svn://localhost/ardour2/branches/3.0@8199 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 13:59:59 +00:00
Carl Hetherington
3975355a5f Add dialog to allow removal of plugin presets. Should fix #2662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 04:29:06 +00:00
Carl Hetherington
bf7b8df028 Fix VST build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 03:07:22 +00:00
5f00efd7e8 forward-port fatal-error-saving fix for xfade loading from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@8194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 02:49:04 +00:00
Carl Hetherington
5546fa38fc Manage attempts to save plugin presets with the same name. Helps with #2662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 02:41:46 +00:00
433196a83a removed files
git-svn-id: svn://localhost/ardour2/branches/3.0@8188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:35:43 +00:00
343d7b95aa correct locations for new osc files
git-svn-id: svn://localhost/ardour2/branches/3.0@8187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:35:22 +00:00
7b361be671 part of lincoln's patches for OSC/ardroid
git-svn-id: svn://localhost/ardour2/branches/3.0@8186 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:29:19 +00:00
625b3ca004 part of lincoln's patches for OSC/ardroid
git-svn-id: svn://localhost/ardour2/branches/3.0@8185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:28:39 +00:00
Carl Hetherington
9a541c30b9 Missing nframes_t fixes in VST build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-04 03:07:14 +00:00
38c24cefba type tweaks and casts following the nframes_t expulsion
git-svn-id: svn://localhost/ardour2/branches/3.0@8175 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 23:15:53 +00:00
1596ab40ea tweak search path for export profiles
git-svn-id: svn://localhost/ardour2/branches/3.0@8174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 23:15:33 +00:00
18b8ec6996 provide access to plugin parameters from OSC. not tested. from olaf
git-svn-id: svn://localhost/ardour2/branches/3.0@8170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:29:58 +00:00
Carl Hetherington
c04e57125b No-op: reformat and add GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@8167 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:27:30 +00:00
Carl Hetherington
73192bc1a7 Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:26:29 +00:00
Carl Hetherington
cdfbec0eb1 A few type fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8154 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-02 19:25:53 +00:00
edea754b6b more stereo panner work
git-svn-id: svn://localhost/ardour2/branches/3.0@8149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 21:24:57 +00:00
a8572dc487 remove some debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@8148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 21:24:42 +00:00
Carl Hetherington
6c76a275e1 Remove some thought-to-be-useless volatile qualifiers.
git-svn-id: svn://localhost/ardour2/branches/3.0@8147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 20:49:32 +00:00
Carl Hetherington
a5ea47ff0d Re-expose timecode offset in the session option editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@8146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 20:49:22 +00:00
044a2cca8f better operation of the stereo panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 18:27:39 +00:00
Carl Hetherington
bce9a0aee7 Revert previous incorrect patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@8144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 17:51:17 +00:00
Carl Hetherington
f500846fd4 Remove unused timecode offset stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@8143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 17:42:18 +00:00
Carl Hetherington
93d65777b8 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8142 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01 17:04:48 +00:00
5aed83d927 Correctly implement LV2 event URI mapping (event URI context is restricted to uint16_t).
Implement LV2 URI Unmap extension.


git-svn-id: svn://localhost/ardour2/branches/3.0@8139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30 23:42:58 +00:00
ce1492240e Fix LV2 logarithmic hint URI.
git-svn-id: svn://localhost/ardour2/branches/3.0@8138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30 22:22:52 +00:00
da35445adb Tidy (whitespace changes only).
git-svn-id: svn://localhost/ardour2/branches/3.0@8137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30 22:22:05 +00:00
816be28db0 Fix stub LV2 persist implementation.
git-svn-id: svn://localhost/ardour2/branches/3.0@8134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30 18:42:26 +00:00
503d1b5306 start of Blob-style for bar controller and use in panner GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@8133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30 04:14:51 +00:00
4f7a3d7732 make BarController::CenterOut mostly sorta-kinda work
git-svn-id: svn://localhost/ardour2/branches/3.0@8129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30 03:09:15 +00:00
Sakari Bergen
ea8f9cb58e Removing more of using boost::shared_ptr
git-svn-id: svn://localhost/ardour2/branches/3.0@8128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-29 22:39:21 +00:00
9f634f1f56 remove using boost::shared_ptr stuff from session.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@8127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-29 22:07:42 +00:00
f25d9b1220 position+width panning improvements (reverse width now works); relabel pan automation controls
git-svn-id: svn://localhost/ardour2/branches/3.0@8125 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-29 17:56:49 +00:00
964411b688 fix conversion of MIDI controller (7 bit) value into a 0..+1.0 range value
git-svn-id: svn://localhost/ardour2/branches/3.0@8124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-29 17:56:08 +00:00
d55c881626 make position+width stereo panning actually functional, although its behaviour is not quite right yet. you can control this from MIDI with a binding map that connects messages to "/route/panwidth B1" and "/route/pandirection B1"
git-svn-id: svn://localhost/ardour2/branches/3.0@8122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-29 03:52:11 +00:00
c7df5f5271 add non-functional meta-controls for 2in/2out panning, to control direction+width. support exists in OSC and MIDI maps. no GUI elements yet
git-svn-id: svn://localhost/ardour2/branches/3.0@8121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-28 21:28:54 +00:00
Carl Hetherington
ad4e0cd2d1 Fix non-update of session range marker in some cases.
git-svn-id: svn://localhost/ardour2/branches/3.0@8120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-28 20:32:58 +00:00
ab61e8de4a fix lookup of LV2 plugin parameter name
git-svn-id: svn://localhost/ardour2/branches/3.0@8119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-28 19:31:37 +00:00
761488e547 initialize rec-enable controllable after setting MidiTrack's diskstream (see comment for why)
git-svn-id: svn://localhost/ardour2/branches/3.0@8118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-28 19:28:21 +00:00
9b7a35cdc0 more or less complete restoration of Controllable::_id from XML, with all that implies for MIDI bindings continuing to work across session reloads, and also that the controlled parameter is now set from Controllable::set_value() during session loading, not directly from its "own" XML value; still some funny stuff going on with Panners. This may have broken 2.X session loading in that panners may not be setup correctly
git-svn-id: svn://localhost/ardour2/branches/3.0@8117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-28 18:31:18 +00:00
bb592809f1 merge gnomecanvas into ardour tree, so that we can fix our own bugs and not wait for silly gnome release schedules
git-svn-id: svn://localhost/ardour2/branches/3.0@8114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 23:16:42 +00:00
a2f870bff9 don't display internal returns to user
git-svn-id: svn://localhost/ardour2/branches/3.0@8113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 21:40:54 +00:00
7cbcf258cc changes associated with save/restore of AutomationControl id's
git-svn-id: svn://localhost/ardour2/branches/3.0@8111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 17:43:32 +00:00
979a61eb3f remove (or attempt to remove) requirement for holding process lock when changing connections
git-svn-id: svn://localhost/ardour2/branches/3.0@8110 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 17:42:09 +00:00
f3a833e38e changes associated with save/restore of AutomationControl id's
git-svn-id: svn://localhost/ardour2/branches/3.0@8109 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 17:41:43 +00:00
2bd721d1cc save controls state in PluginInsert state nodes (needed to restore MIDI bindings, not done yet)
git-svn-id: svn://localhost/ardour2/branches/3.0@8108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 17:39:38 +00:00
27cf00a598 make IO::disconnect (port,port) symmetric with IO::connect (port,port) by requiring caller to hold process lock
git-svn-id: svn://localhost/ardour2/branches/3.0@8106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 16:42:44 +00:00
Carl Hetherington
019faa984a Add comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@8101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27 01:03:53 +00:00
Carl Hetherington
b0d559b031 Add missing files from previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 23:31:14 +00:00
Carl Hetherington
a8fbb47e0a Handle unknown plugins on loading sessions by hiding them from the user and telling them so.
git-svn-id: svn://localhost/ardour2/branches/3.0@8097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 23:30:48 +00:00
Carl Hetherington
1f8d176c13 Add lots of asserts to try to track down #3553.
git-svn-id: svn://localhost/ardour2/branches/3.0@8096 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 22:45:20 +00:00
d5666aa2ec Remove premature inclusion of lv2_persist_file.c
git-svn-id: svn://localhost/ardour2/branches/3.0@8095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 20:59:20 +00:00
a8d4e33d1b Fix more broken indentation (whitespace changes only).
git-svn-id: svn://localhost/ardour2/branches/3.0@8094 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 19:57:03 +00:00
1445bf5fc5 VBAP panner should use Panner::_angles not its own private azi/ele members : now actually pans but I'll be a muted frog on top of a woodshed if I can understand how the speaker pair selection process works (or doesn't)
git-svn-id: svn://localhost/ardour2/branches/3.0@8093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 19:18:34 +00:00
5a0c8cd79c add two process lock calls where some port connecting occurs
git-svn-id: svn://localhost/ardour2/branches/3.0@8092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 18:28:42 +00:00
553cf2982c one step closer to working vbap panning
git-svn-id: svn://localhost/ardour2/branches/3.0@8091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 17:43:03 +00:00
Carl Hetherington
1539ac1b96 Somewhat distasteful hack to fix #3469 (broken keyboard-entry of pan values)
git-svn-id: svn://localhost/ardour2/branches/3.0@8090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26 00:29:12 +00:00
Carl Hetherington
54cbc45a5a Prevent removal of route inputs when the plugins cannot be configured with the new number. Rework locking so that the process lock is held from the point that a route input is removed until after the processors are reconfigured; fixes #3548.
git-svn-id: svn://localhost/ardour2/branches/3.0@8089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25 23:46:24 +00:00
28c004f4fb Add missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@8088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25 23:00:17 +00:00
2a6dcddcc5 Stub implementation of LV2 persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@8087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25 22:12:03 +00:00
Carl Hetherington
c862d320ff Improve visual cues during plugin drag and drop. Fixes #3566.
git-svn-id: svn://localhost/ardour2/branches/3.0@8085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25 17:41:04 +00:00
Carl Hetherington
49ce9ba634 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25 00:03:14 +00:00
Carl Hetherington
8f2c07eedc Prevent crash when loading sessions with unknown plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@8082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-24 13:56:22 +00:00
Carl Hetherington
0ee9f216d5 Save solo isolate / solo safe states. Fixes #3551.
git-svn-id: svn://localhost/ardour2/branches/3.0@8078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-23 22:10:49 +00:00
1b2b21169c semi-functioning vbap panning, still not done
git-svn-id: svn://localhost/ardour2/branches/3.0@8074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-23 16:38:17 +00:00
Carl Hetherington
e6665809fb Improve shift-selection behaviour in processor box.
git-svn-id: svn://localhost/ardour2/branches/3.0@8073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-23 14:31:09 +00:00
Carl Hetherington
595c7c4411 Fix multiple selection with Ctrl-Click in DnDVBox.
git-svn-id: svn://localhost/ardour2/branches/3.0@8070 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-23 00:28:09 +00:00
Carl Hetherington
ca248db48e Thought-to-be-fix for #2794; fix route process order sorting.
git-svn-id: svn://localhost/ardour2/branches/3.0@8064 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-21 00:51:56 +00:00
e3fc510d16 more debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@8063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-20 22:40:06 +00:00
16982456ab debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@8062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-20 22:29:01 +00:00
Carl Hetherington
5ce249b7dc Save/restore aux send levels. Fixes #3546.
git-svn-id: svn://localhost/ardour2/branches/3.0@8061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-20 01:08:53 +00:00
Carl Hetherington
3aa8ff4a5e Fix typo causing CPU burn.
git-svn-id: svn://localhost/ardour2/branches/3.0@8057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-19 14:12:41 +00:00
d8ec9bbea7 non-crashing (but also non-functional) integration of VBAP with panner "architecture"
git-svn-id: svn://localhost/ardour2/branches/3.0@8056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-19 00:58:57 +00:00
e50bd9e653 steps toward a working VBAP panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-18 18:01:30 +00:00
6ce5dc2dc9 add license info to vbap code
git-svn-id: svn://localhost/ardour2/branches/3.0@8054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-18 16:29:12 +00:00
fa7b6e558d initial check in of VBAP implementation (not coupled to any existing ardour objects yet)
git-svn-id: svn://localhost/ardour2/branches/3.0@8053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-18 16:28:18 +00:00
Carl Hetherington
7f9cab8c28 Add std::string specialization for ConfigVariableWithMutation which handles spaces correctly. Fixes #3541.
git-svn-id: svn://localhost/ardour2/branches/3.0@8052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-17 12:25:44 +00:00
Carl Hetherington
c0539c0673 Remove debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@8051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-17 12:25:20 +00:00
3d0a53a1ad fix linux side of semaphore abstraction
git-svn-id: svn://localhost/ardour2/branches/3.0@8050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16 20:01:01 +00:00
8e2f6b9e0f handle OS X's lack of unnamed semaphores, phase 1
git-svn-id: svn://localhost/ardour2/branches/3.0@8049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16 19:47:38 +00:00
Carl Hetherington
ee76685f8d Modify region trim cursor if a region can only be trimmed in one direction.
git-svn-id: svn://localhost/ardour2/branches/3.0@8045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-15 22:55:39 +00:00
90172686b9 nominally add MIDI input support for AudioUnit plugins
git-svn-id: svn://localhost/ardour2/branches/3.0@8044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-15 19:54:23 +00:00
Carl Hetherington
a4e6145648 Don't try to do sub-pixel text placement as cairo doesn't support it. Fixes #3534.
git-svn-id: svn://localhost/ardour2/branches/3.0@8033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 21:06:36 +00:00
Carl Hetherington
04d9517842 Fix updates of LV2 plugin parameters. Fixes #3341.
git-svn-id: svn://localhost/ardour2/branches/3.0@8032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 20:05:37 +00:00
Carl Hetherington
a46af0460b Create a new layer if required on record to a track in stacked mode. Fixes #3391.
git-svn-id: svn://localhost/ardour2/branches/3.0@8026 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 15:01:53 +00:00
Carl Hetherington
7a25fa1beb const fix.
git-svn-id: svn://localhost/ardour2/branches/3.0@8025 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 15:01:38 +00:00
Carl Hetherington
69c15729f2 Fix crash on closedown.
git-svn-id: svn://localhost/ardour2/branches/3.0@8022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 22:50:03 +00:00
b85b4d9e54 make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 05:14:48 +00:00
520bc1bed4 fix non-inlined SndfileHandle constructor in libaudiographer, which triggers duplicate definition warnings with the OS X linker
git-svn-id: svn://localhost/ardour2/branches/3.0@8017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 05:13:38 +00:00
Carl Hetherington
a0b75ed66e Remove unused variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@8013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-12 22:32:27 +00:00
9e14ce38e0 fix botched fix
git-svn-id: svn://localhost/ardour2/branches/3.0@8007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:31:53 +00:00
639542b410 build fixes for OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@8006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:13:29 +00:00
e98284d9e8 remove some unnecessary and hard-to-compile-on-OSX debug stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@8005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:12:16 +00:00
90a567e74d remove duplicate std limit + format macro defs
git-svn-id: svn://localhost/ardour2/branches/3.0@8003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:09:18 +00:00
30db1a847a fix OS X compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:08:55 +00:00
07921555aa fix OS X compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:08:34 +00:00
0b8cc0b5cc fix OS X compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:08:18 +00:00
b623bc32a0 remove duplicate std limit + format macro defs
git-svn-id: svn://localhost/ardour2/branches/3.0@7999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 23:07:31 +00:00
ab399143a6 fix dubious conflation of int and pthread_t
git-svn-id: svn://localhost/ardour2/branches/3.0@7998 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 22:50:52 +00:00
716fa5c555 updated .po files (*not* translations, just .po files)
git-svn-id: svn://localhost/ardour2/branches/3.0@7996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 22:47:01 +00:00
71df3719d4 re-enable i18n as a build target for translations
git-svn-id: svn://localhost/ardour2/branches/3.0@7995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 22:46:38 +00:00
429ff2547b missing dialog cleanups and logic improvements
git-svn-id: svn://localhost/ardour2/branches/3.0@7990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 23:50:20 +00:00
84ddf22169 handle multiple imports of the same file better (via better source naming); make session properties editor pretty much work for search paths
git-svn-id: svn://localhost/ardour2/branches/3.0@7989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 22:18:52 +00:00
2575a3907b add set_from_string() method for ConfigVariableWithMutation so that it gets set correctly from XML and elsewhere
git-svn-id: svn://localhost/ardour2/branches/3.0@7988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 22:18:27 +00:00
ed80aec2d6 fix bug in path_expand() when passed an empty string
git-svn-id: svn://localhost/ardour2/branches/3.0@7987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 22:17:40 +00:00
66a9112d48 add "origin" property to FileSource so that we can track multiple imports
git-svn-id: svn://localhost/ardour2/branches/3.0@7986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 18:19:53 +00:00
cbaba77588 remove hardlink option from RC variables
git-svn-id: svn://localhost/ardour2/branches/3.0@7985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 17:28:22 +00:00
7ae1a99d06 always store source names as relative paths; always add directories of embedded files to search path; never use hardlinks for embedding anymore
git-svn-id: svn://localhost/ardour2/branches/3.0@7984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 17:24:17 +00:00
5c6ba165f6 initial pass at a missing file dialog and "relocatable" source files. lots more to do here
git-svn-id: svn://localhost/ardour2/branches/3.0@7983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 06:03:51 +00:00
aa78fb928b try to sensibly handle repeated imports of the same file. the same thing might be required for embeds
git-svn-id: svn://localhost/ardour2/branches/3.0@7975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-05 20:36:44 +00:00
Carl Hetherington
7716429ef9 Paste regions in the right place. Fixes #3517.
git-svn-id: svn://localhost/ardour2/branches/3.0@7969 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-04 21:13:22 +00:00
Carl Hetherington
1cb36f5a81 Add column headings and length field to export timespan selector. Fixes #3518.
git-svn-id: svn://localhost/ardour2/branches/3.0@7968 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-04 20:37:46 +00:00
Carl Hetherington
844b7d0f68 Reformat.
git-svn-id: svn://localhost/ardour2/branches/3.0@7967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-04 20:37:36 +00:00
a52c992de5 remove debug output during note ID load & save
git-svn-id: svn://localhost/ardour2/branches/3.0@7966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-04 19:12:07 +00:00
f9d6a7329c use newly-public libsmf functions for variable length quantities to load+store MIDI note IDS. THIS BREAKS MIDI NOTE HISTORY IN ALL EXISTING SESSIONS
git-svn-id: svn://localhost/ardour2/branches/3.0@7953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-03 00:07:42 +00:00
a188e69aae make VLQ save+restore functions publically accessible, for use with meta-events
git-svn-id: svn://localhost/ardour2/branches/3.0@7952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-03 00:06:42 +00:00
Sakari Bergen
fb048ebc30 Fix error in samplerate converter
git-svn-id: svn://localhost/ardour2/branches/3.0@7951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-02 18:07:29 +00:00
Sakari Bergen
a41525c3f7 Fix invalid assertion from previous commit, and possibly fix having random garbage at end of export.
git-svn-id: svn://localhost/ardour2/branches/3.0@7950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-02 16:27:02 +00:00
Sakari Bergen
efff8551cd Add assertion to export code to make sure the buffer size hasn't changed somehow...
git-svn-id: svn://localhost/ardour2/branches/3.0@7949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-02 16:09:21 +00:00
Sakari Bergen
544f62d4be Fix Ogg export (maybe float export also?)
git-svn-id: svn://localhost/ardour2/branches/3.0@7948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-02 11:20:40 +00:00
Carl Hetherington
db5c8c9791 Add region peak amplitude to region editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@7937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-28 20:01:26 +00:00
Carl Hetherington
6f9e9ad23e Make normalize cancel button work.
git-svn-id: svn://localhost/ardour2/branches/3.0@7935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-28 17:09:32 +00:00
Carl Hetherington
d731e4dba1 Fix up progress bar on normalization.
git-svn-id: svn://localhost/ardour2/branches/3.0@7934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-28 17:02:29 +00:00
Carl Hetherington
9f7f0f79a3 Make build scripts python2/3 agnostic.
git-svn-id: svn://localhost/ardour2/branches/3.0@7931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27 23:10:27 +00:00
Carl Hetherington
67b4433b0c Don't strip suffixes twice from peakfile names, otherwise source names like fred.jim.wav and fred.sheila.wav end up trying to use the same peakfile name.
git-svn-id: svn://localhost/ardour2/branches/3.0@7928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27 21:21:34 +00:00
Carl Hetherington
ba6d6895f7 assert() which catches one source of crashes on startup when Ardour starts JACK.
git-svn-id: svn://localhost/ardour2/branches/3.0@7926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27 21:18:32 +00:00
Carl Hetherington
163dab0d5d Prevent crash when trying to register a port with a disconnected engine.
git-svn-id: svn://localhost/ardour2/branches/3.0@7925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27 21:18:18 +00:00
Carl Hetherington
935aeb55dd Use ProgressReporter class for normalization. Report progress for individual regions. Fix crash on normalising a single region (#3510).
git-svn-id: svn://localhost/ardour2/branches/3.0@7924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27 14:22:24 +00:00
326d227323 (3.0 version) some Mackie-emulation systems (e.g. euphonix) send zero for the tick count when the jog wheel is moved, so accomodate this by pretending that they reported 1 tick
git-svn-id: svn://localhost/ardour2/branches/3.0@7907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-19 15:43:05 +00:00
aef355525f delete, not comment, for the last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@7897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-14 13:11:13 +00:00
58416460ad do not attempt to clear a (JACK) MIDI port buffer after registering the port, this is not a legal access to a JACK port buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@7896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-14 13:10:42 +00:00
Carl Hetherington
b6f1f02131 Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@7893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-11 00:06:08 +00:00
Carl Hetherington
16b562e112 Fix libardour tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@7891 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-10 11:35:04 +00:00
Carl Hetherington
d86000efd0 Fix crash when running an analysis of a plugin with MIDI IO.
git-svn-id: svn://localhost/ardour2/branches/3.0@7889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-09 12:17:46 +00:00
Carl Hetherington
ba0458cf1f Update recorded MIDI regions as notes arrive. Fixes one cause of infinite note-lengths during record. Fix various problems with multiple captures of MIDI during one pass.
git-svn-id: svn://localhost/ardour2/branches/3.0@7887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-08 14:54:16 +00:00
Carl Hetherington
a029a112a6 Remove debug code from previous.
git-svn-id: svn://localhost/ardour2/branches/3.0@7884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-07 19:48:22 +00:00
Carl Hetherington
dd7258b29f Update auto loop range to match session range until it is changed by the user. Fixes #3472.
git-svn-id: svn://localhost/ardour2/branches/3.0@7883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-07 18:33:20 +00:00
Carl Hetherington
3b0c5e3541 Respond to JACK session quit request. Fixes #3491.
git-svn-id: svn://localhost/ardour2/branches/3.0@7878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-07 12:12:16 +00:00
Carl Hetherington
2d08273987 Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-05 14:55:08 +00:00
Carl Hetherington
8222348761 Improve GUI display during MIDI record in various ways.
git-svn-id: svn://localhost/ardour2/branches/3.0@7875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-05 00:27:26 +00:00
Carl Hetherington
22ffdfa6ad Fix incorrect angle brackets for includes.
git-svn-id: svn://localhost/ardour2/branches/3.0@7874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-05 00:25:57 +00:00
Carl Hetherington
15eae738d0 Comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@7873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-05 00:20:37 +00:00
Carl Hetherington
bf83719ca0 Stop spurious regions being added to tracks when chasing MTC.
git-svn-id: svn://localhost/ardour2/branches/3.0@7868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-02 00:06:23 +00:00
Carl Hetherington
fff03c103d Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@7867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-02 00:06:11 +00:00
Carl Hetherington
1c7f17dcc0 Demangle stacktrace names.
git-svn-id: svn://localhost/ardour2/branches/3.0@7866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-02 00:06:01 +00:00
Carl Hetherington
74c69114bc Fix confusion about the 'done' variable in InterThreadInfo during import. 'done' now means that a given run of the import thread has completed; 'all_done' means that the whole import operation has completed. Fixes #3396.
git-svn-id: svn://localhost/ardour2/branches/3.0@7862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29 22:59:39 +00:00
Carl Hetherington
045754c52b Don't mark reloaded MIDI sources as non-writable. Fixes #3483.
git-svn-id: svn://localhost/ardour2/branches/3.0@7853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-28 22:31:24 +00:00
Carl Hetherington
f761f13f6b Don't cut output rate of non-interpolated controllers.
git-svn-id: svn://localhost/ardour2/branches/3.0@7852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-28 18:47:24 +00:00
0ff828822f use select next/prev stuff on editor track+bus list
git-svn-id: svn://localhost/ardour2/branches/3.0@7851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-28 18:37:21 +00:00
baf8cfe815 add new code for generic select next/previous row ops in a treeview
git-svn-id: svn://localhost/ardour2/branches/3.0@7849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-28 17:26:05 +00:00
aad157337c correct version of: port cairo ARGB/BGRA -> pixbuf RGBA patch from recent 2.X commit (restores text on canvas), in which i move some functions around, rename stuff and add comments
git-svn-id: svn://localhost/ardour2/branches/3.0@7846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-26 13:33:39 +00:00
Carl Hetherington
42a23312a0 Slightly hacky but functional fix for large quantities of MIDI output when interpolating sharp changes in controller value. Fixes #3476.
git-svn-id: svn://localhost/ardour2/branches/3.0@7840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-24 14:05:20 +00:00
Carl Hetherington
6a67194735 framecnt -> framepos for extents, as I think it makes slightly more sense.
git-svn-id: svn://localhost/ardour2/branches/3.0@7836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-23 22:55:51 +00:00
Carl Hetherington
8202e6cfbb Fix implicit cast of framepos_t to nframes_t. Fixes #3473.
git-svn-id: svn://localhost/ardour2/branches/3.0@7835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-23 22:55:08 +00:00
Carl Hetherington
b6eede26fa Remove debugging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-23 22:54:47 +00:00
Carl Hetherington
cf4091a03a Fix assert. Remove some debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@7833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-23 21:48:17 +00:00
ded4a143db much craziness with canvas cursors; fix 0 beat cursor text when shortening notes; fix crash when trimming locked regions; don't show trim cursors when region is locked; partial version of enumwriter validation fix from 2.X (less necessary with 3.0; probably more ...
git-svn-id: svn://localhost/ardour2/branches/3.0@7831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22 15:21:06 +00:00
Carl Hetherington
096f146d94 Tidy up Window menu a bit; use ToggleActions for all relevant things, cleanup editor/mixer options a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@7828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22 00:41:25 +00:00
Carl Hetherington
4d908a12fd Claim button presses on PixFaders. Fixes #3470.
git-svn-id: svn://localhost/ardour2/branches/3.0@7827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21 23:34:59 +00:00
90e73a3a6d (1) remove almost-never used block/unlock_property_changes() methods from PBD::Stateful (2) hide used and path columns from region list (3) detect mouse position within MIDI notes and thus allow move or trim from the same mouse mode (object or trim; first & last 1/4 of each note is for trimming
git-svn-id: svn://localhost/ardour2/branches/3.0@7823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21 15:15:06 +00:00
Carl Hetherington
e6ecd36b26 Revert previous commit, adding comment as to why.
git-svn-id: svn://localhost/ardour2/branches/3.0@7822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21 15:02:45 +00:00
Carl Hetherington
f7d973476c Patch from Lincoln: don't save state on starting record, as it can be slow. Fixes #3452.
git-svn-id: svn://localhost/ardour2/branches/3.0@7821 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21 14:29:11 +00:00
a017411dfa missing part of lincoln's patch
git-svn-id: svn://localhost/ardour2/branches/3.0@7819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21 03:09:24 +00:00
97a96ee250 region list displays actual playlist use count for each region, rather than a GUI-based count
git-svn-id: svn://localhost/ardour2/branches/3.0@7814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 19:18:17 +00:00
Carl Hetherington
19ccb83ff5 Fix VST build.
git-svn-id: svn://localhost/ardour2/branches/3.0@7811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 03:43:45 +00:00
Carl Hetherington
ac34829f3b Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@7810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 01:01:53 +00:00
Carl Hetherington
a2885a430b Add progress bar to strip silence dialogue. Fixes #3103.
git-svn-id: svn://localhost/ardour2/branches/3.0@7809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 00:58:25 +00:00
Carl Hetherington
a212e7eec9 Make sure that _get_vector writes a value to the output array even when veclen == 1. Fixes #3461.
git-svn-id: svn://localhost/ardour2/branches/3.0@7808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 00:57:44 +00:00
Carl Hetherington
dadee4622d Put images on the fade in/out menus. Fixes #3411.
git-svn-id: svn://localhost/ardour2/branches/3.0@7805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-19 03:31:03 +00:00
Carl Hetherington
9054c71fb8 Update regions list when editing a region fade. Fixes #3458.
git-svn-id: svn://localhost/ardour2/branches/3.0@7801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-18 20:55:51 +00:00
Carl Hetherington
d2c23d8204 Fix save/reload of pan automation.
git-svn-id: svn://localhost/ardour2/branches/3.0@7798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-18 20:01:36 +00:00
ede4ecbb00 megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17 18:20:37 +00:00
10bdce85a0 megaopus commit: (1) add __STD_(LIMIT|FORMAT)_MACROS to command line flags for cc and c++ builds, remove them from source (2) add new Property::midi_data used by MidiRegion to signal that its (MIDI) contents have changed (3) massive switch from nframes_t to framepos_t/framecnt_t including removal of ARDOUR::max_frames (replaced by ARDOUR::max_frame{pos,cnt} (lots more to do but this set was driven by changes to the Diskstream API to use framepos_t
git-svn-id: svn://localhost/ardour2/branches/3.0@7791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17 16:24:22 +00:00
Carl Hetherington
48d5e569af Tidy formatting.
git-svn-id: svn://localhost/ardour2/branches/3.0@7787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-16 17:01:19 +00:00
64ccab5227 lincoln's patch for scroomer pinching, from #3222
git-svn-id: svn://localhost/ardour2/branches/3.0@7786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-16 16:18:50 +00:00
8e00b86ebb make resampled sources (during import) report their "natural position" (i.e. BWF timecode) using the samplerate of the session, not the original source, for correct positioning; minor frame{pos,cnt}_t cleanup
git-svn-id: svn://localhost/ardour2/branches/3.0@7785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-16 16:11:26 +00:00
3b8d6d3b56 lincoln's patch to stop a3 from nuking bounced files created by a2, fixes #3441
git-svn-id: svn://localhost/ardour2/branches/3.0@7781 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-15 15:22:39 +00:00
Carl Hetherington
90ad837c90 Tidy up PeaksReady locking slightly and emit it during done_with_peakfile_writes. Fixes some non-appearing peaks after record.
git-svn-id: svn://localhost/ardour2/branches/3.0@7776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 23:15:43 +00:00
c1ee2c6943 use isspace() and not isgraph() to identify whitespace; remove Glib::ustring version of strip_whitespace_edges()
git-svn-id: svn://localhost/ardour2/branches/3.0@7773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 16:50:22 +00:00
4d112a8e6b remove Glib::ustring from libardour; allow any characters except '/' and '\' in paths (may cause issues when loading creatively named 2.X sessions; fix a couple of details of name collection and usage from the startup dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@7772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 15:45:21 +00:00
Carl Hetherington
875f0befd5 Fix restoration of MementoCommand<Crossfade>. Fixes #3418.
git-svn-id: svn://localhost/ardour2/branches/3.0@7771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 00:41:53 +00:00
Carl Hetherington
42acfc365f Just flush processors on stop (when plugins-stop-on-transport is true) rather than doing deactivate/activate. Should fix #3445.
git-svn-id: svn://localhost/ardour2/branches/3.0@7770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 00:41:33 +00:00
Carl Hetherington
14f67ab187 Patch from Lincoln to fix placement of plugins in 2.X sessions. Fixes #3444.
git-svn-id: svn://localhost/ardour2/branches/3.0@7762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09 14:41:09 +00:00
Carl Hetherington
d3ed5483b0 Fix assertion failure when turning plugins off.
git-svn-id: svn://localhost/ardour2/branches/3.0@7760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09 14:40:46 +00:00
Carl Hetherington
136b8ed747 Fix restore of fader automation from 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@7754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07 23:26:21 +00:00
5ce3409e5d Fix missing virtual destructors.
git-svn-id: svn://localhost/ardour2/branches/3.0@7753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07 21:26:37 +00:00
aaf6ea8d28 Upgrade to latest autowaf.
Tidy up configure output.


git-svn-id: svn://localhost/ardour2/branches/3.0@7752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07 20:48:54 +00:00
Carl Hetherington
7c678d0713 Set up session range location correctly from 2.X sessions. Fixes #3435.
git-svn-id: svn://localhost/ardour2/branches/3.0@7750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07 12:19:41 +00:00
Carl Hetherington
bac638935e Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@7746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-06 21:00:31 +00:00
Carl Hetherington
e1106c39b8 Don't create a feedback loop by auto-connecting a master route to itself.
git-svn-id: svn://localhost/ardour2/branches/3.0@7745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-06 20:59:15 +00:00
Carl Hetherington
ea2648503b Cleanup of region drag code to be a bit more efficient and shorter. Fixes crashes when dragging regions to the wrong track type.
git-svn-id: svn://localhost/ardour2/branches/3.0@7744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-06 12:34:11 +00:00
Carl Hetherington
852ec4c77b Removed unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-03 17:20:24 +00:00
Carl Hetherington
ad547e53fc Don't add standard processors twice to routes from 2.X sessions. Fixes #3434.
git-svn-id: svn://localhost/ardour2/branches/3.0@7740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-03 17:04:15 +00:00
Carl Hetherington
5b90aab4d8 Fix restore of sends from session files for both 2.X and 3.0 sessions. Fixes #3433.
git-svn-id: svn://localhost/ardour2/branches/3.0@7739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-03 15:34:09 +00:00
Carl Hetherington
8778724701 Rename debug -> dump
git-svn-id: svn://localhost/ardour2/branches/3.0@7738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-03 15:24:21 +00:00
Carl Hetherington
0c496aafed Activate plugins that are added to a PluginInsert after it itself has been activated.
git-svn-id: svn://localhost/ardour2/branches/3.0@7736 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02 19:11:02 +00:00
98d994f29c fix a variety of unused argument errors noted by gcc 4.3.2 on x86
git-svn-id: svn://localhost/ardour2/branches/3.0@7733 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02 17:01:36 +00:00
6f73d71780 fix thinko-bug in string specialization of Property<T>
git-svn-id: svn://localhost/ardour2/branches/3.0@7731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02 16:59:27 +00:00
Carl Hetherington
e76c4ee06d Default to play mode for MIDI controllers. Fixes #3429.
git-svn-id: svn://localhost/ardour2/branches/3.0@7728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-01 23:08:42 +00:00
Carl Hetherington
f645b4119e Clean up MidiSource::midi_read now that the signed type sframes_t is being used to pass positions around.
git-svn-id: svn://localhost/ardour2/branches/3.0@7726 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-01 01:50:24 +00:00
Carl Hetherington
61af48d18e Fix error in diskstream fill calculations. Fixes #3426.
git-svn-id: svn://localhost/ardour2/branches/3.0@7725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-01 01:46:38 +00:00
Carl Hetherington
369b639222 Fix uninitialised value.
git-svn-id: svn://localhost/ardour2/branches/3.0@7724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-01 01:44:31 +00:00
07d74fb21b don't set jack transport position frame (violates JACK API); clean up other related code
git-svn-id: svn://localhost/ardour2/branches/3.0@7723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-31 16:01:42 +00:00
f13b700944 mostly fix 3409 by making it impossible to sync to JACK if video pull up/down is non-zero. missing: can still alter video pull up/down after syncing to JACK, will likely wait till post-3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@7721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-31 01:49:33 +00:00
Carl Hetherington
b9dca83832 Auto-connect outputs that appear as a result of e.g. instruments being added to MIDI tracks. Fixes #3368.
git-svn-id: svn://localhost/ardour2/branches/3.0@7720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-30 22:34:21 +00:00
Carl Hetherington
e528e5038f Allow crossfades from the undo record to be recreated even if their regions are no longer in a playlist.
git-svn-id: svn://localhost/ardour2/branches/3.0@7719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-30 22:34:05 +00:00
Carl Hetherington
2221fc139c Missing return.
git-svn-id: svn://localhost/ardour2/branches/3.0@7718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-30 22:33:56 +00:00