Carl Hetherington
42dccb2a65
Freeze the audio playlist after completing the set_state on the parent playlist (rather than before) so that the playlist state gets flushed before we start creating crossfades. Otherwise in some cases expected RegionViews won't exist for crossfades when they are created.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 22:01:26 +00:00
Carl Hetherington
32dd2a43d8
Don't use the edit position to gather regions to cut, otherwise it can be confusing.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 20:56:24 +00:00
Carl Hetherington
df71243d6c
Alter snap modifier so that it turns the grid on when it's off as well as vice-versa.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 20:26:34 +00:00
Carl Hetherington
29fea7b61d
Don't use pointer_frame_offset for playhead cursor drags as it seems more intuitive without.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 19:23:01 +00:00
Carl Hetherington
96a85da8dd
Tertiary-modifier click locates the viewbox in the summary.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 19:02:26 +00:00
Carl Hetherington
32acb9377f
Minor cosmetic tweaks.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 18:49:27 +00:00
Carl Hetherington
31b68a20f6
Fix uninitialised variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 18:22:41 +00:00
Carl Hetherington
cee3c427d7
Reorder initialisation to prevent access to an uninitialised variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 18:20:10 +00:00
Carl Hetherington
f9e30c4c08
Missing format = 0 from last commit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 17:22:16 +00:00
Carl Hetherington
66451b1836
Remove commented out call to reset_dpi hoping to find the true cause of the bug.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 17:11:50 +00:00
Carl Hetherington
d2b39735ca
Set format = 0 on calling sf_open as required by libsndfile.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 17:08:08 +00:00
Carl Hetherington
27feb19897
Small cleanup.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 02:10:46 +00:00
Carl Hetherington
09eee1bb7c
Remove unused method in RouteTimeAxisView. Fix bug with switching to layered region mode.
...
Optimise Playlist::relayer().
git-svn-id: svn://localhost/ardour2/branches/3.0@5572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 01:01:18 +00:00
Carl Hetherington
c91da28eb2
Some improvements to performance with crossfades: don't recompute a whole track's crossfade curves
...
when one region is moved and the display is overlaid; use a std::map for an AudioStreamView's crossfades
list so that add_crossfade can find whether a CrossfadeView already exists without looking through
the whole list.
git-svn-id: svn://localhost/ardour2/branches/3.0@5571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-23 19:42:01 +00:00
Carl Hetherington
dffd30baf9
Fix uninitialised member variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5570 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-23 18:31:34 +00:00
Carl Hetherington
789949faf9
Fix crash on drag selection.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 19:54:32 +00:00
Carl Hetherington
d25742b28f
Fix remainder of bug 1605 so that when snapping to region starts / ends, the crossover between the current snap and the next one happens halfway between the two.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5568 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 19:45:40 +00:00
Carl Hetherington
970a3a7292
Introduce an accurate version of coefficient_to_dB and use it in non speed-critical
...
code. Fixes mantis 2833.
git-svn-id: svn://localhost/ardour2/branches/3.0@5565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 10:21:39 +00:00
Carl Hetherington
4f3bddf7ef
Apply patch from mantis 2761 from tinram to add padding and make a string translatable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 21:38:59 +00:00
Carl Hetherington
58dad0c280
Fix mantis 2804: improve title of recent sessions dialogue and make it translatable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5560 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 21:33:48 +00:00
Carl Hetherington
cb160c81fa
Apply patch from mantis 2766 to fix apply sensitivity when editing the meter marker at 0. Cleanup visual appearance of tempo and meter dialogues.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 21:21:07 +00:00
Carl Hetherington
c00243d103
Remove an unused action and some duplicated code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 20:34:12 +00:00
Carl Hetherington
76594112af
Don't locate summary view box on a click outside it, to be consistent with fader behaviour. Allow Ctrl-drag (zoom) from anywhere in the summary.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 19:12:24 +00:00
9153ef3297
minor fixes/changes based on comparison with existing bindings
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 16:30:01 +00:00
0a590aef8f
fix accelmap generation in fmt-bindings
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 16:25:30 +00:00
Carl Hetherington
2bd6aac3ed
Fix crash on startup if an LV2 plugin has a bad .ttl file.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-19 18:31:47 +00:00
b116282bbb
make shift-click for extend-selection sort-of work for MIDI
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-18 02:37:57 +00:00
3162ffb4f4
move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode buttons when in internal/MIDI mode; arrow key control of note velocity, value and position - hey look ma, MIDI editing!
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-17 15:58:47 +00:00
Carl Hetherington
902a087f15
Fix uninitialised variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-17 01:41:35 +00:00
e3ac55f7b1
fix up display of notes when creating/editing a MIDI region with the pencil; fix position of paste for regions that are not at frame zero
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-14 03:00:41 +00:00
e57c4d4c43
more MIDI paste improvements, plus move region-mute binding to PRIMARY-m and use "m" for toggle-internal-editing
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 19:48:10 +00:00
84fb6ae9ba
actually paste MIDI at the right spot
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 12:19:28 +00:00
02e3f7c769
kinda-sorta paste MIDI at the right spot
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 12:10:34 +00:00
0178875021
MIDI cut&paste round two (not done yet); a small region trim fix from lincoln s.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 01:57:03 +00:00
Carl Hetherington
677bb36f5c
Fix route group collect option.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 21:13:33 +00:00
17e8e74dad
add new file
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 20:13:13 +00:00
0bf3eb7759
first part of MIDI cut/copy/paste ; fix for input/output_streams of an IOProcessor being reported in a misleading way; in/out translation fix from 2.X, sort of
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 19:29:29 +00:00
7f9aea14e9
region trimming and height patch from lincoln. great work
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 03:07:48 +00:00
986fb959e2
fix (no)use of offset in AudioEngine::get_sync_offset()
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-09 12:06:03 +00:00
bcc929a5b6
waf build works on OS X ; new bindings file and processing system in place for mnemonic-us
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-08 22:36:32 +00:00
Carl Hetherington
9c6449567d
Coding style. Fix a valgrind warning. Stop a close on a handle of -1.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 22:01:28 +00:00
Carl Hetherington
7ccb2f8689
Fix sizing of port matrix column labels.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 21:50:08 +00:00
Carl Hetherington
9649a94053
Don't add auditioner and click to MIDI connection port matrices.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 21:44:20 +00:00
Carl Hetherington
8e73825b03
Split up Editor::button_press_handler and fix assert failures on various double-clicks.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 18:21:09 +00:00
Carl Hetherington
74339e70c9
Assert to check for memory overwrite.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 18:20:59 +00:00
Carl Hetherington
9bada9c946
Fix uninitialised variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 18:19:40 +00:00
Carl Hetherington
ce3ca76f96
Modified patch from drmoore to fix mantis 2808 (drag rectangle left behind after loop or punch range drag)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 18:18:57 +00:00
Carl Hetherington
022513756a
Patch from drmoore to fix mantis 2807 (crash on creating new return)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-03 16:13:50 +00:00
Carl Hetherington
a7f4f66095
Another similar fix for use of an uninitialized variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 02:17:14 +00:00
Carl Hetherington
a8fbf1f0c6
Fix update of brackets around processor name on activate / deactivate.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:34:49 +00:00