13
0
Commit Graph

3416 Commits

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