13
0
Commit Graph

3764 Commits

Author SHA1 Message Date
a9fb657a47 Remove spurious semicolon.
git-svn-id: svn://localhost/ardour2/branches/3.0@10698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19 00:39:35 +00:00
200832923a Use LV2_STATE_INTERFACE_URI instead of hard-coded string.
git-svn-id: svn://localhost/ardour2/branches/3.0@10685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 20:12:29 +00:00
Carl Hetherington
b4f618821e Fix test build.
git-svn-id: svn://localhost/ardour2/branches/3.0@10665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 00:04:44 +00:00
b25fbc8a95 all new implementation of audio clocks, with entirely new editing model. not entirely finished, but lookable, and usable
git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 22:49:13 +00:00
79ed821edb move non-X11/GUI related lxvst code back into libardour
git-svn-id: svn://localhost/ardour2/branches/3.0@10656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 00:54:42 +00:00
Carl Hetherington
0c9c47086c Slightly unpleasant fix for creation of tracks from
templates; it would be nice if we could set things up using
the Route's logic for setting names of its children, rather
than repeating the same logic in XML-land (#4303).


git-svn-id: svn://localhost/ardour2/branches/3.0@10655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 23:03:59 +00:00
Carl Hetherington
58dbe9ed13 Remove set_state / _set_state dance in Route hierarchy
that seems to have been a hangover from when _set_state
was called in constructors.


git-svn-id: svn://localhost/ardour2/branches/3.0@10654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 22:26:49 +00:00
Carl Hetherington
86d927b4dd Make activate/deactivate all only operate on visible
processors (and also exclude the fader) (#4475).


git-svn-id: svn://localhost/ardour2/branches/3.0@10649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 17:40:16 +00:00
Carl Hetherington
6e1aa92eb8 Doxygen tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@10644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 02:03:30 +00:00
Carl Hetherington
e4ce766754 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 02:02:34 +00:00
Carl Hetherington
d75b1f5dad Save custom meter position so that it can be restored if
the metering point is set to something else and then
back to custom again (#4401).


git-svn-id: svn://localhost/ardour2/branches/3.0@10641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:57:57 +00:00
Carl Hetherington
41efdd54a4 Fix glitchness in DnDVBox placeholders.
git-svn-id: svn://localhost/ardour2/branches/3.0@10640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:57:46 +00:00
Carl Hetherington
7736879a3e Remove no-longer-required search path hack.
git-svn-id: svn://localhost/ardour2/branches/3.0@10639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:42:29 +00:00
71f69453ed avoid duplicate panners by checking names, not symlinks
git-svn-id: svn://localhost/ardour2/branches/3.0@10636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:14:06 +00:00
535f52c1b5 remove stupid symlink stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@10635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:13:42 +00:00
Carl Hetherington
a6d6308230 Comment previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 22:12:51 +00:00
Carl Hetherington
943b15e3b9 Must search for *.so* to find panners now that symlinked
ones are rejected.


git-svn-id: svn://localhost/ardour2/branches/3.0@10629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 22:11:25 +00:00
e2757229a7 provide link-editor-and-mixer-selection option. gui implementation is slightly hacky because of the implicit endless loop that the link creates
git-svn-id: svn://localhost/ardour2/branches/3.0@10624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 19:33:09 +00:00
Carl Hetherington
a7359ed268 Use ARDOUR_EXPORT_FORMATS_PATH (as set up by the bundle)
and the user home directory (where Ardour writes new
presets) to look for export presets (should fix #4282).


git-svn-id: svn://localhost/ardour2/branches/3.0@10623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:32:48 +00:00
Carl Hetherington
f66b919e29 Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:32:37 +00:00
Carl Hetherington
301ed17f95 Remove unused MIDI regions as well as audio ones
(#3793).


git-svn-id: svn://localhost/ardour2/branches/3.0@10620 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:32:24 +00:00
Carl Hetherington
6822b37c7f Slightly fudged but basically reasonable fix for reports of
playback buffer problems when playing an empty MIDI track
(#4388).


git-svn-id: svn://localhost/ardour2/branches/3.0@10619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:04:47 +00:00
4770fea0a2 change package names for i18n files, in an attempt to fix #4085
git-svn-id: svn://localhost/ardour2/branches/3.0@10616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 15:36:35 +00:00
c56e8c2b20 don't look for panners in symlinks to avoid finding "duplicate" libs
git-svn-id: svn://localhost/ardour2/branches/3.0@10606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:25:40 +00:00
a8615b40a1 utility function to detect symlinks
git-svn-id: svn://localhost/ardour2/branches/3.0@10605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:25:18 +00:00
4bd00b89c7 utility function to detect symlinks
git-svn-id: svn://localhost/ardour2/branches/3.0@10604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:25:03 +00:00
Carl Hetherington
f6d191aec4 Remove debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:11:32 +00:00
e38694acc0 show path where a panner is discovered
git-svn-id: svn://localhost/ardour2/branches/3.0@10602 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:00:39 +00:00
f38036cf73 make auto-connect be the default for inputs and outputs
git-svn-id: svn://localhost/ardour2/branches/3.0@10592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 21:16:21 +00:00
c66955386e make PluginManager API more in line with other singletons; do initial plugin discovery before beginning to construct the UI, so that if plugins create GUIs (e.g for license verification) they don't cause a run loop to catch the UIManager in an inconsistent state with menus defined but actions missing
git-svn-id: svn://localhost/ardour2/branches/3.0@10586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 17:41:29 +00:00
Carl Hetherington
28f328e09c Fix placeholder creation when dragging from one DnDVBox to
another (should fix #4421).


git-svn-id: svn://localhost/ardour2/branches/3.0@10584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 14:42:29 +00:00
Carl Hetherington
eb2870eee6 Allow a dialogue containing an audioclock to be
activated by a enter button press on the clock.


git-svn-id: svn://localhost/ardour2/branches/3.0@10580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 13:44:01 +00:00
Carl Hetherington
b10d5c6709 Typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@10578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:53:09 +00:00
Carl Hetherington
5de95fc822 Fix unit test build by adding some dummy LXVST methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@10576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:31:22 +00:00
Carl Hetherington
7ffe37faad Comment typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@10575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:31:11 +00:00
8e2858e555 move LXVST GUI stuff into gtk2_ardour, and fix X11 uselib stuff in wscripts
git-svn-id: svn://localhost/ardour2/branches/3.0@10565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 14:53:49 +00:00
Carl Hetherington
f60c9d52dc Fix some bits of the libardour unit tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@10564 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 13:32:01 +00:00
bf8f0b2cb5 Apply patch from timbyr to fix building with --test.
git-svn-id: svn://localhost/ardour2/branches/3.0@10561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 03:54:29 +00:00
9756b7569a Fix lingering references to old persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@10557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-12 00:19:09 +00:00
c4bec7f098 Update LV2 persist extension implementation (now named LV2 state).
git-svn-id: svn://localhost/ardour2/branches/3.0@10556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 22:54:45 +00:00
1c85e77187 remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@10552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 17:35:41 +00:00
c85bdd4631 fix nasty off by one error that put the end of an end-trimmed region one sample beyond where it should be. this would lead to the creation of 1 sample xfades where there should be none, if another region was aligned to the same point that the region had been nomimally trimmed to
git-svn-id: svn://localhost/ardour2/branches/3.0@10541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 15:56:31 +00:00
Carl Hetherington
cd2047cbff Change the feedback alert to a flashing button; works
around part of #4432.


git-svn-id: svn://localhost/ardour2/branches/3.0@10539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 13:52:27 +00:00
1a35363693 cleanup regexp after use
git-svn-id: svn://localhost/ardour2/branches/3.0@10536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 03:08:47 +00:00
28112bfb7f use home-grown solution for path_expand(), rather than wordexp() which is broken in different ways on different platforms
git-svn-id: svn://localhost/ardour2/branches/3.0@10535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 03:06:06 +00:00
ec9b3674df next attempt to fix the use of wordexp(3) ...
git-svn-id: svn://localhost/ardour2/branches/3.0@10532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 21:02:14 +00:00
80ec3fb37e force IFS=/ when calling path_expand, so that whitespace in paths doesn't cause wordexp() to get the wrong idea
git-svn-id: svn://localhost/ardour2/branches/3.0@10530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 19:00:54 +00:00
bcf500a351 show all paths discovered when a path is ambiguous (via error<<)
git-svn-id: svn://localhost/ardour2/branches/3.0@10529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 18:13:42 +00:00
8341291deb use error << to replace cerr in AudioUnits GUI code, and a couple of minor tweaks in that code
git-svn-id: svn://localhost/ardour2/branches/3.0@10521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 01:31:48 +00:00
b96f89355e some possible build fixes for OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@10518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 22:32:55 +00:00
244eaa55fb provide global prelight option (its in Edit -> Preferences->Interface)
git-svn-id: svn://localhost/ardour2/branches/3.0@10514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 20:10:05 +00:00
Carl Hetherington
69c88d165d Alert the user if a connection is made which causes
feedback, and preserve the route graph in the state
that it was in before the feedback was introduced. The
intent being to simplify the code, reduce the number of
areas of code which must consider feedback, and fix a
few bugs.


git-svn-id: svn://localhost/ardour2/branches/3.0@10510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:44:39 +00:00
Carl Hetherington
0ed06420c2 Return 0 from the topological sort if it failed due to
feedback.


git-svn-id: svn://localhost/ardour2/branches/3.0@10509 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:43:52 +00:00
Carl Hetherington
9a734cd4b8 typedef for a DAGVertex.
git-svn-id: svn://localhost/ardour2/branches/3.0@10508 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:43:32 +00:00
Carl Hetherington
07e62f3988 Remove a couple of unnecessary casts.
git-svn-id: svn://localhost/ardour2/branches/3.0@10496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 15:11:01 +00:00
Carl Hetherington
b37bc5e5b2 Fix a few SNAFUs in the port matrix related to multi-type bundles (#4454).
git-svn-id: svn://localhost/ardour2/branches/3.0@10494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 14:15:28 +00:00
Carl Hetherington
19e97d1d64 Attempt to fix some confusions caused by bundles containing
different types of port; if we loop over N MIDI channels of
a mixed bundle, for example, we must convert 0...N to the
indices of the channels within the bundle.  Also remove the
hack of creating new bundles to contain a subset of another
bundle's ports; if you do this, any signals emitted by the
other bundle are ignored.  Should fix #4454.


git-svn-id: svn://localhost/ardour2/branches/3.0@10490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 02:10:56 +00:00
Carl Hetherington
5a5545febb Fix naming / numbering of new MIDI tracks (#4453).
git-svn-id: svn://localhost/ardour2/branches/3.0@10487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 00:31:17 +00:00
Carl Hetherington
b2e6746f10 Fix name and a comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 22:39:16 +00:00
9674867b9d switch use of Option/Alt and Control on OS X for bindings. Option/Alt is intended by Apple to be used primarily (if not entirely) for entering alternate characters. Shift would be more conventional as 2ndary modified on OS X but that might have a few more implications than we want to deal with right now
git-svn-id: svn://localhost/ardour2/branches/3.0@10481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 19:19:31 +00:00
0caf3e7f78 Use standard style LV2 extension include paths.
This has a few benefits:

 * As system installed extensions become more ubiquitous, we can optionally
   build against those rather than including them in the source tree,
   without any source changes

 * No need to hack extension headers to change the include paths to match
   our specific scheme (i.e. headers are precisely those from the extension,
   even if they include other extension headers)

 * Consistency, lack of ambiguity, easy code sharing, blah blah, etc.


git-svn-id: svn://localhost/ardour2/branches/3.0@10476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 18:30:40 +00:00
Carl Hetherington
ae94dfda5f Do a topological sort of the route list before passing it to
the graph, as the graph's feedback detection algorithm
depends on the input route list being sorted in such a way.
 Fixes #3924.


git-svn-id: svn://localhost/ardour2/branches/3.0@10471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 16:01:46 +00:00
Carl Hetherington
c1386bafce Coding style tinkering.
git-svn-id: svn://localhost/ardour2/branches/3.0@10464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 17:58:35 +00:00
Carl Hetherington
93e662348c A few more comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 17:54:44 +00:00
00155d8f1e Fix i18n.
git-svn-id: svn://localhost/ardour2/branches/3.0@10461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 16:35:24 +00:00
Carl Hetherington
e12432cc63 A few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 15:58:38 +00:00
Carl Hetherington
1d2636d76d Remove what is IMHO an unnecessarily confusing typedef.
git-svn-id: svn://localhost/ardour2/branches/3.0@10454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 02:13:28 +00:00
Carl Hetherington
fd2aea1037 Remove non-RT-safe alloc in the MIDI process() call.
git-svn-id: svn://localhost/ardour2/branches/3.0@10441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 17:52:12 +00:00
07eadf68f3 quiten down in the back
git-svn-id: svn://localhost/ardour2/branches/3.0@10440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 17:51:34 +00:00
Carl Hetherington
09211cf049 Fix somewhat confusing method names.
git-svn-id: svn://localhost/ardour2/branches/3.0@10439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 16:41:25 +00:00
Carl Hetherington
98370b39c4 Make sure that the old route group is left properly when
setting a new one.  Should fix #4441 and #4404.


git-svn-id: svn://localhost/ardour2/branches/3.0@10438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 16:41:02 +00:00
a059b75238 fix thinko in previous attempt to tackle active/selected state in dndvbox
git-svn-id: svn://localhost/ardour2/branches/3.0@10424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 16:18:27 +00:00
bfa45291a7 fix mistake that prevented send processor boxes from correctly highlighting when showing sends; note that the semantics for the way DnDVBox handles selected/active are a bit confused by my recent changes to this, and they may change again in the future
git-svn-id: svn://localhost/ardour2/branches/3.0@10422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 15:41:07 +00:00
Carl Hetherington
3e36dc7746 Don't offer inputs to things as possible output connections, and vice versa (part of #4432).
git-svn-id: svn://localhost/ardour2/branches/3.0@10410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 03:04:51 +00:00
36803567f0 tighten up spacing of tearoff arrow
git-svn-id: svn://localhost/ardour2/branches/3.0@10395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 14:57:16 +00:00
Carl Hetherington
337e010345 Allocate some thread-local buffers for the GUI thread so that the PluginEqGui impulse analysis can use them (fixes #4418).
git-svn-id: svn://localhost/ardour2/branches/3.0@10387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 23:19:03 +00:00
7c9c86af27 start trying to remove the use of Plugin::info()->n_{inputs,outputs}, which alway refer to static (unchanging) information from the plugin metadata, which is not useful in the face of AU-like plugin APIs that can change I/O valency as requested, at least some of the time
git-svn-id: svn://localhost/ardour2/branches/3.0@10386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 21:48:45 +00:00
8771e00fab a better fix for the silent buffer issue: whenever we run a plugin, mark all the buffers passed to it as non-silent. a few plugin APIs allow the plugin to indicate whether or not it generated silence or not, but we ignore this for now (and possibly forever)
git-svn-id: svn://localhost/ardour2/branches/3.0@10385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 21:28:16 +00:00
ddff1489f2 force re-silence of buffers in ProcessThread::get_silent_buffers(), an interim fix before actually finding out why the buffers are marked silent when they were not
git-svn-id: svn://localhost/ardour2/branches/3.0@10383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 21:10:46 +00:00
Carl Hetherington
f57c5574d9 Make plugin scanner objects give leaf names to their filters, so that they work properly. Fixes #4423.
git-svn-id: svn://localhost/ardour2/branches/3.0@10378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 19:19:54 +00:00
Carl Hetherington
a12820ab77 Add an option to disable editor update during drags of the
summary (#4407).


git-svn-id: svn://localhost/ardour2/branches/3.0@10377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 12:19:11 +00:00
Carl Hetherington
5173497c6d Give group and meter point buttons controllable visibility.
git-svn-id: svn://localhost/ardour2/branches/3.0@10376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 02:39:39 +00:00
Carl Hetherington
d3bd0279ae Trim include.
git-svn-id: svn://localhost/ardour2/branches/3.0@10375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 02:39:34 +00:00
0fdb513786 move CairoWidget::ActiveState and Visual state up into gtkmm2ext foruse by DnDVBox etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@10371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 01:21:40 +00:00
cfe9ae636e remove useless debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@10370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 01:20:53 +00:00
Carl Hetherington
d57e00b7a2 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:56 +00:00
Carl Hetherington
1162077965 Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:33 +00:00
Carl Hetherington
03b57c455a Fix compensation of roll delay with MIDI tracks; data
should be obtained from playback_sample, not
transport_frame (should fix #4172).


git-svn-id: svn://localhost/ardour2/branches/3.0@10362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:14 +00:00
Carl Hetherington
5dba72c874 Take commit() out of process() in both types of
diskstream, and call commit() where appropriate.


git-svn-id: svn://localhost/ardour2/branches/3.0@10361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:08 +00:00
Carl Hetherington
d47e9247df Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:02 +00:00
Carl Hetherington
9afd18358b Remove Diskstream member playback_distance that can be
passed directly from process() to commit().


git-svn-id: svn://localhost/ardour2/branches/3.0@10359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:54 +00:00
Carl Hetherington
4978c0d4c6 A few comments and minor coding style adjustments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:44 +00:00
Carl Hetherington
e81e0b60bf Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@10356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:25 +00:00
Carl Hetherington
1269b646dd Remove unused parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@10355 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:19 +00:00
Carl Hetherington
8536524bd3 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:14 +00:00
Carl Hetherington
db429c2362 Some limited control of mixer strip component
visibility.


git-svn-id: svn://localhost/ardour2/branches/3.0@10341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 20:08:48 +00:00
d7b685cc5f make it possible (hackily) to pick the base color for the knob images created by MotionFeedback
git-svn-id: svn://localhost/ardour2/branches/3.0@10337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 15:53:22 +00:00
f871d665d5 tweaks to boost debug related code, from a boost debugging session
git-svn-id: svn://localhost/ardour2/branches/3.0@10336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 15:52:38 +00:00
ac86e338fe change internal API used by native VST support to read/write info files, so that users can generate .fsi files in ~/.fst if is not writable by them
git-svn-id: svn://localhost/ardour2/branches/3.0@10334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 14:36:13 +00:00
Carl Hetherington
d8b3ff1fce Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@10331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 02:09:40 +00:00
Carl Hetherington
46b3b7e8d2 Reload meters in the right place even if they are set to
a custom position (#4400).


git-svn-id: svn://localhost/ardour2/branches/3.0@10330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 01:19:34 +00:00
Carl Hetherington
aaa486a90f Patch from nettings to comment out soundtouch-related
configuration checks (#4403).


git-svn-id: svn://localhost/ardour2/branches/3.0@10329 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 00:12:41 +00:00
Carl Hetherington
3379155ef5 Restore ardour_jack_error.
git-svn-id: svn://localhost/ardour2/branches/3.0@10328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 17:04:15 +00:00
Carl Hetherington
7bdcc127e3 Use shared_ptr for Port in the AudioEngine; improves thread-safety of the audio engine's port list as a writer cannot destroy a port in one thread while the port list is being iterated in another.
git-svn-id: svn://localhost/ardour2/branches/3.0@10327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 17:04:09 +00:00
Carl Hetherington
f65e3f287b Improve audioengine includes slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:35:09 +00:00
Carl Hetherington
e434d9258e Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@10325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:35:04 +00:00
Carl Hetherington
82f77de973 Remove unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@10324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:34:59 +00:00
Carl Hetherington
947422c095 Revert inadvertantly committed stuff from 10322.
git-svn-id: svn://localhost/ardour2/branches/3.0@10323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 00:31:09 +00:00
Carl Hetherington
0a87941c70 Minor cleanups to IO.
git-svn-id: svn://localhost/ardour2/branches/3.0@10322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 23:36:42 +00:00
e09504f122 show address of dangling SessionHandle-derived objects
git-svn-id: svn://localhost/ardour2/branches/3.0@10320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 21:04:45 +00:00
ae3eb6e3f4 provide C API for rounded rectangle cairo utility
git-svn-id: svn://localhost/ardour2/branches/3.0@10310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 20:56:57 +00:00
56d397495a remove left-over debugging call to sleep(3) (!!!)
git-svn-id: svn://localhost/ardour2/branches/3.0@10309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 20:56:16 +00:00
Carl Hetherington
8326ba9066 Don't resort routes at every step during a session's
construction; speeds up loading of big sessions.


git-svn-id: svn://localhost/ardour2/branches/3.0@10308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 15:14:53 +00:00
Carl Hetherington
ebca0ae87d Wait for the butler to be quiescent before starting
export of each range, rather than just the first one. 
Prevents clashes with both the butler and the export
code doing track refills at the same time (may fix
#4283).


git-svn-id: svn://localhost/ardour2/branches/3.0@10307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 15:14:16 +00:00
Carl Hetherington
09e0f30a81 Re-claim double-clicks on pixfaders to re-fix #3470.
git-svn-id: svn://localhost/ardour2/branches/3.0@10305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 23:46:00 +00:00
Carl Hetherington
854851162b Save and restore _saved_meter_point; fixes #4195.
git-svn-id: svn://localhost/ardour2/branches/3.0@10304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:54:30 +00:00
Carl Hetherington
60978b5bc4 Move some code up from {Midi,Audio}Track to Track.
git-svn-id: svn://localhost/ardour2/branches/3.0@10303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:54:25 +00:00
Carl Hetherington
24056f055f Remove unused call_base parameter from Route::_set_state.
git-svn-id: svn://localhost/ardour2/branches/3.0@10302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:53:09 +00:00
Carl Hetherington
ea01b6024d Fix awful thinko in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 20:50:40 +00:00
Carl Hetherington
75e6adcf03 Remove unused read/write data count code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 20:45:29 +00:00
Carl Hetherington
8404d7ff94 Reset source paths on session rename (fixes #4389).
git-svn-id: svn://localhost/ardour2/branches/3.0@10299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:47:06 +00:00
Carl Hetherington
b507805bf6 Expose sources_root() for Session and make everything else private rather than protected.
git-svn-id: svn://localhost/ardour2/branches/3.0@10298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:46:50 +00:00
Carl Hetherington
31fe3a5d5a Expose set_path so that the Session can alter it.
git-svn-id: svn://localhost/ardour2/branches/3.0@10297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:40:58 +00:00
040aef6cc3 Ensure we always have at least 1 MIDI buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@10293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-23 20:28:20 +00:00
Carl Hetherington
f44d19fc84 Fix read of MIDI undo information to use the correct time type. Fixes #4387.
git-svn-id: svn://localhost/ardour2/branches/3.0@10292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-23 19:16:42 +00:00
Carl Hetherington
6d66f90c5c Use correct sources_root even when sessions are loaded from inside a session folder, specifying only their .ardour filename (#4032).
git-svn-id: svn://localhost/ardour2/branches/3.0@10285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 21:46:53 +00:00
Carl Hetherington
4c2f9dd11b Add function to recover a full path from something like '.'
git-svn-id: svn://localhost/ardour2/branches/3.0@10284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 21:46:46 +00:00
Carl Hetherington
195c735181 Implement reset() in panners, and use it from the GUI (fixes #4196).
git-svn-id: svn://localhost/ardour2/branches/3.0@10282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 16:19:27 +00:00
47d0b88830 change several startup messages to be triggered only by -D (debug) options
git-svn-id: svn://localhost/ardour2/branches/3.0@10281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 13:30:11 +00:00
cfc0dfdc7e add MonitorState enum to enum manager
git-svn-id: svn://localhost/ardour2/branches/3.0@10277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:42:06 +00:00
1e23a86599 improved/fixed monitoring_state() logic from chrisg
git-svn-id: svn://localhost/ardour2/branches/3.0@10275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:14:00 +00:00
c1908086bb notify about commit change when we slip out of rec-enabled due to auto-punch
git-svn-id: svn://localhost/ardour2/branches/3.0@10274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:12:19 +00:00
59b02c6b6f get rid of click when transport changes state and we're monitoring input
git-svn-id: svn://localhost/ardour2/branches/3.0@10272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 17:46:20 +00:00
442d807a81 tweak Track::monitoring_state() logic once more
git-svn-id: svn://localhost/ardour2/branches/3.0@10271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 17:33:13 +00:00
bfe9010959 add route group support for monitoring choices
git-svn-id: svn://localhost/ardour2/branches/3.0@10268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:47:50 +00:00
ecbd2ebb74 tweak monitoring state logic
git-svn-id: svn://localhost/ardour2/branches/3.0@10267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:47:38 +00:00
40be550ae3 fix display (and handling of) monitoring status during roll
git-svn-id: svn://localhost/ardour2/branches/3.0@10266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:21:13 +00:00
8ff34fde9d correctly track monitoring changes in libardour and the GUI; required removing propagation of session rec-enabled status through process chain and replacing it with call to Session::actively_recording() where necessary (may require a new RT event)
git-svn-id: svn://localhost/ardour2/branches/3.0@10265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:05:33 +00:00
56da993d83 save&restore for track monitor state
git-svn-id: svn://localhost/ardour2/branches/3.0@10263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 12:34:29 +00:00
96dcffcb22 More robust plugin I/O mapping.
This does not change the actual mapping logic, but makes the application of
the mapping much more robust.  If there is no valid mapping for a given port,
that port is connected to silence (instead of crashing messily and/or via a
failed assertion).

Also tolerate mappings that nonsensically map to a buffer that is not present
(this particularly happens for MIDI ports in some cases) as a temporary fix.
The mapping logic needs work and/or our concept of just how much MIDI we support
in a route needs simplification...


git-svn-id: svn://localhost/ardour2/branches/3.0@10262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 04:51:04 +00:00
454f14d9c5 make monitor=In work during no-roll conditions without auto-input
git-svn-id: svn://localhost/ardour2/branches/3.0@10261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:27:44 +00:00
8b78439173 again, drop the assert when asked to read part of an audio region with an invalid timeline range, and just send an error message. this avoids crashing when loading sessions created with the broken crossfade constructor
git-svn-id: svn://localhost/ardour2/branches/3.0@10260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:24:06 +00:00
fb917cff45 remove absurd internal Crossfade constructor that confused region start and region position; set position explicitly in the two places that we use these crossfades; revert to the assert that caught this crazy error
git-svn-id: svn://localhost/ardour2/branches/3.0@10259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:17:25 +00:00
00ddd099ed obey monitor=disk when recording also; remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@10258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 19:20:44 +00:00
533045aea3 fix an aggressive assert that crashes out when reading the wrong regions ... why are we reading the wrong regions?
git-svn-id: svn://localhost/ardour2/branches/3.0@10257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 19:20:22 +00:00
3764eedca0 add initial implementation of explicit monitor (input|disk) control. some behaviour to be worked out, still
git-svn-id: svn://localhost/ardour2/branches/3.0@10256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 18:50:29 +00:00
dbcef630d0 include abstract_ui.cc in mackie source to actually instantiate the AbstractUI template
git-svn-id: svn://localhost/ardour2/branches/3.0@10251 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:56:21 +00:00
93177f4670 make mackie control header include abstract_ui.h (might help compile/link issue on OS X)
git-svn-id: svn://localhost/ardour2/branches/3.0@10250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:44:46 +00:00
cb4ae53ff7 fix minor typo
git-svn-id: svn://localhost/ardour2/branches/3.0@10249 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:44:04 +00:00
d25ef5d2fd add (commented) new version of fit-to-pixels function, from Company on #gtk+
git-svn-id: svn://localhost/ardour2/branches/3.0@10248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:43:48 +00:00
0bc8832e20 Trim include tree.
git-svn-id: svn://localhost/ardour2/branches/3.0@10244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 21:53:09 +00:00
f1928b85bb add AU parameter listening stuff from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@10242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 20:31:00 +00:00
3a109f797d debugging with thorwil: don't redirect JACK msgs via ardour stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@10241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 19:51:52 +00:00
4671843a65 debugging with thorwil
git-svn-id: svn://localhost/ardour2/branches/3.0@10240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 18:44:21 +00:00
18c2ee4a26 Remove dubious Evoral::Event methods that exposed non-const references to members.
git-svn-id: svn://localhost/ardour2/branches/3.0@10239 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 18:11:31 +00:00
a189d3e43b working AU instruments (MIDI-driven synth plugins)
git-svn-id: svn://localhost/ardour2/branches/3.0@10238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 17:18:47 +00:00
Carl Hetherington
153ee4e441 Fix insertion of processors at the point at which the processor menu was opened; give a visual cue to indicate where a processor will be inserted. Kind of experimental.
git-svn-id: svn://localhost/ardour2/branches/3.0@10236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 16:53:36 +00:00
Carl Hetherington
42631b4b1f Finish off half-cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@10234 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 14:52:14 +00:00
Carl Hetherington
52caae3971 Improve plugin hide logic to prevent crashes when trying to insert fully audio plugins into MIDI tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@10232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 14:26:16 +00:00
Carl Hetherington
cb58ca535f flush_buffers on all of a route's deliveries so that MIDI sends work.
git-svn-id: svn://localhost/ardour2/branches/3.0@10231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 10:40:27 +00:00
Carl Hetherington
fd39c17400 Remove unnecessary virtual declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@10229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 09:56:19 +00:00
9040cbf82a Trim the include tree.
git-svn-id: svn://localhost/ardour2/branches/3.0@10227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 03:34:02 +00:00
5c997a7551 deliver MIDI events to AU plugins that want them
git-svn-id: svn://localhost/ardour2/branches/3.0@10225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 21:00:43 +00:00
4aeebb914e changes for OS X support: change waf config define to COREAUDIO_SUPPORT, remove PluginInsert call to IO::PortCountChanged, remove use of explicit Carbon linkage, fix up AudioUnit internals to actually work (Cocoa GUIs still currently broken)
git-svn-id: svn://localhost/ardour2/branches/3.0@10224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 15:08:42 +00:00
41dd8bd811 new debugging flags for PluginManager and AudioUnits
git-svn-id: svn://localhost/ardour2/branches/3.0@10223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 15:04:52 +00:00
4085309cdb make Stateful::_id private and provide appropriate methods to set it, and use them throughout ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@10222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 13:18:47 +00:00
2f18d9fa51 remove gnome canvas from ardour source tree (require 2.30 for build)
git-svn-id: svn://localhost/ardour2/branches/3.0@10219 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 13:06:39 +00:00
Carl Hetherington
fac2c044d1 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 00:24:23 +00:00
Carl Hetherington
c7d2497e2b Discard MIDI when sending to the monitor bus. Fixes
#4372.


git-svn-id: svn://localhost/ardour2/branches/3.0@10212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-17 20:35:55 +00:00
a89572072e avoid listing duplicate LXVST plugins that are discovered along LXVST_PATH or otherwise (from linuxdsp)
git-svn-id: svn://localhost/ardour2/branches/3.0@10208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-13 18:40:47 +00:00
7cded3707f add new per-session MIDI-region-copy-is-fork: if set, all MIDI region copies will be independent from each other (via MIDIRegion::clone()); visible in Session properties editor under the Misc tab
git-svn-id: svn://localhost/ardour2/branches/3.0@10207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-13 17:57:33 +00:00
Carl Hetherington
13dc17bb4e Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10201 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-07 22:19:23 +00:00
291bd32c9d Fix crash on "Consolidate Range" on MIDI tracks (#4226).
git-svn-id: svn://localhost/ardour2/branches/3.0@10200 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-07 21:35:33 +00:00
4383cce993 Fix crash when moving end marker after deleting loop range (#4357).
git-svn-id: svn://localhost/ardour2/branches/3.0@10196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-07 19:49:21 +00:00
212de13d42 Make panner tolerate 0 audio inputs (fix #4353).
git-svn-id: svn://localhost/ardour2/branches/3.0@10194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-07 16:30:27 +00:00
Carl Hetherington
0f03348dd7 Fix LXVST compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@10188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-04 13:19:28 +00:00
f81821c68e update vestige header; fix 64 bit issues
git-svn-id: svn://localhost/ardour2/branches/3.0@10185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-03 19:56:30 +00:00
63cf87beb7 Remove LV2 support via SLV2 (Lilv only now).
git-svn-id: svn://localhost/ardour2/branches/3.0@10184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-03 18:10:05 +00:00
1f34e72f16 Proper fix for r10178.
git-svn-id: svn://localhost/ardour2/branches/3.0@10180 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 19:06:48 +00:00
0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
15e390ebe5 workaround for WTF-breakage of bld.env/bld.is_defined, but this is probably just scratching the surface of other related breakage
git-svn-id: svn://localhost/ardour2/branches/3.0@10178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:50:08 +00:00
dbc58e5653 don't build tranzport support unless it was asked for (it doesn't work anyway)
git-svn-id: svn://localhost/ardour2/branches/3.0@10177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:49:25 +00:00
a6d7098797 more changes to wscript files to catch up with waf 1.6 and fix OS X issues
git-svn-id: svn://localhost/ardour2/branches/3.0@10176 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 16:22:04 +00:00
76175e9f20 make libardour header checks non-mandatory (for OS X)
git-svn-id: svn://localhost/ardour2/branches/3.0@10173 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 12:14:44 +00:00
0bdb3298bb make surfaces header checks non-mandatory (for OS X)
git-svn-id: svn://localhost/ardour2/branches/3.0@10172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 12:12:45 +00:00
d09ebfb03b make libpbd header checks non-mandatory (for OS X)
git-svn-id: svn://localhost/ardour2/branches/3.0@10171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 12:11:20 +00:00
1c7cb97d85 Fix installation globs
git-svn-id: svn://localhost/ardour2/branches/3.0@10168 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-29 23:24:55 +00:00
e7403295fe Fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@10166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-29 21:36:31 +00:00
4ffe8418e3 Use is_defined to check for HAVE_* variables set by checks.
Note that conf.define('FOO', 1) will NOT set conf.env['FOO'].


git-svn-id: svn://localhost/ardour2/branches/3.0@10164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-29 20:29:06 +00:00
c1ef7b14a3 Remove use of waf compat15 tool.
Always load waf tools first (prevent smashing of --debug, DATADIR, etc).


git-svn-id: svn://localhost/ardour2/branches/3.0@10163 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-29 19:58:05 +00:00
723ab60b39 Upgrade to waf 1.6.7 and autowaf r52.
git-svn-id: svn://localhost/ardour2/branches/3.0@10162 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-29 19:17:54 +00:00
97a3971bab more jack include fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@10157 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28 13:37:57 +00:00
43b8eff4f6 header file fixup for weak jack linkage, forward ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@10156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28 13:20:03 +00:00
9030f4e61b forward port latency computation fix from 2.X for case where a route has no connections
git-svn-id: svn://localhost/ardour2/branches/3.0@10155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28 13:19:15 +00:00
Carl Hetherington
6a3d6f3549 Strip .ardour prefix from session files selected from the startup dialogue. May fix #3558.
git-svn-id: svn://localhost/ardour2/branches/3.0@10153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28 01:27:54 +00:00
Carl Hetherington
6583376d05 Patch from Colin to fix a search/replace bug in TOC/CUE generation (#4336).
git-svn-id: svn://localhost/ardour2/branches/3.0@10148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 20:20:04 +00:00
Carl Hetherington
20dc91d0ad Add missed parent class call to Sequence::control_list_marked_dirty. Fixes #4335.
git-svn-id: svn://localhost/ardour2/branches/3.0@10140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 01:21:05 +00:00
Carl Hetherington
90a2cc0746 The most minor of formatting tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@10139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 01:20:58 +00:00
Carl Hetherington
2206a60a10 Fix crash on close after Mackie modifications by making it use AbstractUI so that invalidation of signals works properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27 00:43:04 +00:00
Carl Hetherington
daf5203f58 Fix crash on startup caused by previous Mackie commits.
git-svn-id: svn://localhost/ardour2/branches/3.0@10137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 23:18:59 +00:00
Carl Hetherington
f349b4010d No-op; formatting tidy-ups.
git-svn-id: svn://localhost/ardour2/branches/3.0@10136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 22:32:24 +00:00
Carl Hetherington
1145f1ff6c Update Mackie surface state when something is connected to its output port (#3887).
git-svn-id: svn://localhost/ardour2/branches/3.0@10135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 22:22:21 +00:00
Carl Hetherington
fa590d385b Add Signal5.
git-svn-id: svn://localhost/ardour2/branches/3.0@10134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 22:22:14 +00:00
Carl Hetherington
1f1abd0646 Correct signal handling for previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 21:03:11 +00:00
Carl Hetherington
a7dc433498 Delete MIDI port objects when the MackieControlProtocol is torn down, so that it can be recreated without attempting to create duplicate JACK port names. Should fix #3886.
git-svn-id: svn://localhost/ardour2/branches/3.0@10129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 20:35:16 +00:00
Carl Hetherington
d6112f1213 Use RCU for MIDI Manager's port list.
git-svn-id: svn://localhost/ardour2/branches/3.0@10128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 20:35:09 +00:00
e5a9ea3ed9 more assert/debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@10127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 18:54:55 +00:00
Carl Hetherington
f40c7c45be Somewhat experimental patch to hide plugin inputs if the preceding processor doesn't offer outputs for them. Fixes #4330.
git-svn-id: svn://localhost/ardour2/branches/3.0@10126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 18:07:02 +00:00
Carl Hetherington
8f46b0dc4b Tidy up PluginInsert's handling of how it chooses to map plugin IO to that of the insert.
git-svn-id: svn://localhost/ardour2/branches/3.0@10125 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 18:04:02 +00:00
Carl Hetherington
fa9e3b3165 Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@10124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 15:01:19 +00:00
58ded03f8f 3.X version of earlier major fix to 2.X: Route::check_initial_delay() should be virtual and do nothing for busses
git-svn-id: svn://localhost/ardour2/branches/3.0@10123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-25 20:09:17 +00:00
129ac54a57 minor but important fix for the wrap-buffer case in a recording audio diskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@10122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-25 20:08:48 +00:00
23dfd4af19 minor correction in return type cast
git-svn-id: svn://localhost/ardour2/branches/3.0@10121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-25 20:07:02 +00:00
b875f1edca change default search path for linux VST to use lib64 as appropriate
git-svn-id: svn://localhost/ardour2/branches/3.0@10112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 17:51:27 +00:00
4da9b2caac fixes from 2.X for latency/capture alignment stuff: don't reverse route list, update latency and capture offsets at transport stop; remove some debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@10110 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 17:28:13 +00:00
Carl Hetherington
3314322c7e Check inodes before reporting ambigious files (#4326).
git-svn-id: svn://localhost/ardour2/branches/3.0@10109 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 17:19:01 +00:00
Carl Hetherington
150ad3ae82 Make LXVST_PATH / LXVST_PLUGINS work (#4329).
git-svn-id: svn://localhost/ardour2/branches/3.0@10106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 16:07:15 +00:00
Carl Hetherington
460b99645c Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@10105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 15:55:12 +00:00
Carl Hetherington
185b58f259 Use a MementoCommandBinder for Crossfades so that the undo record can contain details for crossfades that are subsequently deleted (#4325).
git-svn-id: svn://localhost/ardour2/branches/3.0@10104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21 15:54:19 +00:00
2e59536dd8 a few coding style (indentation etc.) cleanups to LX VST code
git-svn-id: svn://localhost/ardour2/branches/3.0@10102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-20 22:33:27 +00:00
d4433b9ab3 (native) Linux VST support from LinuxDSP
git-svn-id: svn://localhost/ardour2/branches/3.0@10101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-20 20:29:47 +00:00
Carl Hetherington
da4270a93d Emit ContentsChanged on the model when one of its control lists changes. Should fix #3880.
git-svn-id: svn://localhost/ardour2/branches/3.0@10095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-19 17:15:43 +00:00
Carl Hetherington
c09f2eedf2 Specialise ConfigVariable for string so that values with
spaces in get handled properly (part of #4321).


git-svn-id: svn://localhost/ardour2/branches/3.0@10092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-18 19:49:36 +00:00
Carl Hetherington
87d57a1de9 Remove unused rec_monitors_input variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@10091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-18 19:49:26 +00:00
Carl Hetherington
e65636a087 Remove unused parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@10090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-16 21:45:10 +00:00
Carl Hetherington
315f41f82f Option to glue new markers to bars and beats (part of
#4202).


git-svn-id: svn://localhost/ardour2/branches/3.0@10087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14 20:39:03 +00:00
Carl Hetherington
8f39701908 Load the tempo map before the locations so that locations
can compute their BBT positions correctly (#4276).


git-svn-id: svn://localhost/ardour2/branches/3.0@10081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14 17:16:54 +00:00
Carl Hetherington
8f5dd22c51 Fix default disk_io_chunk_frames for diskstream so that it
isn't larger than the default playback buffer size when
starting Ardour without a previous ~/.config; having
disk_io_chunk_frames larger violates basic design
assumptions and causes phantom underruns in playback
(#4308).


git-svn-id: svn://localhost/ardour2/branches/3.0@10079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14 15:55:27 +00:00
Carl Hetherington
aadc91d7d1 Clear clicks on locating for a seamless loop so that they
don't stop (#4213).


git-svn-id: svn://localhost/ardour2/branches/3.0@10074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14 13:46:34 +00:00
24756ae04e new norwegian translation from Eivind Ødegård
git-svn-id: svn://localhost/ardour2/branches/3.0@10073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-13 20:47:57 +00:00
Carl Hetherington
bced7c250e Use derived pan_outs() when panner setup is deferred, to
make it the same as when it is done immediately.  Fixes
part of #4190.


git-svn-id: svn://localhost/ardour2/branches/3.0@10069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-12 15:05:43 +00:00
Carl Hetherington
14e083001d Fix a couple of thinkos causing crashes during split cycles
with plugins that are splitting e.g. mono inputs to stereo
plugins (#4169).


git-svn-id: svn://localhost/ardour2/branches/3.0@10068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-12 13:17:42 +00:00
Carl Hetherington
bb91aaa5ec Increase threshold for zoom-by-horizontal movement;
ignore movements to y positions outside the scroomer;
round page size and value to prevent 'quivering' during
drags.  Should fix #4299.


git-svn-id: svn://localhost/ardour2/branches/3.0@10063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-07 14:11:33 +00:00
Carl Hetherington
932b0e9ec1 Update route colours when they are added to / removed
from groups which share colour (more of #4064).


git-svn-id: svn://localhost/ardour2/branches/3.0@10060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-07 11:56:23 +00:00
Carl Hetherington
853904aa26 Correct fix for previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10058 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-06 23:26:02 +00:00
Carl Hetherington
e095a93f98 Do not move the initial tempo / meter changes at 0 time when inserting time (#4313).
git-svn-id: svn://localhost/ardour2/branches/3.0@10057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-06 22:40:41 +00:00
Carl Hetherington
24a38b8b08 Add option to insert time on all a track's playlists (#4304).
git-svn-id: svn://localhost/ardour2/branches/3.0@10054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-05 23:38:18 +00:00
Carl Hetherington
881b5a43e7 Allow route groups to color their tracks (remainder of
#4064).


git-svn-id: svn://localhost/ardour2/branches/3.0@10043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 19:14:12 +00:00
f3a6b8a9ba Fix meter colour range to again have a hard knee at 0dB and twiddle colours so >0dB levels are red and stand out.
I am not sure if this is the original intent here, but it seems the most informative/useful/standard/etc. Unfortunately the colour names in the configuration (min, mid, max, clip) are a bit confusing (starting to clip = "mid"?) but changing them would break things. Oh well.


git-svn-id: svn://localhost/ardour2/branches/3.0@10042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 18:58:46 +00:00
c55f142ad0 Fix meter colour gradients (mid and top were swapped).
I removed the double stop around the knee because... well, this is the way I figured out that actually follows the colour configuration as expected.  It may be less correct for some reason, but it looks like what I expect when twiddling the colours, anyway.


git-svn-id: svn://localhost/ardour2/branches/3.0@10041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 17:22:05 +00:00
d3c38e28fc Make meters with different colour parameters actually work.
Particularly, audio meters and MIDI meters would more or less randomly use each other's colours. Now they each use their own configured colours as it should be.


git-svn-id: svn://localhost/ardour2/branches/3.0@10040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 16:59:21 +00:00
Carl Hetherington
e400a2ea24 Tidy formatting some more.
git-svn-id: svn://localhost/ardour2/branches/3.0@10034 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30 15:43:49 +00:00
Carl Hetherington
e2c31850e3 Tidy formatting.
git-svn-id: svn://localhost/ardour2/branches/3.0@10031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30 11:32:40 +00:00
Carl Hetherington
7d32cf3813 Give route groups their own colour, settable from the route
group dialogue.  Americanise spelling of color in a few
places to avoid confusion.  Fixes #4224.  Addresses parts
of #2650 and #4064.


git-svn-id: svn://localhost/ardour2/branches/3.0@10030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30 09:48:53 +00:00
Carl Hetherington
9b7ae4cccc Ensure that the fade curves are updated when the xfade
length changes; should fix #4260.


git-svn-id: svn://localhost/ardour2/branches/3.0@10028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-29 16:00:17 +00:00
Carl Hetherington
52e3e5bdc9 Move what I'm pretty sure is a misplaced assert; a panner
can copy from more to fewer buffers.


git-svn-id: svn://localhost/ardour2/branches/3.0@10027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-29 15:56:05 +00:00
Carl Hetherington
c8e6db4e92 Emit ConfigurationChanged when meter setup bypasses the
general configure_io; fixes remainder of #4233.


git-svn-id: svn://localhost/ardour2/branches/3.0@10012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-19 19:21:05 +00:00
45d51d3aee various fixes to MidiRegionView selection handling, key handling, drawing of ghost notes (contains a fix for #4263); shift-drag selections in MidiRegionViews now correctly add to the selection rather than replacing any existing one.
git-svn-id: svn://localhost/ardour2/branches/3.0@10000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-17 12:46:42 +00:00
6a3ce666c6 avoid compiler warnings about un-implemented MIDI functions (for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@9997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-16 14:20:09 +00:00
Carl Hetherington
04ac05a26d Add fr_FR translation for libgtkmm2ext from Roming22 (#4080).
git-svn-id: svn://localhost/ardour2/branches/3.0@9994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-14 19:24:23 +00:00
ae5f278202 make control protocol's SelectByRID signal work, thus enabling MIDI binding maps to use function="select" with an argument; fix minor bug in previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-14 17:11:33 +00:00
Carl Hetherington
eedb460acf Don't auto-connect buss inputs (#4211).
git-svn-id: svn://localhost/ardour2/branches/3.0@9988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-14 14:08:53 +00:00
f75bbfd8ac track changes to config parameters for MMC device id's correctly (from roy vegard)
git-svn-id: svn://localhost/ardour2/branches/3.0@9985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-13 16:27:29 +00:00
Carl Hetherington
77f3fa0943 Fix build with tests enabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@9984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-13 14:17:16 +00:00
61eacc021a prevent illegal data being used to set note values, velocities and channels
git-svn-id: svn://localhost/ardour2/branches/3.0@9982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-12 14:40:04 +00:00
11d041f6c0 fix stupid thinko in varispeed limitation for record enable
git-svn-id: svn://localhost/ardour2/branches/3.0@9980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-11 17:36:42 +00:00
a8449db466 finish the intention of the previous commit, correctly this time
git-svn-id: svn://localhost/ardour2/branches/3.0@9979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-11 16:06:31 +00:00
1f845c0e32 do not assert/abort out of data errors that may originate with external user-supplied data, and use PBD::error instead
git-svn-id: svn://localhost/ardour2/branches/3.0@9978 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-11 15:58:28 +00:00
dd6e76ad89 add skeleton for i18n support
git-svn-id: svn://localhost/ardour2/branches/3.0@9977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-11 15:57:48 +00:00
868e871486 fix leftover bug from hacking on internal send panning stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@9976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10 20:30:27 +00:00
afdb298462 add virtual Delivery::pan_outs() so that internal sends correctly configure their panner for the number of outputs on the target rather than the output of the internal send processor within the route. fixes a crash when adding internal sends
git-svn-id: svn://localhost/ardour2/branches/3.0@9975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10 20:22:21 +00:00
98934548a2 don't use MIDI tracks when adding internal sends to auxes; no varispeed when recording and the corollary - no recording when varispeeding
git-svn-id: svn://localhost/ardour2/branches/3.0@9974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10 20:21:18 +00:00
0a07cca64c if a binding map specifies controllables that don't exist in the session, drop those bindings so that we don't crash from having bindings without controllables (should fix #4256)
git-svn-id: svn://localhost/ardour2/branches/3.0@9973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10 15:57:03 +00:00
38de5c169f make handling of sends-only feed-based solo propagation symmetrical upstream and downstream (fixes #4252) and add more DEBUG::Solo tracing for future aid
git-svn-id: svn://localhost/ardour2/branches/3.0@9972 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10 15:13:15 +00:00
db78ba19ff attempt to prevent dropping into record if rolling in reverse (should fix #4254)
git-svn-id: svn://localhost/ardour2/branches/3.0@9971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 21:17:55 +00:00
Carl Hetherington
e76840c089 Prevent crash on de-selecting all tracks from a stem export
(#4167).


git-svn-id: svn://localhost/ardour2/branches/3.0@9967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 13:04:28 +00:00
Carl Hetherington
7aac277ce1 Add a few asserts.
git-svn-id: svn://localhost/ardour2/branches/3.0@9966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 12:53:24 +00:00
Carl Hetherington
2b2d49fffa Set new region length correctly after stretch (part of
#3908).


git-svn-id: svn://localhost/ardour2/branches/3.0@9963 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-08 15:36:16 +00:00
Carl Hetherington
5905b58bc0 Use correct default value for MIDI faders, and put the
unity mark in the correct position for those faders. 
Fixes #4234.


git-svn-id: svn://localhost/ardour2/branches/3.0@9955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 18:41:16 +00:00
Carl Hetherington
8ce5bacfe4 Add GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 12:28:52 +00:00
Carl Hetherington
90e3eced2e Polarity control value needs to be able to go negative as it
is a gain.  Fixes #4212.


git-svn-id: svn://localhost/ardour2/branches/3.0@9950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 12:16:42 +00:00
Carl Hetherington
c18009e11f Use route group solo property for route listen as well
as solo (#4228).


git-svn-id: svn://localhost/ardour2/branches/3.0@9949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 11:52:45 +00:00
Carl Hetherington
9e6eb3e0c7 Apply x42's patch from #4207; rename MIDI control
preferences to just MIDI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 11:15:01 +00:00
Carl Hetherington
eb43f2d0eb Fix up build of tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@9943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-31 13:58:26 +00:00
921358a5f3 remove remnant of MIDI I/O debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 16:24:41 +00:00
df78f284ee fix up colons in track names before they are used for JACK port names; catch most (not all) attempted renames and ask the user about colons
git-svn-id: svn://localhost/ardour2/branches/3.0@9928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 02:07:59 +00:00
fd384bf48e remove some MIDI I/O debugging (hopefully all)
git-svn-id: svn://localhost/ardour2/branches/3.0@9927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 01:16:37 +00:00
372137f373 remove more unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:11:03 +00:00
b52422105f remove unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:10:49 +00:00
9e5a0ad167 change FastMeter drawing implementation to use Cairo instead of GDK; some subtle changes to meter drawing will be visible and are subject to a revisit
git-svn-id: svn://localhost/ardour2/branches/3.0@9919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:05:54 +00:00
ff234c0544 "forward" port IO::ensure_* changes from 2.X for correctness and consistency
git-svn-id: svn://localhost/ardour2/branches/3.0@9918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 16:11:00 +00:00
78b6c9632c in exclusive solo mode, allow full-group solo
git-svn-id: svn://localhost/ardour2/branches/3.0@9917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 16:10:11 +00:00
862972eaaa use std::vector::assign() in BufferSet::attach_buffers() rather than an explicit loop; minor formatting touchups
git-svn-id: svn://localhost/ardour2/branches/3.0@9912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 15:44:13 +00:00
1d7190b186 move basic parameter initialization out of AudioEngine into global ARDOUR::init()
git-svn-id: svn://localhost/ardour2/branches/3.0@9911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 15:42:33 +00:00
c99738d88e try to fix data loss at end of a capture pass for MIDI - add a new virtual method to MidiSource that specifies what should be done with stuck notes, remove duplicate(i hope) _last_flush_frame from SMFSource that mirrored, more or less, MidiSource::_last_write_end; use new virtual method when stopping after capture.
git-svn-id: svn://localhost/ardour2/branches/3.0@9910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-20 18:13:03 +00:00
85e8f7762e even more MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 21:58:06 +00:00
7230ed4d54 yet more MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 19:25:22 +00:00
82e4573227 tentative "fix" for output for tracks with audio and MIDI output (no known test case at present)
git-svn-id: svn://localhost/ardour2/branches/3.0@9903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 13:45:39 +00:00
57cb31ea6e check for _panshell->panner() before ::run-ing the panshell, so that MIDI tracks or other tracks with no panner just get the 1:1 copy-to-outputs code invoked
git-svn-id: svn://localhost/ardour2/branches/3.0@9902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 13:08:11 +00:00
828939a7f5 more MIDI I/O debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 11:57:09 +00:00
Carl Hetherington
79898b7aa7 Make _read_at take notice of its srcs parameter; fixes part of #3908.
git-svn-id: svn://localhost/ardour2/branches/3.0@9900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 00:22:08 +00:00
Carl Hetherington
711d344188 Remove unused parameters to AudioRegion::read_at
git-svn-id: svn://localhost/ardour2/branches/3.0@9899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 00:22:01 +00:00
47aa8ed09b improved fix for #4158 etc, hopefully
git-svn-id: svn://localhost/ardour2/branches/3.0@9896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 20:03:49 +00:00
6370400953 more more debugging for MIDI i/o
git-svn-id: svn://localhost/ardour2/branches/3.0@9895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 18:12:54 +00:00
34c05a7903 when renaming, remove old session and add new session name from/to recent sessions list
git-svn-id: svn://localhost/ardour2/branches/3.0@9894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 17:08:50 +00:00
5d8cf17121 don't try (and fail) to rename the history file if it doesn't exist
git-svn-id: svn://localhost/ardour2/branches/3.0@9892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 15:04:00 +00:00
Carl Hetherington
26666fce42 Remove an assert() that I can't see the value of, and which
trips when loading empty MIDI files (#4190).


git-svn-id: svn://localhost/ardour2/branches/3.0@9883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-16 20:55:14 +00:00
Carl Hetherington
e2b8d42140 Remove unused _own_latency member from Latent.
git-svn-id: svn://localhost/ardour2/branches/3.0@9881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-15 00:50:43 +00:00
Carl Hetherington
9d57b87999 Save / restore processor _user_latency (another part of #4186).
git-svn-id: svn://localhost/ardour2/branches/3.0@9880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-15 00:03:18 +00:00
Carl Hetherington
75d315e452 Save and restore Latent's _user_latency for IOs (fixes #4186).
git-svn-id: svn://localhost/ardour2/branches/3.0@9879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 23:29:42 +00:00
Carl Hetherington
48de21b120 Move panner bypass state up to the PannerShell so that it is preserved even when new Panners are dropped in (refixes #4185).
git-svn-id: svn://localhost/ardour2/branches/3.0@9877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 22:17:43 +00:00
a5efa9a500 initial pass at session-renaming functionality
git-svn-id: svn://localhost/ardour2/branches/3.0@9876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 17:41:06 +00:00
Carl Hetherington
2d83ffc45a Fix restoration of PannerShell state from session XML (#4185).
git-svn-id: svn://localhost/ardour2/branches/3.0@9875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 14:56:40 +00:00
Carl Hetherington
5625f41c86 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@9874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 14:56:34 +00:00
78eafdced6 more midi I/O debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 12:59:51 +00:00
160f1493fa more midi io debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 20:14:53 +00:00
f5212ea181 more midi io debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 20:08:28 +00:00
f6a50adf42 MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 15:49:53 +00:00
Carl Hetherington
16db8b5972 Add a couple of missing attach_buffers() calls after _ports has been changed. I think this fixes #3856.
git-svn-id: svn://localhost/ardour2/branches/3.0@9858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 01:00:53 +00:00
89a284fd78 add incoming MIDI stream debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 22:47:32 +00:00
Carl Hetherington
7be510a26a Set up default and upper/lower limit correctly on LV2 ports
whose values are expressed as a fraction of the sampling
rate.  Should fix #3767.


git-svn-id: svn://localhost/ardour2/branches/3.0@9848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 20:30:02 +00:00
Carl Hetherington
11b0ac77f5 Print a message to the console if we abort because no panner
is found.


git-svn-id: svn://localhost/ardour2/branches/3.0@9847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 13:33:35 +00:00
Carl Hetherington
f908d45fa0 Correct (I think) previous fix.
git-svn-id: svn://localhost/ardour2/branches/3.0@9846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 12:48:41 +00:00
Carl Hetherington
69d22d87b4 Set mixbufs count in the case of a panner being used, as
happens in read_from when no panner is being used. 
 Should fix #4158.


git-svn-id: svn://localhost/ardour2/branches/3.0@9845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 12:22:43 +00:00
676542dcce explanatory comment about use of g_strncasecmp()
git-svn-id: svn://localhost/ardour2/branches/3.0@9840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 19:20:26 +00:00
1d17d43751 accept .MID as a MIDI file extension, not just .mid
git-svn-id: svn://localhost/ardour2/branches/3.0@9839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 16:10:45 +00:00
Carl Hetherington
4ef2541e6e Use an assert to check that a panner is obtained, which
git-svn-id: svn://localhost/ardour2/branches/3.0@9836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 12:57:06 +00:00
Carl Hetherington
31d0eca307 Set up initial gains with init_gain() before (rather than after) potentially restoring gain with Send::set_state (should fix #3546).
git-svn-id: svn://localhost/ardour2/branches/3.0@9834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10 23:55:48 +00:00
Carl Hetherington
a7057d6965 Make an empty-string non-affirmative so that AxisView::set_marked_for_display works properly when the visible gui property does not exist.
git-svn-id: svn://localhost/ardour2/branches/3.0@9833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10 21:50:00 +00:00
9a2fe5aad3 refine definition of "generator" plugins, and only send silence through the route is there is a REAL generator plugin (i.e. no inputs at all). Fixes #4144 (hopefully without breaking anything else)
git-svn-id: svn://localhost/ardour2/branches/3.0@9814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 21:58:34 +00:00
0f7e423422 fix incorrect use of MidiBuffer::reserve() and MidiBuffer::write() if channel mask discards a MIDI event (fixes #4138)
git-svn-id: svn://localhost/ardour2/branches/3.0@9811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 17:50:02 +00:00
Carl Hetherington
67ad5fe2b7 Make sure the buffer count is updated properly when run() happens on a muted delivery. Fixes #4153.
git-svn-id: svn://localhost/ardour2/branches/3.0@9810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 17:06:29 +00:00
Carl Hetherington
d5bb729755 Uncomment fix for #4110.
git-svn-id: svn://localhost/ardour2/branches/3.0@9793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-04 17:35:28 +00:00
Carl Hetherington
61648057ce Send full MIDI time code (if enabled) after changing sync source; should fix #4147.
git-svn-id: svn://localhost/ardour2/branches/3.0@9792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-03 23:52:17 +00:00
a3583c89b2 ctrl-alt-click now toggles input active status of other MIDI tracks using (any of) the same input(s) as the clicked track
git-svn-id: svn://localhost/ardour2/branches/3.0@9789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-03 15:01:21 +00:00
Carl Hetherington
cd17e05e3a Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02 17:16:46 +00:00
67e21fd82e add MIDI input control column to editor route list; tweak SVG for MIDI not DIN
git-svn-id: svn://localhost/ardour2/branches/3.0@9779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 15:48:24 +00:00
84be4eafc5 basic infrastructure for enabling/disabling MIDI input to a given track
git-svn-id: svn://localhost/ardour2/branches/3.0@9772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-28 16:55:41 +00:00
Carl Hetherington
4388556923 Remove some unused PostTransport enums and renumber others.
git-svn-id: svn://localhost/ardour2/branches/3.0@9767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-26 12:56:40 +00:00
Carl Hetherington
08910b2783 Always use numeric prefixes for default-named tracks / busses (#4123).
git-svn-id: svn://localhost/ardour2/branches/3.0@9762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 23:37:02 +00:00
7181a20dc6 don't double-load NestedSource nodes, which are listed both forthe parent/root region and all children; even better, don't list them twice anyway - just for the whole file parent/root region
git-svn-id: svn://localhost/ardour2/branches/3.0@9761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 22:46:31 +00:00
ae3c7234e7 remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:06:31 +00:00
9687e8a667 second half of "bomb out if playlist construction from XML fails"
git-svn-id: svn://localhost/ardour2/branches/3.0@9759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:06:10 +00:00
2801e91fe2 drobilla-spacification of playlist.cc, along with correctly bombing out if ::set_state() fails, part 1
git-svn-id: svn://localhost/ardour2/branches/3.0@9758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:00:30 +00:00
8aa0b2966e ignore unpaired noteoff's when writing part of a MidiModel to a new source. in reality, there should be no unpaired noteoffs, but this is still an important fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 19:59:46 +00:00
260c1c1a13 remove some potential HCI confusion for Gtkmm2ext::UI::popup_error() by using a standard MessageDialog (as noticed by thorwil)
git-svn-id: svn://localhost/ardour2/branches/3.0@9756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 14:38:32 +00:00
be614d0538 change default overlapping note strategy to "relax" (i.e. do nothing); fix crash when looping with MIDI data; add back note-off resolution at loop point (if it was actually there) so that notes are turned off (but don't forget Ye Olde Sustain Pedal/Controller) when looping; minor other non-functional tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-21 21:29:22 +00:00
500aaa0dee an entire freakin' day working on 1 working function, VolumeController::adjust() ... probably not done, but better ... gain control that occurs via this function occurs in discrete, fixed dB steps
git-svn-id: svn://localhost/ardour2/branches/3.0@9752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-21 01:36:20 +00:00
12c844dd8d remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:04:55 +00:00
d5e09076ca much ado about nothing when it comes to gain control
git-svn-id: svn://localhost/ardour2/branches/3.0@9748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:02:55 +00:00
182b23e744 cleanup confused mess related to jack_port_type_get_buffer_size()
git-svn-id: svn://localhost/ardour2/branches/3.0@9747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 21:47:21 +00:00
01e006e46e some changes to try to make the monitor section gain controls work as intended, and along the way start to rationalize MotionFeedback/VolumeController classes
git-svn-id: svn://localhost/ardour2/branches/3.0@9746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-17 21:47:20 +00:00
1961051416 monitor send gets access to the (shared) pannable of the track/bus, thus ensuring that the monitor feed is panned. required a few fixes along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 19:00:08 +00:00
a5674e9271 fix initialization of gain for Listen internal sends (to monitor bus); remove pannable object from monitor bus after (re)creation from XML
git-svn-id: svn://localhost/ardour2/branches/3.0@9730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 14:49:06 +00:00
22a4f44939 a real, working fix for panning regression in alpha6
git-svn-id: svn://localhost/ardour2/branches/3.0@9725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 21:53:57 +00:00
37e9a53180 remove Pannable/PanShell from the Monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@9720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 15:52:31 +00:00
961e25d90e reload alpha1-6 Pannable XML state so that panning of existing sessions should work again
git-svn-id: svn://localhost/ardour2/branches/3.0@9719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 15:50:05 +00:00
5afe60f0e3 fix restore of Pannable state from XML (regression in alpha6)
git-svn-id: svn://localhost/ardour2/branches/3.0@9717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:17:29 +00:00
5b3106ee31 build script fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:08:33 +00:00
786a61a275 update i18n build system and *.po files for translators
git-svn-id: svn://localhost/ardour2/branches/3.0@9714 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:05:55 +00:00