13
0
Commit Graph

2546 Commits

Author SHA1 Message Date
Carl Hetherington
9a1f83923d Clear existing data before reading new to make overwrite_existing_buffers() work correctly. Should fix #3481.
git-svn-id: svn://localhost/ardour2/branches/3.0@8256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 21:36:40 +00:00
Carl Hetherington
dd6935e2ad Minor cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@8253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 01:03:17 +00:00
Carl Hetherington
1e11c4bc57 Fix MIDI fork using a modified version of a patch from warrenfalk. Fixes #3595.
git-svn-id: svn://localhost/ardour2/branches/3.0@8252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 00:41:47 +00:00
Sakari Bergen
ccb7a5a794 Add a null check to ports when loading an export channel from xml + fix indentation for commit r8247
git-svn-id: svn://localhost/ardour2/branches/3.0@8249 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 20:56:53 +00:00
fec8f4ad49 better comment change
git-svn-id: svn://localhost/ardour2/branches/3.0@8248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 20:48:18 +00:00
644af18a4b fix thinko in AudioEngine::get_port_by_name()
git-svn-id: svn://localhost/ardour2/branches/3.0@8247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 20:45:11 +00:00
Sakari Bergen
80c61db0cd Fix compiler warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@8246 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 15:09:47 +00:00
Carl Hetherington
680a3f2b86 Prevent garbage preset names with VST plugins when the call to get preset name fails.
git-svn-id: svn://localhost/ardour2/branches/3.0@8245 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 02:35:31 +00:00
Carl Hetherington
173354c847 Fix a few tiny memory leaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 02:34:44 +00:00
Carl Hetherington
e8fede43ee Reset PanControllable StreamPanners when they change.
git-svn-id: svn://localhost/ardour2/branches/3.0@8243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 00:24:17 +00:00
Carl Hetherington
19ae4ed640 Comment a few things and add missing process lock when adding a route from a template.
git-svn-id: svn://localhost/ardour2/branches/3.0@8242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 00:23:51 +00:00
Carl Hetherington
cd175818ed Fix crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@8241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 00:23:39 +00:00
Carl Hetherington
1f0ac78bc4 Fix deadlock on closing a send IO dialogue.
git-svn-id: svn://localhost/ardour2/branches/3.0@8240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 22:46:53 +00:00
Carl Hetherington
86ac707573 Stop bounce / freeze on tracks that have more outputs than inputs and so cannot record all the outputs in their diskstreams. Fix buffer shortage when bouncing tracks whose processing chains temporarily need more buffers than there are inputs. Fixes #3573.
git-svn-id: svn://localhost/ardour2/branches/3.0@8239 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 22:28:29 +00:00
Carl Hetherington
627385cab4 Handle overlaps better when executing DiffCommands.
git-svn-id: svn://localhost/ardour2/branches/3.0@8233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:37:14 +00:00
Carl Hetherington
555c7ac094 Undo for sys-ex movements in time.
git-svn-id: svn://localhost/ardour2/branches/3.0@8232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:36:31 +00:00
Carl Hetherington
ad916f6241 Fix a few bad iterator accesses.
git-svn-id: svn://localhost/ardour2/branches/3.0@8231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:35:33 +00:00
Carl Hetherington
5c23faaa0d Allow trim of midi regions to before the start of the source (better, this time). Fixes #3156.
git-svn-id: svn://localhost/ardour2/branches/3.0@8229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:34:46 +00:00
Carl Hetherington
7d4e03e28e Use a weak_ptr rather than a bald pointer for _midi_source in MidiModel.
git-svn-id: svn://localhost/ardour2/branches/3.0@8228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:34:31 +00:00
ebf3762fa9 fix computation of silence text, and its display. it is still not on top of the canvas, which is a small problem
git-svn-id: svn://localhost/ardour2/branches/3.0@8227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 18:17:36 +00:00
0a62044c2c make strip silence work (again?)
git-svn-id: svn://localhost/ardour2/branches/3.0@8226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 16:31:05 +00:00
d28ecb2b93 fix for Route::shift/insert-time
git-svn-id: svn://localhost/ardour2/branches/3.0@8225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 23:22:01 +00:00
f176612086 move display of silence for strip-silence into regionviews, along with text to describe impact on the region. this doesn't actually make strip-silence work any better, but the display is improving
git-svn-id: svn://localhost/ardour2/branches/3.0@8224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 21:02:37 +00:00
32ac2049fe minor panner debugging, cont'd
git-svn-id: svn://localhost/ardour2/branches/3.0@8223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 21:01:20 +00:00
Carl Hetherington
cbfb77cd8e in compute_gains in case _speakers.n_tuples is 0. Prevent NaN gains if total power is 0 in the same method. Mark initially dirty so that the first call to do_distribute sets up desired_outputs.
git-svn-id: svn://localhost/ardour2/branches/3.0@8218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 01:52:06 +00:00
Carl Hetherington
ab1e2bfaea Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@8217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08 01:51:56 +00:00
Carl Hetherington
c65d364661 Fix VST preset deletion.
git-svn-id: svn://localhost/ardour2/branches/3.0@8216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 20:12:47 +00:00
Carl Hetherington
95acc21c69 Add scrollbar to edit presets dialogue, and the ability to differentiate between built-in and user presets.
git-svn-id: svn://localhost/ardour2/branches/3.0@8215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 20:12:40 +00:00
Carl Hetherington
56554af08f Revert previous ill-thought-out patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@8213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:55:43 +00:00
Carl Hetherington
f3fc6195bc Allow trim of midi regions to before the start of the source. Fixes #3156.
git-svn-id: svn://localhost/ardour2/branches/3.0@8212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:16:23 +00:00
Carl Hetherington
f8e16276d9 Fix a couple of places where set_position_internal was not being used, meaning that a region's _bbt_time member was not updated and so regions could move about unexpectedly when locked to bars and beats.
git-svn-id: svn://localhost/ardour2/branches/3.0@8211 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 19:05:05 +00:00
eead73098d reimplement Route::shift() from 2.X for "Insert Time"
git-svn-id: svn://localhost/ardour2/branches/3.0@8209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 15:15:25 +00:00
b83f21c3cf add "shift" method used in 2.X and now a3 to move data starting at a position, not an iterator
git-svn-id: svn://localhost/ardour2/branches/3.0@8208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 15:13:04 +00:00
Carl Hetherington
a9275f997b Put plugin-note-off code in the right place.
git-svn-id: svn://localhost/ardour2/branches/3.0@8207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 15:00:19 +00:00
Carl Hetherington
94b4c264d1 Send note-offs to VST instrument plugins on transport stop. Fixes #3583.
git-svn-id: svn://localhost/ardour2/branches/3.0@8203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 14:44:47 +00:00
Carl Hetherington
40c162d609 Move RDF-based preset stuff into LadspaPlugin, to make way for a set of evil hacks to make VST chunk-based presets work (for some values of `work').
May fix #3577.


git-svn-id: svn://localhost/ardour2/branches/3.0@8202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07 02:56:11 +00:00
Carl Hetherington
99c2d589d1 Don't crash if get_action() is called before the UI manager is created. Sort-of fix for #3571.
git-svn-id: svn://localhost/ardour2/branches/3.0@8199 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 13:59:59 +00:00
Carl Hetherington
3975355a5f Add dialog to allow removal of plugin presets. Should fix #2662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 04:29:06 +00:00
Carl Hetherington
bf7b8df028 Fix VST build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 03:07:22 +00:00
5f00efd7e8 forward-port fatal-error-saving fix for xfade loading from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@8194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 02:49:04 +00:00
Carl Hetherington
5546fa38fc Manage attempts to save plugin presets with the same name. Helps with #2662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 02:41:46 +00:00
433196a83a removed files
git-svn-id: svn://localhost/ardour2/branches/3.0@8188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:35:43 +00:00
343d7b95aa correct locations for new osc files
git-svn-id: svn://localhost/ardour2/branches/3.0@8187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:35:22 +00:00
7b361be671 part of lincoln's patches for OSC/ardroid
git-svn-id: svn://localhost/ardour2/branches/3.0@8186 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:29:19 +00:00
625b3ca004 part of lincoln's patches for OSC/ardroid
git-svn-id: svn://localhost/ardour2/branches/3.0@8185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-05 22:28:39 +00:00
Carl Hetherington
9a541c30b9 Missing nframes_t fixes in VST build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-04 03:07:14 +00:00
38c24cefba type tweaks and casts following the nframes_t expulsion
git-svn-id: svn://localhost/ardour2/branches/3.0@8175 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 23:15:53 +00:00
1596ab40ea tweak search path for export profiles
git-svn-id: svn://localhost/ardour2/branches/3.0@8174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 23:15:33 +00:00
18b8ec6996 provide access to plugin parameters from OSC. not tested. from olaf
git-svn-id: svn://localhost/ardour2/branches/3.0@8170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:29:58 +00:00
Carl Hetherington
c04e57125b No-op: reformat and add GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@8167 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:27:30 +00:00