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
Carl Hetherington
8c7fda11cf
Don't pop up an empty menu over a patch change.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-20 00:01:08 +00:00
Carl Hetherington
c3bea354f8
Set up advanced session options from the RCConfiguration so that the RCConfiguration values don't get ignored on startup ( #4205 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 23:12:42 +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
Carl Hetherington
2e113872de
Assume axis views with no set visible property are visible.
...
Fixes #4197 .
git-svn-id: svn://localhost/ardour2/branches/3.0@9905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 17:14:45 +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
8426588d6e
Allow enter to be pressed to apply.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9891 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-17 20:11:37 +00:00
Carl Hetherington
982bfd08db
Add context menu for control points.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-17 20:10:31 +00:00
Carl Hetherington
8786d5c9c2
Fix vertical pane resizing during fullscreen/unfullscreen
...
(#4119 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@9889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-17 18:22:43 +00:00
Carl Hetherington
7e8e8b4e72
Tie note y to mouse pointer position when dragging MIDI
...
notes (#4051 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@9886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-17 16:02:26 +00:00
Carl Hetherington
7b8efcc250
Snap ghost note more intuitively ( #4189 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-16 21:53:30 +00:00
Carl Hetherington
0cd67582cb
Restore AWOL master mixer strip ( #4187 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-16 21:29:06 +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
Carl Hetherington
5f9fb85b77
Fix crash when selecting automation points in MIDI
...
regions with non-zero starts (#4177 ) and also fix
problems with selection conversions between
ControlPoints and PointSelection in similar regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@9866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 19:24:46 +00:00
Carl Hetherington
80972784e3
Fix non visibility of previously-visible MIDI automation
...
tracks on session reload.
git-svn-id: svn://localhost/ardour2/branches/3.0@9863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 17:13:30 +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
82ec615da3
Make MIDI automation tracks behave the same as MIDI
...
tracks when they are clicked in an area with no region
(approximation to a fix for #4155 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@9860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 12:34:11 +00:00
Carl Hetherington
dc900af74c
Fix erroneous placement of new MIDI automation points in
...
regions with non-zero start (#4176 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@9859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 12:09:25 +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
Carl Hetherington
84e10e93d1
Re-order route group editor list columns to match up with the order in the route group dialogue, and add a couple of missing checkbuttons to the editor group list.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 23:41:19 +00:00
Carl Hetherington
c6ed2df2db
Move active checkbutton out of the sharing section of the dialogue.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 23:40:57 +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
ab98398dc2
Latency dialog is already instant-apply, so remove OK /
...
Apply buttons which are somewhat misleading.
git-svn-id: svn://localhost/ardour2/branches/3.0@9850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 21:12:22 +00:00
Carl Hetherington
34d6518e23
Set up track latency GUI using user latency rather than
...
signal latency. Fixes #4170 .
git-svn-id: svn://localhost/ardour2/branches/3.0@9849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 21:00:07 +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
Carl Hetherington
6ae03aa212
Maintain order keys even when routes are hidden, to prevent
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 11:02:12 +00:00