13
0
Commit Graph

5380 Commits

Author SHA1 Message Date
e3c67bceb8 implement methods in TempoMap for walking a given distance along a tempo map and returning the resulting time; add a new property, _length_beats, to MidiRegion; use previously mentioned methods to keep _length_beats up to date as regions are moved AND as tempo map changes occur
git-svn-id: svn://localhost/ardour2/branches/3.0@8274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 20:03:40 +00:00
df5e700f90 fix some more incorrect casts to CanvasNote rather than CanvasNoteEvent (fixes crashes when a track is in perc mode
git-svn-id: svn://localhost/ardour2/branches/3.0@8273 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 20:01:18 +00:00
9882fe9ab0 Clean up libtimecode, make license of bbt_time.h LGPL.
git-svn-id: svn://localhost/ardour2/branches/3.0@8272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 19:07:50 +00:00
4b861e6039 Rename libmusictime libtimecode (consistent with already used namespace "Timecode").
Move BBT_Time to libtimecode.


git-svn-id: svn://localhost/ardour2/branches/3.0@8271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 18:13:37 +00:00
Carl Hetherington
341c409fa1 Updated ru_RU.po for gtk2_ardour from Alexandre Prokoudine (#3605)
git-svn-id: svn://localhost/ardour2/branches/3.0@8270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 15:12:03 +00:00
ccf6e2ae6a make global connection window inherit from ArdourDialog
git-svn-id: svn://localhost/ardour2/branches/3.0@8269 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 13:48:21 +00:00
Carl Hetherington
a571b28dd4 Fix some gettext plural forms. Should fix #3604.
git-svn-id: svn://localhost/ardour2/branches/3.0@8268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 13:05:35 +00:00
Carl Hetherington
bb92cf3b24 Fix warning better.
git-svn-id: svn://localhost/ardour2/branches/3.0@8267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 03:08:39 +00:00
Carl Hetherington
7961e34fc2 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@8266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 03:06:53 +00:00
Carl Hetherington
eb5870781a Add dialogue to ask user about ambiguous source files. Fixes #3603.
git-svn-id: svn://localhost/ardour2/branches/3.0@8265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 02:45:41 +00:00
Carl Hetherington
1238f09478 Use DEBUG_TRACE for all of the MIDI clock ticker code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 01:05:51 +00:00
6f8cafdaff Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@8263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 21:03:39 +00:00
f6055f2c6f Eliminate circular dependency kludge for control_protocol/smpte.o.
git-svn-id: svn://localhost/ardour2/branches/3.0@8262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 20:46:07 +00:00
23d8df6edf More complete (but still incomplete) LV2 persist implementation.
git-svn-id: svn://localhost/ardour2/branches/3.0@8261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 19:27:59 +00:00
Carl Hetherington
3ccb32773b Oops, fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@8260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 16:05:28 +00:00
Carl Hetherington
e8c59e4155 Remove unnecessary assert from midi clock ticker code; MIDI::Port handles non-process thread sends using a ringbuffer. Clean up some types.
git-svn-id: svn://localhost/ardour2/branches/3.0@8259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 16:03:24 +00:00
Carl Hetherington
8d5b4fbf4a Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@8258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13 16:03:13 +00:00
Carl Hetherington
a97d522a4f Fix display of MIDI automation on regions with non-zero _start. Should fix #3504.
git-svn-id: svn://localhost/ardour2/branches/3.0@8257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 22:25:27 +00:00
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
6fff4dcdda Small cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@8255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 20:14:19 +00:00
Carl Hetherington
b0c23c0646 Make adjust region gain work in 1dB steps with no upper limit. Should fix or help with #2843.
git-svn-id: svn://localhost/ardour2/branches/3.0@8254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 01:03:56 +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
Carl Hetherington
27bdf4700a Fix a couple of i18n warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@8251 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-12 00:41:36 +00:00
Carl Hetherington
0600486857 Notice edits made to spinbuttons via numbers on the keyboard. Fixes #3413.
git-svn-id: svn://localhost/ardour2/branches/3.0@8250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 23:59:34 +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
8387e1bff8 Fix thinko in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 22:28:20 +00:00
Carl Hetherington
485b70b610 Remove menu bar clock in fullscreen mode until someone comes up with an agreeable look for it.
git-svn-id: svn://localhost/ardour2/branches/3.0@8237 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 17:38:58 +00:00
Carl Hetherington
fb0097ca79 Fix crash on mouseover.
git-svn-id: svn://localhost/ardour2/branches/3.0@8236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 17:27:13 +00:00
4a9a5dea26 prevent the monitor inputs from showing up in the port matrix, fo'real
git-svn-id: svn://localhost/ardour2/branches/3.0@8235 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 16:31:14 +00:00
0108d1d900 don't show monitor bus inputs in matrix(es); relabel tabs in port matrix; change label for monitoring preference to be clearer
git-svn-id: svn://localhost/ardour2/branches/3.0@8234 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10 15:43:01 +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
74385f9642 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@8230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:35:25 +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