Carl Hetherington
ce8d79d621
Restore MMC registers.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 14:04:19 +00:00
Carl Hetherington
9469d6b26a
Clean up MMC transmission a bit, and make sure that it is all done from one thread.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 13:47:53 +00:00
Carl Hetherington
b47524ded2
const correctness.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 13:47:11 +00:00
Carl Hetherington
d7733cf2d7
More detail when tracing MMC.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 13:46:18 +00:00
7eb91510aa
pay attention to MIDI channel selector when creating notes with GUI ( fixes #3233 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 13:20:09 +00:00
Carl Hetherington
a3cb425ca9
Fix race causing MIDI tracer to stop working when master record state is changed.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 23:07:05 +00:00
Carl Hetherington
21e10145d8
realtime_stop does not need to send MMC as realtime_stop will have already done it.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 21:34:50 +00:00
Carl Hetherington
d680d2323c
Fix crash due to uninitialised use of _note_lines.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 21:03:26 +00:00
Carl Hetherington
c6247be4d6
Hide verbose canvas cursor on midi region view destruction. Should fix #3250 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 21:03:12 +00:00
Carl Hetherington
55695bfe2d
Fix hang on session going away when there is nothing to process. Fixes #3284 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 20:49:15 +00:00
Carl Hetherington
bf7023bc7f
Disable midi model updates during trim drags. Speeds the drags up at the cost of not updating notes in real-time. Fixes #3162 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 18:43:40 +00:00
Carl Hetherington
89b686f937
Tweak transmission of MMC on locate. Should fix #3121 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 17:25:40 +00:00
Carl Hetherington
cd1aaff197
Hide region list toggle columns for whole file regions.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 17:25:32 +00:00
678b0302e1
split when in range mode or object/range mode with a range defined will now split at teh range boundaries, rather than just the edit point
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 15:01:14 +00:00
0be7d224f4
clear region history in Playlist::notify_region_added() so that it has no apparent history before being added to the Playlist.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7311 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 14:59:38 +00:00
74745856d6
fix basic logic problem in PropertyTemplate<T>::set so that current/old values are properly managed
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 14:56:40 +00:00
Carl Hetherington
ed19559ece
Generate undo record for crossfade edits, and provide signalling to update the view when such things are undone. Partially fixes #3257 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 02:40:09 +00:00
Carl Hetherington
c8e07653da
Fix a couple of crashes on MIDI import.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 01:12:21 +00:00
Carl Hetherington
bc32e5b5eb
Make the L,G,M and O buttons in the region list respond to clicks. Fixes #3252 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 00:41:01 +00:00
Carl Hetherington
c5bbca0cf5
Add an EnumProperty for enumerated properties and hence make Region::position_lock_style a stateful property.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 00:34:09 +00:00
37978aa214
lots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI ports named "Midi-Through"
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-26 13:45:59 +00:00
Carl Hetherington
ecb0cd5d11
Make MIDI region `automation' respect the automation mode so that it is
...
only played back if the automation mode is set to "Play". Munge AutoState
for AutomationRegionViews so that they reflect their AutomationTimeAxisView's
setting. Fixes #3135 .
git-svn-id: svn://localhost/ardour2/branches/3.0@7304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-25 20:47:09 +00:00
ad81fd40d2
step back JACK dependency to 0.118
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 22:44:48 +00:00
db55b149eb
change the way MIDI note colors are defined (2 3-point color ranges, one for selected, one for unselected); change default scroll action on selected midi notes to "fine" adjustment rather than "coarse" (now alt-scroll)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 21:22:00 +00:00
806a22fefe
change note colors on the fly, to permit user-definition of colors more easily; remove some debug output
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 19:46:28 +00:00
de24d4f8b1
add and use Source::empty() since it can be done more efficiently than length(pos) == 0
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 18:04:38 +00:00
e72d710734
use condvar and exception-proof mutex for chain swaps in graph
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 18:04:02 +00:00
59a3dd2383
clear activation_sets component of Graph, thus restoring full Route deletion
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 16:20:32 +00:00
ea2f5f170b
fix math bug with numthreads computation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 14:17:09 +00:00
0f5bdd666f
use JACK thread creation functions to create process-graph threads; provide GUI control over number of threads-relative-to-number-of-CPUS
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 14:13:45 +00:00
fe229a830e
GUI-created MIDI regions now steal the pending MIDISource from the track's diskstream, to keep numbering sane; don't create any new MIDI regions if capture collected no data (fixes a crash in my previous commit, and is just logically much more sensible
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 01:37:24 +00:00
Carl Hetherington
d8e93be2ee
Tweak some colours as per Chris' suggestions in #3254 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 00:00:31 +00:00
f188ffffc1
fix some non-debug compile warnings
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 21:43:40 +00:00
8db2e27faa
use new Source::used() rather than SessionPlaylists::source_use_count() to determine if a file can be removed
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 21:43:16 +00:00
f4401c5928
midway snapshot of work done on managing Region & Source lifetimes correctly. may fix missing MIDI file bug ; save empty playlists because they may be referred to by the history file ; undo commands auto-delete when objects they refer to die (currently not commands built from XML deserialization); Sources now know how many regions are using them for something, meaning that we know if we can delete the files holding any data for the source
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 20:14:07 +00:00
Carl Hetherington
cac03dbeb6
Update locations GUI more efficiently by avoiding a rebuild when a location is removed. Fixes #3263 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 01:51:55 +00:00
Carl Hetherington
055f839b1f
Trim includes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 01:50:37 +00:00
Carl Hetherington
f2e48e8e1b
Allow range selections to be started in non-region areas. Fixes #3255 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-22 01:28:49 +00:00
Carl Hetherington
108f537b69
Stop attempts to connect new MIDI tracks to bad ports when there is no MIDI IOs on the master buss.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 23:45:30 +00:00
Carl Hetherington
51270cf148
Coding style.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7286 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 23:45:15 +00:00
6e138fa068
fix some warnings that come from a non-debug build, some of which are actually errors in handling return values from boost::signal emissions
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 15:26:03 +00:00
4f16de5cfe
GUI control of insert merge policy for overlapping MIDI notes; quite a bit of whitespace reformatting for some reason
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 14:46:17 +00:00
Carl Hetherington
5138cb5d05
Remove unused variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 01:02:47 +00:00
Carl Hetherington
40ffadf219
Return delta time even for metadata events. Should fix #3244 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-20 22:49:35 +00:00
Carl Hetherington
c4e6b368ae
When creating notes with the pencil tool, make them 1 frame shorter than the grid subdivision to prevent overlaps. Fixes #3237 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-20 21:24:48 +00:00
Carl Hetherington
6c19e1c7ea
Invalidate old sources before forgetting about them. I think this prevents the possibility of an old source keeping a lock on the MidiModel via its iterator. May fix #3249 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7280 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-20 01:33:16 +00:00
aef9d4eaeb
use the new left/right trim cursor for the editor summary
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18 02:15:43 +00:00
Carl Hetherington
5e12dc768d
Back to real-time zoom.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18 02:07:13 +00:00
Carl Hetherington
9c4f5ac000
Remove unnecessary height changed notification for streamviews, now that the summary doesn't need to know.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18 02:06:58 +00:00
Carl Hetherington
a8e019c9e0
Fix restore of track visibility from state files ( #3245 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18 00:54:18 +00:00