a2f5ff9535
Remove two unnecessary header includes of pbd/mountpoint.h
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 03:51:39 +00:00
0dc43d677e
don't try to backup sessions from older versions of ardour that are also read-only
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 19:44:11 +00:00
c0f7f044f3
introduce the idea of a "default transport speed", used whenever Session::start_transport() is called. Only the shuttle controller alters it, and even that only alters it in wheel mode, which means that stopping the transport does not rever the default speed back to zero. To get back to zero either switch the shuttle controller back to sprung mode, or change the speed back to zero ( fixes #451 ... yes, really, a 3 digit bug fixed!)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 14:45:44 +00:00
8c10320497
fix reset of transport speed when seamless looping; add a few comments and tidy-ups to related transport code
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 14:27:51 +00:00
d70429a066
provide an easier way to add mixed (audio+MIDI) tracks to a session, to facilitate the use of plugins like Reaktor which accept both audio & MIDI data. there's probably still a paradigm shift waiting to happen here but its likely post-3.0.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 01:45:16 +00:00
39becbeb70
smooth 0.5 second fade out during quit, plus MIDI panic to turn everything off (someone will want an opton for that, no doubt)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 20:31:14 +00:00
8c87102688
a putatively better approach to cleaning up ports at session closing
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 15:00:10 +00:00
83941f9988
when a session goes away, deliver silence to all current ports to prevent a horrible screech during cleanup/destruction
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 22:24:14 +00:00
Carl Hetherington
7a76e8ae96
Declick before the end of seamless loops, not after the end, so that loops are rendered accurately ( #4213 , #4593 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 18:46:05 +00:00
Carl Hetherington
d863c20002
Comment declick stuff a bit, and fix confusing use of bool instead of int to hold the value.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 18:45:58 +00:00
Carl Hetherington
816d3da840
Very minor tidy-up.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 01:30:14 +00:00
1df227424a
patch from colinf that adds an 'empty' preset to the preset drop-down list, so that plugins can be set back to the 'no preset' state rather than being stuck in the state of 'preset loaded and modified'. This should apply to all plugin types, though I've only tried it on LV2 and LADSPA.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 16:02:24 +00:00
7a24e49fa0
2nd half of patch for handling LV2 presets from colinf ( #4698 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:59:50 +00:00
Carl Hetherington
944dae2a41
Write the topologically sorted route list back to the session's list so that the 1-processor process code sees it. Should fix #4937 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:51:56 +00:00
Carl Hetherington
4d1246e0ee
Add load_session to profiling.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 00:25:26 +00:00
a8237f1aed
make switching between input+disk monitoring work "right" for MIDI tracks; also fix a bug that led to messages about notes already being on at program start because of a double seek with no read in between
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 19:20:59 +00:00
Carl Hetherington
9d74f6ece9
Simple arrangement to run basic load tests on a corpus
...
of sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:40 +00:00
Carl Hetherington
c502f0981f
Fix comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:26 +00:00
Carl Hetherington
49fec4f430
Fix (?) failure to load A2 sessions with a ControlOut.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:06 +00:00
Carl Hetherington
3d3fa9ae02
Fix up profiling.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:58:10 +00:00
Carl Hetherington
611936f346
Use a map of region names to speed up
...
RegionFactory::new_region_name; should help with #2982 .
git-svn-id: svn://localhost/ardour2/branches/3.0@12753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:57:03 +00:00
Carl Hetherington
20ceeb6d3e
Do XML comparisons better in tests.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:12 +00:00
Carl Hetherington
2a5bfa6dcb
Basic region naming test.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:05 +00:00
Carl Hetherington
a8773900a8
Profile of duplicating lots of regions.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:51 +00:00
Carl Hetherington
8fc866309f
Resurrect profiling code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:11 +00:00
Carl Hetherington
5b0ade2527
Use hardware optimization when running tests.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:19:53 +00:00
Carl Hetherington
add52f1c0e
Remove believed-unnecessary and broken MIDI thru option;
...
should fix #4749 .
git-svn-id: svn://localhost/ardour2/branches/3.0@12746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 14:28:10 +00:00
Carl Hetherington
2e71cb2e26
Add option to disable autoscroll of editor ( #4721 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 12:38:59 +00:00
Carl Hetherington
00f51c6abf
Add missing set_state of _mute_control; fixes #3959 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 19:00:38 +00:00
Carl Hetherington
daffec502e
Return silence from read_from_sources() if we try to read a channel that our source does not have (if replicate-missing-region-channels is turned off); should fix #4934 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 18:18:30 +00:00
Carl Hetherington
5ac22e9095
Add new SharedStatefulProperty which manages a shared_ptr to
...
some Stateful object, and a subclass to use this for
AutomationList. SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.
git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 17:20:10 +00:00
5b1da330a4
Ssshhhhh....
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 03:08:28 +00:00
223a5e217a
extra insurance against ProcessThread::init() being called more than once
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:53:50 +00:00
0ea8ba3f56
never try to remove state from a read-only session
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:50:20 +00:00
Carl Hetherington
e258a15330
Simple test for playlist region equivalency.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 13:01:32 +00:00
Carl Hetherington
b7f586f0a3
Remove debugging.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 13:01:16 +00:00
Carl Hetherington
2b8912f790
Hopefully fix race between engine being halted and butler
...
being destroyed.
git-svn-id: svn://localhost/ardour2/branches/3.0@12722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 11:45:10 +00:00
Carl Hetherington
30573893a9
Add operation_in_progress() method.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 16:46:59 +00:00
bd92282cc4
flip default value of Plugin::presets_are_MIDI_programs and Plugin::current_preset_uses_general_midi
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 11:55:15 +00:00
Carl Hetherington
92432f3e80
Handle failure of statfs to return available disc space on Samba shares mounted via GVFS, reporting available space as unknown in this case ( #4657 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 16:41:29 +00:00
d1d08e3910
fix complete screw up in connecting MIDNAM PatchNameList with ChannelNameSets; more tweaks and twirls for patch/program change mgmt
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 16:32:06 +00:00
557f56a7f2
more changes to patch change/plugin preset support - replace regexp replacement with boost::replace_all(), actually find programs/patches in the data we have, and more. notable changes to constructors and structure of various MIDI::Name objects
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 04:05:10 +00:00
d97312d438
lots more work trying to create a common structure for accessing plugin and MIDNAME patch/preset/program names. still not done
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 22:59:35 +00:00
960de7306f
partially-done (but compile-friendly) move of instrument info into a new backend object
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 12:07:17 +00:00
Carl Hetherington
c40437430a
Make send automation work ( #4734 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 10:42:30 +00:00
Carl Hetherington
9e4fc0e57f
Remove debug code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 09:50:48 +00:00
Carl Hetherington
0f039ad5a9
Add test for compound regions with the layering
...
reversed.
git-svn-id: svn://localhost/ardour2/branches/3.0@12644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 13:07:39 +00:00
Carl Hetherington
2022a05c00
Set up layering correctly on compound playlists so that
...
the regions on the compound list are arranged the same
as on the original.
git-svn-id: svn://localhost/ardour2/branches/3.0@12643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 13:07:33 +00:00
Carl Hetherington
f519f469b2
Fix off-by-one in computation of crossfade lengths.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 13:07:28 +00:00
Carl Hetherington
1dc8d99d78
Clean up libardour tests a bit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 23:07:27 +00:00