13
0
Commit Graph

3281 Commits

Author SHA1 Message Date
8855b1643c more gcc 4.6/standards compliance
git-svn-id: svn://localhost/ardour2/branches/3.0@9625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 00:25:30 +00:00
df46ab2c02 attempt to be compliant with gcc 4.6 (assuming that its more compliant with standards), by defining a default constructor for an object that is in static/global scope
git-svn-id: svn://localhost/ardour2/branches/3.0@9624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 23:45:34 +00:00
788dfc6a51 clean up memory leaks with nested source read buffers
git-svn-id: svn://localhost/ardour2/branches/3.0@9621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 02:30:25 +00:00
43495d7f2b putative fix for crashes related to diskstream playback buffer refills with compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9620 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 00:59:53 +00:00
06da4278db abort when cnt is too high
git-svn-id: svn://localhost/ardour2/branches/3.0@9619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 23:51:32 +00:00
a699df37ad debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 23:44:13 +00:00
d6be900da0 more combine/uncombine fixes including making uncombine push the compound region gain level into the constituents and doing the right thing when we uncombine in a playlist other than the one in which the compound region was created
git-svn-id: svn://localhost/ardour2/branches/3.0@9601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 17:22:22 +00:00
92ede6153e remove bogus default-channel property from MidiTrack XML
git-svn-id: svn://localhost/ardour2/branches/3.0@9598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 15:03:32 +00:00
16c280e405 turn off relevant fade in/out before creating peakfiles for compound region sources
git-svn-id: svn://localhost/ardour2/branches/3.0@9596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 13:56:19 +00:00
f38db9a4e3 move session file storage of nested sources from playlist into region, and reload them within Session::XMLRegionFactory, just before we create the region that uses the nested source
git-svn-id: svn://localhost/ardour2/branches/3.0@9595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 12:24:04 +00:00
884e147a9c restore compound region fade, where possible, to constituent regions, after uncombine
git-svn-id: svn://localhost/ardour2/branches/3.0@9593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 22:44:30 +00:00
9925ab554e logic to copy audio region fade in/fade out into compound regions (one-way for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@9588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 18:51:00 +00:00
Carl Hetherington
04b54f8dd1 Fix name of libardour .mo file.
git-svn-id: svn://localhost/ardour2/branches/3.0@9587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 18:09:19 +00:00
Carl Hetherington
711db34a81 Remove MIDI track default channel and its menu, and choose the channel for new notes using MidiTimeAxisView::get_channel_for_add() (fixes #3998 and #3865).
git-svn-id: svn://localhost/ardour2/branches/3.0@9585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 15:19:47 +00:00
e984220eaa correct the logic used when building a compound region to include a whole-file (whole-source) region as a parent for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@9584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 12:19:24 +00:00
49785b8fbb updated swedish translation from peppo
git-svn-id: svn://localhost/ardour2/branches/3.0@9583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 11:34:59 +00:00
Carl Hetherington
b38b5fd59b Doxygen tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 10:15:54 +00:00
e5dc4e4ea2 change region selection after a combine op
git-svn-id: svn://localhost/ardour2/branches/3.0@9580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:40:32 +00:00
bf57411634 add back combine/uncombine debugging; fix uncombine op to get original region lengths right, i think
git-svn-id: svn://localhost/ardour2/branches/3.0@9579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:20:33 +00:00
Carl Hetherington
edfc4e8563 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@9577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:18:57 +00:00
Carl Hetherington
b6587ad160 Assorted doxygen fixes; no functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:12:45 +00:00
371be41d81 uncombine now pays attention to trims + moves done with the compound region, and applies them as necessary to the constituent regions before placing them back in the track
git-svn-id: svn://localhost/ardour2/branches/3.0@9573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 11:49:46 +00:00
Carl Hetherington
ed2a7c380d Fix bit rot with boost shared_ptr debugging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:29 +00:00
Carl Hetherington
32df620938 Fix a few missing drops of Route references.
git-svn-id: svn://localhost/ardour2/branches/3.0@9571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:14 +00:00
fab94b8495 rationalize and improve region naming conventions to cover compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 21:28:25 +00:00
9c733915a0 basic uncombining (no post-facto region trimming)
git-svn-id: svn://localhost/ardour2/branches/3.0@9566 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 16:11:00 +00:00
Carl Hetherington
a2d37a02b8 Fix problems with restoration of unused playlists (#4052).
git-svn-id: svn://localhost/ardour2/branches/3.0@9563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-21 18:44:44 +00:00
2e24dd45c3 Not quite :) Waf obj.defines has no -D (compiler portable...).
git-svn-id: svn://localhost/ardour2/branches/3.0@9562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-20 16:06:26 +00:00
35df1cfabf catchup tweak for the waf 1.6 changes
git-svn-id: svn://localhost/ardour2/branches/3.0@9561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-20 14:31:39 +00:00
8d0ba52547 Use ISC license for RDFF (same idea, MIT style, just prettier).
git-svn-id: svn://localhost/ardour2/branches/3.0@9560 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-19 21:57:34 +00:00
041c882143 Add 'controls' item to plugin insert context menu to always show Ardour generated controls for plugin, even if the plugin has a GUI. In particular, this gives you UI access to presets and the other handy stuff ardour sticks at the top, for inherently broken external UIs which don't allow Ardour to add such things.
Fix crash related to scale points when showing plugin UIs.

Fix packing of scrolled generic plugin UI so the controls expand (rather than leaving a ton of wasted empty space and using unnecessary scroll bars).


git-svn-id: svn://localhost/ardour2/branches/3.0@9551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:00:44 +00:00
Carl Hetherington
424b3479de No-op: indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 23:23:46 +00:00
ba51f635f7 revert that last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 21:44:10 +00:00
39d8aa0e94 put compounded-xfades at the right place, i think
git-svn-id: svn://localhost/ardour2/branches/3.0@9547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 21:43:29 +00:00
4fade1ea35 xfades in combined regions seem to work
git-svn-id: svn://localhost/ardour2/branches/3.0@9546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 18:23:01 +00:00
be830adccb not actually working attempt to copy relevant xfades into compound regions; fix compilation issues with an earlier commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 16:45:22 +00:00
Ben Loftis
aa6adacc75 fix thinko in playlist constructor for cut and copy
git-svn-id: svn://localhost/ardour2/branches/3.0@9541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 15:20:18 +00:00
Carl Hetherington
819faa3b0b Remove unnecessary duplicate take of Sequence's read_lock.
git-svn-id: svn://localhost/ardour2/branches/3.0@9537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 12:01:05 +00:00
Carl Hetherington
c86ccc7db2 Minor tidy-ups.
git-svn-id: svn://localhost/ardour2/branches/3.0@9536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 12:00:10 +00:00
Carl Hetherington
fb9b778fbc Remove unused mutex.
git-svn-id: svn://localhost/ardour2/branches/3.0@9535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 11:59:47 +00:00
Carl Hetherington
da6384925e Remove unnecessary virtual declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@9534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 11:54:45 +00:00
Carl Hetherington
eeadeac7e4 Fix undo when notes are changed and then removed by the overlap checker (#3995).
git-svn-id: svn://localhost/ardour2/branches/3.0@9531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 22:23:18 +00:00
c8a27ebdbf track combine ops per-playlist to avoid name collisions for compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 21:21:16 +00:00
99aa8c6338 rename join regions op as combine regions; save and restore nested playlists, sources, regions; add undo/redo for combine; fixup peakfile use/discovery
git-svn-id: svn://localhost/ardour2/branches/3.0@9528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 20:16:57 +00:00
Carl Hetherington
7390303728 Make MIDI channel selector button colours more distinct (#3772).
git-svn-id: svn://localhost/ardour2/branches/3.0@9524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:18:13 +00:00
29dd7bbac7 Update wscripts for portability and steps towards waf 1.6 migration.
Use obj.defines and obj.includes instead of c[xx]flags (more compiler portable).
Use lists instead of space delimited strings (more flexible and waf 1.6 compatible).
Fix crazy long lines.


git-svn-id: svn://localhost/ardour2/branches/3.0@9523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:02:38 +00:00
678bb05bd6 Don't check for SLV2 if Lilv is found
git-svn-id: svn://localhost/ardour2/branches/3.0@9522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 17:12:57 +00:00
4b5bd4ca46 refactor playlist sources to allow for MIDI and upcoming work on save/restore
git-svn-id: svn://localhost/ardour2/branches/3.0@9521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 15:49:26 +00:00
43798a7c25 sane naming scheme for combined regions; fix deadlock when nesting to more than one level
git-svn-id: svn://localhost/ardour2/branches/3.0@9519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 13:06:55 +00:00
0a9cef7720 very basic Join (regions) editing operation. not finished yet, no undoable, no sensible name for new region, etc. etc
git-svn-id: svn://localhost/ardour2/branches/3.0@9518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 02:17:58 +00:00
1959efd94d Support compilation with (old) SLV2, or (new) Lilv and (optionally) Suil.
Fix ticket #0004041.


git-svn-id: svn://localhost/ardour2/branches/3.0@9516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-15 23:10:13 +00:00
3a855fb69a Move SLV2-independent LV2 persist state implementation to lv2_state.h.
git-svn-id: svn://localhost/ardour2/branches/3.0@9515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:44:47 +00:00
4e49c56361 Completely localist use of SLV2 to lv2_plugin.cc and lv2_plugin_ui.cc.
git-svn-id: svn://localhost/ardour2/branches/3.0@9514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:05:26 +00:00
ac367e8904 Make LV2World local to lv2_plugin.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@9513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 19:55:46 +00:00
8e717d107f Remove LV2Plugin::slv2_port.
git-svn-id: svn://localhost/ardour2/branches/3.0@9512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:54:45 +00:00
2b7f092b85 Generic scale points API.
Hide scale points implementation inside specific Plugin subclass.
Don't needlessley/slowly get scale points twice for each port while building UI.
Remove dependence on specific plugin types from GenericPluginUI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:43:34 +00:00
c78528dcea Use LV2_SUPPORT define instead of HAVE_SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 17:59:16 +00:00
41b23ca647 initial volley of work for AudioPlaylistSource, the basic prototype for sources-that-are-nested
git-svn-id: svn://localhost/ardour2/branches/3.0@9507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 19:55:39 +00:00
Carl Hetherington
ac23288b5d Fix update of session range location on copy-dragging regions (#4038).
git-svn-id: svn://localhost/ardour2/branches/3.0@9504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 21:29:27 +00:00
56d392f41c remove unused fade_source member of AudioDiskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@9501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 14:59:11 +00:00
561ab24d0a new debug trace in ::start_transport(); add a new emission of TransportStateChange to keep GUI up to date when varispeeding
git-svn-id: svn://localhost/ardour2/branches/3.0@9500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:17:51 +00:00
f3857bf68c remove unused SHUTTLE_FRACT constant
git-svn-id: svn://localhost/ardour2/branches/3.0@9499 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:17:02 +00:00
e22f93407b make instruments/generators do the right thing when bypassed
git-svn-id: svn://localhost/ardour2/branches/3.0@9498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:16:16 +00:00
3ae786bb06 fix minor type error
git-svn-id: svn://localhost/ardour2/branches/3.0@9497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:01:46 +00:00
Carl Hetherington
48493b444b Fix previous patch using Ben's patch from A2 to fix #4035 properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 22:26:13 +00:00
Carl Hetherington
f31b485e90 Reset fades on regions copied from time ranges in other regions (#4035).
git-svn-id: svn://localhost/ardour2/branches/3.0@9494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 15:58:09 +00:00
Carl Hetherington
7633066406 Fix compiler warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@9493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 15:57:49 +00:00
Carl Hetherington
f2a84a944d Add missing GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 11:55:23 +00:00
Carl Hetherington
d7c836dc07 Ensure that empty drag-created MIDI regions get a file on disk so that there aren't missing file errors on reload (#4024).
git-svn-id: svn://localhost/ardour2/branches/3.0@9486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-08 23:45:33 +00:00
Carl Hetherington
d901dbccc9 Make a new write source when the diskstream name changes so that sources don't get a name which includes the old name.
git-svn-id: svn://localhost/ardour2/branches/3.0@9485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-08 23:45:26 +00:00
Carl Hetherington
143dddd9a7 Add a GUI to set the number of active extenders for the Mackie control surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 22:44:50 +00:00
Carl Hetherington
ae91577f2c Re-use locations when setting location list state, so that selected locations are preserved through an undo (#3929).
git-svn-id: svn://localhost/ardour2/branches/3.0@9480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 12:09:37 +00:00
Carl Hetherington
d947f27faf Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:03:35 +00:00
Carl Hetherington
acd59c3439 Fix restoration of connections to control surface ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@9475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:00:43 +00:00
Carl Hetherington
09c0014790 No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@9474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:00:30 +00:00
Carl Hetherington
bcb554a190 Fix problems with sessions being saved as foo.ardour.ardour when loaded using the session file name (#4026).
git-svn-id: svn://localhost/ardour2/branches/3.0@9471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 11:32:35 +00:00
Carl Hetherington
56b70dcc0b Do log/lin mapping for Mackie faders so that they behave like the on-screen ones.
git-svn-id: svn://localhost/ardour2/branches/3.0@9470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:41 +00:00
Carl Hetherington
91d512174e Use a timeout to reset faders' in_use flags when in BCF mode (ie with faders that don't support touch).
git-svn-id: svn://localhost/ardour2/branches/3.0@9469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:32 +00:00
Carl Hetherington
f01dc1bfd5 Fix crash on startup when using BCF mode for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:23 +00:00
Carl Hetherington
ba8a593c29 Add small GUI to select Mackie / BCF2000 emulation for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:11 +00:00
Carl Hetherington
cff8af89de Comment typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@9466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:21:20 +00:00
92e72260b1 without drobilla's new stuff, LV2Plugin::_ui_type points to global data so do not try to free it
git-svn-id: svn://localhost/ardour2/branches/3.0@9464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03 14:34:40 +00:00
Carl Hetherington
fe2651ae5f Remove playlists from the session lists when they DropReferences. Should fix #4023.
git-svn-id: svn://localhost/ardour2/branches/3.0@9460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 23:22:00 +00:00
Carl Hetherington
a4b1a1bb14 Factor out stop limit computation into its own method. Ignore stop-at-session-end if there is a punch range and punch-in is enabled (#4022).
git-svn-id: svn://localhost/ardour2/branches/3.0@9457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 22:21:59 +00:00
06e8b6452d Fix external UIs (e.g. Calf git).
git-svn-id: svn://localhost/ardour2/branches/3.0@9442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 15:36:51 +00:00
0060b9929f Update for new SLV2 API.
git-svn-id: svn://localhost/ardour2/branches/3.0@9438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 06:02:22 +00:00
3356957afa remove some left over debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-25 12:28:35 +00:00
20858349f0 reverse debugging stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@9423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:36:45 +00:00
613c11c5ac yet more temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:08:31 +00:00
5b1f0e7919 further temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:07:07 +00:00
01231deaa5 additional temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:04:55 +00:00
Carl Hetherington
977874ab93 Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@9416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:50:32 +00:00
Carl Hetherington
110311e186 Re-fix compile failure with --no-nls (#3111).
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:34:42 +00:00
Carl Hetherington
1d5cc25d94 Add some assertions.
git-svn-id: svn://localhost/ardour2/branches/3.0@9411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 00:02:58 +00:00
4769db412d Fix Python whitespace (follow PEP8 guidelines, reformatted by Python Reindent)
git-svn-id: svn://localhost/ardour2/branches/3.0@9409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 22:15:21 +00:00
c37722f7dc Use new Suil and SLV2 APIs for LV2 plugin UIs.
Add lv2_ui.h (required by lv2_external_ui.h).


git-svn-id: svn://localhost/ardour2/branches/3.0@9406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 08:08:37 +00:00
449d0cf486 fix thinko in setting up auto-connect for monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@9403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 20:33:44 +00:00
Carl Hetherington
42cd22ead4 Set session dirty on plugin parameter changes (rest of #3997).
git-svn-id: svn://localhost/ardour2/branches/3.0@9402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:53:59 +00:00
Carl Hetherington
43be246a6a Make changes to route processors set the session dirty (part of #3997).
git-svn-id: svn://localhost/ardour2/branches/3.0@9401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:53:53 +00:00
Carl Hetherington
80476ce3f3 Prevent note trackers for overlapping MIDI regions inserting events that occur before the requested time range, thereby stopping playback. Should fix #3973.
git-svn-id: svn://localhost/ardour2/branches/3.0@9399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 13:59:32 +00:00
Carl Hetherington
b25ef3ae69 Fix an assertion failure when stopping the transport with an active controllable touch gesture.
git-svn-id: svn://localhost/ardour2/branches/3.0@9389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:46 +00:00
Carl Hetherington
e157694c67 A few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@9387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:34 +00:00
Carl Hetherington
d22cd939a3 Remove unused NascentInfo::is_touch member.
git-svn-id: svn://localhost/ardour2/branches/3.0@9386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:25 +00:00
Carl Hetherington
ee697bef96 Add assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:17 +00:00
Carl Hetherington
51e368f3f0 Fix assertion failure when merging a set of nascent events which start at the same time as the last event in a ControlList.
git-svn-id: svn://localhost/ardour2/branches/3.0@9384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:10 +00:00
5ebdcdf12e remove debugging output from audioengine/port code
git-svn-id: svn://localhost/ardour2/branches/3.0@9383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 17:59:52 +00:00
7035a21057 crude but apparently working fix for issues with JACK port deletion at session shutdown
git-svn-id: svn://localhost/ardour2/branches/3.0@9382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:54:18 +00:00
ee728d763d allow invalidation-of-UI-request-by-object-deletion to work more often by setting the event loop record at connect time, not execution time
git-svn-id: svn://localhost/ardour2/branches/3.0@9379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:07:10 +00:00
Carl Hetherington
480986bb60 Save route group reorderings in the session file. Link changes in the mixer and editor group lists (part of #3918).
git-svn-id: svn://localhost/ardour2/branches/3.0@9377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 15:46:47 +00:00
Carl Hetherington
e55780afbd Reverse the scroll wheel behaviour of the scroomer so that it feels the same as scrolling the track view (#3953).
git-svn-id: svn://localhost/ardour2/branches/3.0@9375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:43:58 +00:00
Carl Hetherington
65a90ccffc Initialise aux send gain to -inf dB (#3990).
git-svn-id: svn://localhost/ardour2/branches/3.0@9368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-18 18:50:38 +00:00
Carl Hetherington
02f4247e65 Remove some unused stuff from SVN (#3985).
git-svn-id: svn://localhost/ardour2/branches/3.0@9364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-17 23:27:08 +00:00
Carl Hetherington
47018e771d Fix erroneous masking when loading bank changes (part of #3916).
git-svn-id: svn://localhost/ardour2/branches/3.0@9359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 15:10:25 +00:00
Carl Hetherington
cb643ab965 Remove some calls to process_updates() which I think prevent GTK coalescing redraw requests. Remove some debugging code. Suspend update of MIDI regions during scroomer drag to speed things up (#3954).
git-svn-id: svn://localhost/ardour2/branches/3.0@9357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 13:31:27 +00:00
Carl Hetherington
1cc5a1829b Fix 'make new plugins active' configure option (#3975).
git-svn-id: svn://localhost/ardour2/branches/3.0@9351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-15 00:28:29 +00:00
852232ad27 Tolerate LV2 plugins that call persist/file state functions early.
git-svn-id: svn://localhost/ardour2/branches/3.0@9343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-13 01:44:46 +00:00
Carl Hetherington
036174daf1 Move check for a new session directory being writable to after it has been created.
git-svn-id: svn://localhost/ardour2/branches/3.0@9342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11 18:49:51 +00:00
41d0052d19 remove all use of access(2) (this was done a bit stupidly, we could have used g_access)
git-svn-id: svn://localhost/ardour2/branches/3.0@9340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:38:42 +00:00
8177e85bf9 fix mismatching use of operator new() when allocating buffer to passed into libsmf - should be malloc'ed
git-svn-id: svn://localhost/ardour2/branches/3.0@9339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:36:54 +00:00
93a24066de add PBD::sys::path::exists_and_writable() method to help replace access(2)
git-svn-id: svn://localhost/ardour2/branches/3.0@9338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:27:22 +00:00
aca716c0d6 remove another instance of access(2)
git-svn-id: svn://localhost/ardour2/branches/3.0@9337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:01:06 +00:00
a9a05441ae part two of: correctly reset capture alignment at session load
git-svn-id: svn://localhost/ardour2/branches/3.0@9336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:44 +00:00
5d9c6089a4 formatting cleanup
git-svn-id: svn://localhost/ardour2/branches/3.0@9335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:15 +00:00
64022eebcb correctly reset capture alignment at session load; for MIDI diskstreams, don't try to set capture alignment based on connectivity, always set _source_port ASAP and check _source_port when recording
git-svn-id: svn://localhost/ardour2/branches/3.0@9334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 14:59:22 +00:00
ce35e913d0 rename only the main outs of a route when its name changes, not inserts or sends, which leads to port name collisions since the name gets shared with the route itself
git-svn-id: svn://localhost/ardour2/branches/3.0@9333 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-08 16:48:34 +00:00
67d970529a Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 16:35:20 +00:00
0906b39918 Fix my name :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 15:00:16 +00:00
948d449843 Update LV2 files extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:59:37 +00:00
e0140b7c8f Implement latest LV2 files extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:58:44 +00:00
Carl Hetherington
e8c8befb87 Differentiate between pitch-shift (for audio) and transpose (for MIDI). Fixes #3940.
git-svn-id: svn://localhost/ardour2/branches/3.0@9299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 02:04:37 +00:00
Carl Hetherington
72f85f6cec Fix show checkbuttons for mixer groups on startup (#3919). Also synchronise visible status between editor and mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@9297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 00:36:36 +00:00
e54d71ec3d remove unused arguments to keep gcc quiet
git-svn-id: svn://localhost/ardour2/branches/3.0@9291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-05 01:03:44 +00:00
Carl Hetherington
fedc155b94 Fix read_raw_internal to use the appropriate audio source for the specified channel, and fix maximum_amplitude to check all channels of a region rather than just the first. Fixes #3933.
git-svn-id: svn://localhost/ardour2/branches/3.0@9290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:32:20 +00:00
71222c2e6e Fix broken whitespace (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:00:48 +00:00
62e730b57a Fix broken whitespace (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:46:48 +00:00
847e8f0610 add some scroll wheel support to the scroomer
git-svn-id: svn://localhost/ardour2/branches/3.0@9287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:26:03 +00:00
3a40d9ef6b minor tweaks to debug output and comments and header order
git-svn-id: svn://localhost/ardour2/branches/3.0@9285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:48:17 +00:00
d043ee396b when overwriting existing MIDI buffers in a MidiDiskstream be sure to update file_frame so that the *next* read is from the right location in the source; plus slighly improved debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:44:56 +00:00
ab376e10a7 reimplement MidiRingBuffer::dump()
git-svn-id: svn://localhost/ardour2/branches/3.0@9283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:43:40 +00:00
Carl Hetherington
806b94bec1 Add plugins (activating them) after doing any latency_compute_run, as otherwise the latency_compute_run deactivates the plugins and an assert trips in LadspaPlugin::run_in_place.
git-svn-id: svn://localhost/ardour2/branches/3.0@9282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 17:57:18 +00:00
040e016137 move some DEBUG::Graph traces to DEBUG::ProcessThreads ; remove Diskstream::rename_write_sources() which is no longer relevant (sources are not created on disk until needed); fixup calling Diskstream::non_realtime_input_change() when calling Diskstream::set_track() with a track that doesn't yet have any I/O (i.e. typical case)
git-svn-id: svn://localhost/ardour2/branches/3.0@9281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 16:41:20 +00:00
aca373cc82 always make log/error window visible when a non-info message is posted
git-svn-id: svn://localhost/ardour2/branches/3.0@9279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 14:22:27 +00:00
Carl Hetherington
02cfe41bff Update region peak amplitude when the region is trimmed (#3931).
git-svn-id: svn://localhost/ardour2/branches/3.0@9276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 12:21:26 +00:00
4ae4704112 Implement LV2 files extension.
This extension works with the persist extension to allow plugins to
save references to files in their state, but still allow the host
(e.g. Ardour) to control where files are located, making it possible
to do a deep export of a session with all files (e.g. loaded sampler
banks) included.

Tested working with a patched version of LinuxSampler...

TODO: Make symlinks in the plugin state directory rather than refer
to absolute file paths in state files (i.e. support session export,
either by ardour or any other tool, in particular the Jack session
manager...)


git-svn-id: svn://localhost/ardour2/branches/3.0@9272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-03 01:57:12 +00:00
05d8801812 fix import of multi-track SMF files with some tracks containing only meta-events; correctly push error to log window when MIDI import fails; remove debug msg
git-svn-id: svn://localhost/ardour2/branches/3.0@9271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 21:59:14 +00:00
9ca4623451 Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 19:52:21 +00:00
ee725fbe91 more attempted cleanup of AU preset declarations
git-svn-id: svn://localhost/ardour2/branches/3.0@9263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 14:12:09 +00:00
483a88d54e add the standard mechanism for search paths to the path used for export formats, so that we can find them in a bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:53:03 +00:00
1eb753b842 fix up (?) audio_unit.cc compilation, maybe
git-svn-id: svn://localhost/ardour2/branches/3.0@9260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:51:18 +00:00
Carl Hetherington
9cca13db62 Somewhat guesswork-laden fix for VAMP plugin assertion failures (#3897, #3878, #3893).
git-svn-id: svn://localhost/ardour2/branches/3.0@9247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 14:58:46 +00:00
Carl Hetherington
53d0aeea2b Save/restore PortInsert state fully (fixes #3901).
git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:59:15 +00:00
Carl Hetherington
a8b4169cce Remove some unused methods. Restore Solo boost, SiP cut and Dim Cut correctly on session reload (#3903).
git-svn-id: svn://localhost/ardour2/branches/3.0@9243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:37:14 +00:00
Carl Hetherington
832e6fb21a Whitespace, add GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:37:05 +00:00
Carl Hetherington
05cc0f0db7 Spurious character in GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:36:53 +00:00
e05405acb3 Update for latest LV2 Persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 21:07:36 +00:00
9bfc43bf66 Update for latest LV2 persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 08:56:22 +00:00
02d551d183 Add subject to key/value chunks in RDFF (i.e. store triples).
git-svn-id: svn://localhost/ardour2/branches/3.0@9224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 04:22:58 +00:00
b502bbc618 Flesh out RDFF documentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:37:48 +00:00
c9d0c2beae Switch RDFF to 2-clause BSD license.
Fix whitespace.


git-svn-id: svn://localhost/ardour2/branches/3.0@9222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:17:17 +00:00
09943e1d57 lv2_pfile => rdff.
git-svn-id: svn://localhost/ardour2/branches/3.0@9221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:10:57 +00:00
2c0cd4d430 Implement most recent LV2 persist extension.
Plugin state data is saved to a simple RIFF-based binary file.
Cross-endianness and non-POD data not yet implemented.


git-svn-id: svn://localhost/ardour2/branches/3.0@9220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-28 23:54:08 +00:00
0d95a4bfe4 remove sample-rate adjustment of plugin parameters - represents a misunderstanding of the LADSPA spec
git-svn-id: svn://localhost/ardour2/branches/3.0@9217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 21:28:40 +00:00
Carl Hetherington
1bff54a23c Slightly improve debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@9216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 21:06:29 +00:00
8ceb8ac79f more customary include order
git-svn-id: svn://localhost/ardour2/branches/3.0@9213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 19:13:37 +00:00
ea9979b4b9 remove Evoral::RingBuffer, which was (a) duplicating PBD::RingBufferNPT and (b) broken; replace it with PBD::RingBufferNPT
git-svn-id: svn://localhost/ardour2/branches/3.0@9212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 19:01:12 +00:00
9ea426955b rename OSC surface shared object so that its copied into the bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9206 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:26:17 +00:00
4ef712df25 permit envvar to define where to find MIDI binding maps (for bundle, or other reasons)
git-svn-id: svn://localhost/ardour2/branches/3.0@9203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:21:05 +00:00
7665af74a5 use uselib = [ 'JACK' ] when running tests from wscript on installed (pkg-config-detected) JACK capabilities
git-svn-id: svn://localhost/ardour2/branches/3.0@9197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 21:39:50 +00:00
40e2a6b16b set ARDOUR_SURFACES_PATH for a bundle, just like ARDOUR_PANNER_PATH
git-svn-id: svn://localhost/ardour2/branches/3.0@9191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:36:29 +00:00
a34c5adc40 more tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9190 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:24:06 +00:00
e43b01535c tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:09:48 +00:00
Carl Hetherington
7178f031ba Patch from Joskar to use scientific pitch notation for MIDI note names (#3867).
git-svn-id: svn://localhost/ardour2/branches/3.0@9188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 13:17:35 +00:00
80b654691a avoid untested use of 2 jack weak symbols
git-svn-id: svn://localhost/ardour2/branches/3.0@9175 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 16:58:16 +00:00
02ed0b0527 prevent limits on MAX_DBL from messing up combination of a framepos_t and a speed. probably needs a change to max_framepos as a better solution
git-svn-id: svn://localhost/ardour2/branches/3.0@9172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 15:08:33 +00:00
3a1349bf60 fixup auto-connection of new MIDI tracks and MIDI tracks with newly-added audio ports
git-svn-id: svn://localhost/ardour2/branches/3.0@9170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-20 22:09:46 +00:00
Carl Hetherington
a642a6e78b Add a temporary message about the need to use JACK 0.120.1.
git-svn-id: svn://localhost/ardour2/branches/3.0@9169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-19 00:36:42 +00:00
ca84e02b48 fix (?) capture alignment by making sure we use non-public latency information for playback latency, thus avoiding counting plugin latency twice
git-svn-id: svn://localhost/ardour2/branches/3.0@9168 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-18 20:21:51 +00:00
065b5ce8e7 actual working fix for threads/graph/route removal problem
git-svn-id: svn://localhost/ardour2/branches/3.0@9167 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-18 20:20:20 +00:00
bc9d994e74 allow more precision when editing plugin parameters by hand within a generic GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@9160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-17 17:22:52 +00:00
9850407bd9 Indent python files with spaces as per style guide.
git-svn-id: svn://localhost/ardour2/branches/3.0@9158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-16 16:32:56 +00:00
4fc42bca44 Replace connection cerr dumping with DEBUG_TRACE.
Logging here is unusably slow for adding a large number of tracks.


git-svn-id: svn://localhost/ardour2/branches/3.0@9156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-16 06:49:23 +00:00
c4c4034085 fix all manner of things relating to io connections, setting capture alignment, and so on. still needs more tests of actual precise placement of newly recorded material
git-svn-id: svn://localhost/ardour2/branches/3.0@9155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 19:32:21 +00:00
eee943304c Fix weird whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9154 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 01:22:03 +00:00
04bb452e27 Fix undefined operations (according to gcc 4.5.2).
git-svn-id: svn://localhost/ardour2/branches/3.0@9153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 01:19:43 +00:00
be3002c239 Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 01:16:24 +00:00
148c1f805b Fix broken indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14 21:53:10 +00:00
1e4c1388c3 more fun and games with latency compensation, and so forth ... not done yet
git-svn-id: svn://localhost/ardour2/branches/3.0@9149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14 20:33:47 +00:00
Carl Hetherington
5dd3e39f9e Fix assert failure when cycle_end is called by AudioEngine::set_session before the buffer is set up.
git-svn-id: svn://localhost/ardour2/branches/3.0@9143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14 18:41:35 +00:00
Carl Hetherington
e719c72f72 Make build look for gnomecanvas headers in our copy rather than the system one.
git-svn-id: svn://localhost/ardour2/branches/3.0@9138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-13 18:03:42 +00:00
f41d1569d8 change builtin export format/preset search path to correct value; remove line of debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-13 16:23:13 +00:00
Sakari Bergen
751cc84dd2 Properly create new presets, i.e. without duplicate id's on save-after-rename
git-svn-id: svn://localhost/ardour2/branches/3.0@9132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 21:28:58 +00:00
72928df58f make XMLNode::add_property() correctly re-entrant and reduce the size of the tmp buffer used to print a long integer
git-svn-id: svn://localhost/ardour2/branches/3.0@9131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:29:40 +00:00
c7dd29e167 properly use and publish private/public port latency values for JACK latency API
git-svn-id: svn://localhost/ardour2/branches/3.0@9130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:25:09 +00:00
88d5649511 removed long-ifdef'ed-out code
git-svn-id: svn://localhost/ardour2/branches/3.0@9129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:24:32 +00:00
58ce6c2bb7 a better fix fpr that wierd XMLProperty botch
git-svn-id: svn://localhost/ardour2/branches/3.0@9128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:23:56 +00:00
ac38847d86 use legalize_for_path() on filenames for export presets and formats
git-svn-id: svn://localhost/ardour2/branches/3.0@9127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:17:38 +00:00
7060fe697e use legalize_for_path() on filenames for export presets and formats
git-svn-id: svn://localhost/ardour2/branches/3.0@9126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:16:16 +00:00
1c3b45fed3 Fix duplicate singular/plural plugin category menus.
Yes, this is a massive kludge; see comment in commit.


git-svn-id: svn://localhost/ardour2/branches/3.0@9123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11 04:41:48 +00:00
2eb8f28312 make "Flush Wastebasket" operate on the correct directory rather than a non-existent one
git-svn-id: svn://localhost/ardour2/branches/3.0@9122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11 03:40:42 +00:00
d155f32039 sorta-kinda working latency compensation, latency reporting and capture alignment ... working except that we report the wrong information to JACK and i've noticed a couple of odd circumstances where turning on a latent plugin caused punch recording to fail
git-svn-id: svn://localhost/ardour2/branches/3.0@9121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11 02:55:52 +00:00
8849cb4287 add new concept for managing alignment style (AlignChoice); switch to using worst_playback_latency() just about everywhere we were using worst_output_latency() - the former includes plugin latency. answer appears to break earlier fixes to alignment, but is semantically right, so plan to investigate in another 8 hours or so
git-svn-id: svn://localhost/ardour2/branches/3.0@9112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-09 05:19:44 +00:00
34b9883537 lots of stuff related to capture alignment. things appear to be working now, but require the right alignment setting, which doesn't persist correctly at present
git-svn-id: svn://localhost/ardour2/branches/3.0@9107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-08 20:12:40 +00:00
Carl Hetherington
d2bcfc0747 Allow out-of-time-order writes to nascent event list, sorting before merge. Fixes #3537.
git-svn-id: svn://localhost/ardour2/branches/3.0@9103 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-08 12:34:25 +00:00
f07ea81751 manage Route::_have_internal_generator more accurately and never flush processors if there is on; correctly manage declicking so that only *TRACKS* without internal generators will declick at transport state transitions (fixes horrible click at transport stop in some configurations
git-svn-id: svn://localhost/ardour2/branches/3.0@9100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 22:13:53 +00:00
5a0a06f94f missed removals that should have been in the port offset patch
git-svn-id: svn://localhost/ardour2/branches/3.0@9099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 19:13:07 +00:00
665f3bea5a fix all manner of wrongness with port buffer offsets
git-svn-id: svn://localhost/ardour2/branches/3.0@9098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 19:06:42 +00:00
61cbf95f99 slightly more informative message when a VAMP plugin is not found (though it might be found later, anyway)
git-svn-id: svn://localhost/ardour2/branches/3.0@9097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 19:03:24 +00:00
Carl Hetherington
0d40ff55c8 Trim some includes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 17:17:03 +00:00
Carl Hetherington
105fec6858 Fix mute state on loading 2.X sessions (#3829).
git-svn-id: svn://localhost/ardour2/branches/3.0@9093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 14:06:03 +00:00
Carl Hetherington
a6ab93be24 Remove debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 13:09:53 +00:00
Carl Hetherington
965a974083 Make the route group submenu of the RouteTimeAxisView menu apply to the selection.
git-svn-id: svn://localhost/ardour2/branches/3.0@9087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 13:04:03 +00:00
aeff4ebb79 make sure that fade in and fade out curves reach their target (1.0 and 0.0) rather than 1 step away from their target
git-svn-id: svn://localhost/ardour2/branches/3.0@9086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 13:01:59 +00:00
fc32ea7642 Uncrustify (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-06 20:23:15 +00:00
f000061dc7 Update for new SLV2 UI API.
git-svn-id: svn://localhost/ardour2/branches/3.0@9083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-06 03:55:45 +00:00
8e968996f5 revert recent-ish change so that regardless of the number of DSP threads, we always use the graph code (fixes a crash or lockup when removing a track and using only 1 DSP thread)
git-svn-id: svn://localhost/ardour2/branches/3.0@9082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:23:36 +00:00
5999bd56da fix monitoring so that MIDI tracks don't work the same way as audio (basically, they are always in "ardour does monitoring" mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:16:32 +00:00
faeeb29202 some LV2 debug tracing, part three
git-svn-id: svn://localhost/ardour2/branches/3.0@9080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:15:45 +00:00
67351e7d6b some LV2 debug tracing, part two
git-svn-id: svn://localhost/ardour2/branches/3.0@9079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:15:19 +00:00
c9e78d432f some LV2 debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@9078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:14:39 +00:00
Carl Hetherington
b20a139129 Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@9075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 17:35:39 +00:00
Carl Hetherington
98248aeb68 Test tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 17:35:10 +00:00
Carl Hetherington
cbf530b6b5 Make speaker dialogue manage the session's Speakers. Make azimuth control work. Various tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 17:35:02 +00:00
3d1fc33abb extend Gtkmm2ext::Bindings system to handle mouse buttons as well as keyboard events
git-svn-id: svn://localhost/ardour2/branches/3.0@9062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 03:10:17 +00:00
Carl Hetherington
cc67b6bb1f Remove unused bits.
git-svn-id: svn://localhost/ardour2/branches/3.0@9060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 00:35:01 +00:00
3225b24854 move open-on-write call for MIDI into mark_streaming_midi_write_started() so that it works for the fork operation (or any other op that writes a new file)
git-svn-id: svn://localhost/ardour2/branches/3.0@9052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-03 03:54:28 +00:00
d8fd8c1f0a add QM onset detector VAMP plugin
git-svn-id: svn://localhost/ardour2/branches/3.0@9049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 23:39:49 +00:00
10b224790b increase butler event pool size dramatically
git-svn-id: svn://localhost/ardour2/branches/3.0@9047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 22:41:46 +00:00
2ad819c956 deeper debug stracktrace
git-svn-id: svn://localhost/ardour2/branches/3.0@9046 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 22:15:59 +00:00
c8e5e9d425 actual debug stracktrace added
git-svn-id: svn://localhost/ardour2/branches/3.0@9045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 22:02:03 +00:00
4071286bfa debug stracktrace added
git-svn-id: svn://localhost/ardour2/branches/3.0@9044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 21:28:25 +00:00
5e431d1d58 remove entire "stub" file concept; open new audio and MIDI files on demand (at first write); could be a few gotchas with some corner case scenarios, but apparently works OK
git-svn-id: svn://localhost/ardour2/branches/3.0@9038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 17:05:16 +00:00
Carl Hetherington
6b4622a3f0 Number CC automation tracks from 0 rather than 1 (#3814)
git-svn-id: svn://localhost/ardour2/branches/3.0@9032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 14:14:46 +00:00
5fb296cd6b lincoln's patch to use QM onset detection in RFerret, and other tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 12:43:44 +00:00
730cdb38bc upgrade VAMP SDK to latest (or newer) version
git-svn-id: svn://localhost/ardour2/branches/3.0@9030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 12:38:17 +00:00
3deba1921b add queen mary DSP library
git-svn-id: svn://localhost/ardour2/branches/3.0@9029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 12:37:39 +00:00
Carl Hetherington
fa41cfef58 Less subtle attempt to prevent crashes on removing sources during session deletion.
git-svn-id: svn://localhost/ardour2/branches/3.0@9028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 11:30:37 +00:00
7ca751726b (a) require JACK 0.120.1 to compile (but NOT to run) (b) fix up illegal retrieval of jack port buffer sizes before jack_activate()
git-svn-id: svn://localhost/ardour2/branches/3.0@9024 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 01:39:52 +00:00
Carl Hetherington
d5e44d00a6 Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@9020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 23:28:02 +00:00
Carl Hetherington
7cf24873f8 Use PBD debugging code for keyboard debugging.
git-svn-id: svn://localhost/ardour2/branches/3.0@9019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 23:26:27 +00:00
b37b23af97 improve, cleanup, rationalize Session::cleanup_sources() and supporting infrastructure
git-svn-id: svn://localhost/ardour2/branches/3.0@9015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:54:54 +00:00
3553ba71fa comment fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:54:12 +00:00
b69b903433 fix width handling in vbap panner
git-svn-id: svn://localhost/ardour2/branches/3.0@9013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:53:54 +00:00
Carl Hetherington
252be42c04 Set session dirty when pans change (#3807).
git-svn-id: svn://localhost/ardour2/branches/3.0@9010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:40:01 +00:00
Carl Hetherington
0ace3f6e20 assert to show up #3812 more clearly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 20:44:12 +00:00
Carl Hetherington
b125ed2ef2 Fix previous.
git-svn-id: svn://localhost/ardour2/branches/3.0@9007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 18:09:40 +00:00
Carl Hetherington
cda09a0878 Make sure CapturingProcessors write a type to their state node so that they can be reloaded without a crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@9006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 18:08:57 +00:00
Carl Hetherington
35ea412280 Fix crash on session close.
git-svn-id: svn://localhost/ardour2/branches/3.0@9005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 17:39:57 +00:00
Carl Hetherington
28d3dd69de Update session range on trimming regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@9004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 16:23:31 +00:00
Carl Hetherington
3110429deb Cleanup stub files after setup_raid_path has prepared the paths for it to use.
git-svn-id: svn://localhost/ardour2/branches/3.0@9002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 15:05:55 +00:00
Carl Hetherington
0ee1cbb077 Make an aborted MIDI capture due to no data being received behave the same as an explicitly aborted capture.
git-svn-id: svn://localhost/ardour2/branches/3.0@8999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:57 +00:00