22fd9aec55
Factor out duplicated code in AudioDiskstream and MidiDiskstream.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 02:01:26 +00:00
55ba5c60b3
Implement out-of-place MidiBuffer::merge.
...
Completely untested.
git-svn-id: svn://localhost/ardour2/branches/3.0@5817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 01:50:15 +00:00
09990dd26d
Use a template to merge PortSet::iterator and PortSet::const_iterator duplicated code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 01:32:34 +00:00
ac8b165644
Const-correct BufferSet.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 01:24:31 +00:00
61c508f3c0
Only build unit tests if configure --test is passed.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 01:07:15 +00:00
Carl Hetherington
9155aca8c2
Tidy up the popup region editor and fix a few bugs with it; should close mantis 2601 and 2602.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 01:05:33 +00:00
089d75e8a8
Whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 00:50:43 +00:00
Carl Hetherington
918fb68a03
Fix memory leak.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 17:44:20 +00:00
539a692b0e
track notes at the region level in MidiPlaylist; resolve them (deliver note offs) if a note spans the end of the region
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 17:05:22 +00:00
a86b994c68
Logarithmic note seek for Sequence iterator.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 16:23:08 +00:00
70ad8b059a
Better test for iterator seek.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 16:14:55 +00:00
0a9b982620
Add unit test for Sequence iterator seeking.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 16:09:20 +00:00
5c1dccaca5
Use logarithmic search for MidiModel::find_note (used by DiffCommand).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 15:44:58 +00:00
a2c434d5cd
Fix insane formatting/whitespace in evoral test stuff. C'mon Hans ;)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5799 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 15:26:56 +00:00
cb8407d26f
Use set over vector for Sequence::Notes, for logarithmic search by time.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 15:23:42 +00:00
Carl Hetherington
7b94110c54
Add mono switch to mixer strips (mantis 1068)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 14:46:15 +00:00
16e993e514
Tidy.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 14:13:03 +00:00
8d4bf70c7e
Fix set_notes prototype to use typedef.
...
Fix spacey tabs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 14:08:20 +00:00
52607dd6ef
Fix warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 14:06:54 +00:00
69be1aa7bf
fix conceptually broken cubic interpolator that failed to handle the i=0 case, and don't rely on inlining for speed there
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-16 19:53:25 +00:00
4650d86312
more set_state() tweaks to aid with plugin state loading
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-16 16:44:16 +00:00
f76de9afb9
another set_state() related tweak for handling 2.X sessions
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 20:33:05 +00:00
1aca200a6a
more set_state() tweaks to get a 2.X session to load without aborting
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 19:36:48 +00:00
8713667ec1
rework Stateful::set_state() patch to avoid default version argument
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 18:56:11 +00:00
Carl Hetherington
79f91c7a20
Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.
...
LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE,
MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION.
So don't do that unless you make a backup of the session file first.
git-svn-id: svn://localhost/ardour2/branches/3.0@5786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 00:57:55 +00:00
39ad06f03b
Fix crash on MIDI import.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 23:45:06 +00:00
12598155a2
Don't raise errors on probe.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 23:44:48 +00:00
Carl Hetherington
c17da55eaa
Set the scratch bufs count up in passthru_silence, like it's done in passthru.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 22:29:33 +00:00
1c83f12c68
Fix warnings.
...
Hopefully that offset is an audio cycle offset, or someone's used the wrong type ;)
git-svn-id: svn://localhost/ardour2/branches/3.0@5777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 20:41:54 +00:00
07be98b341
(1) silence non-process FIFO message (2) move MIDI state tracking down to the MidiPort level (3) forward port the PRIVATE_JACK pointer "fix" from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 17:35:33 +00:00
bb9cc45cd2
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
...
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent...
git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 16:10:01 +00:00
8c4ce1e2ce
writable session patch, forward ported from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-13 20:43:28 +00:00
Carl Hetherington
c221b09560
Set up the ControlProtocolManager singleton in a slightly more robust way.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-12 17:46:17 +00:00
Carl Hetherington
ab1afe97fe
Make the port matrix notice if JACK ports are registered or unregistered.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-11 22:16:20 +00:00
Carl Hetherington
d0a238bb8e
Stop fades being reset on dragging an audio region to a different track.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-09 16:33:25 +00:00
b893b9a2be
three recent fixes from 2.0-ongoing (RT on by default, Mackie port name nonsense; processor box no-redisplay flag reset on set_route()
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-08 21:56:16 +00:00
Carl Hetherington
7f27d69d79
Make the mackie surface work again by initialising control surfaces after MIDI, so that the mcu port exists when the control surface is created. In addition to this patch it is necessary to tweak the wscript to build with ALSA_MIDI.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-07 01:55:32 +00:00
Carl Hetherington
c5e3ff16cb
Fix some compiler warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-06 23:58:29 +00:00
aefcce1c99
ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-06 22:07:10 +00:00
cd528dd5ea
add new files, derived from jack_delay by fons
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-05 18:02:21 +00:00
Carl Hetherington
57d05c4c31
Build clearlooks-newer for OSX
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-05 02:43:30 +00:00
e488378d42
string_is_affirmative() fix for 3.0
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 20:53:31 +00:00
Sakari Bergen
1928f286e9
Fix some trivial compiler warnings and add editor_imageframe.cc to gtk2_ardour/wscript
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 11:16:15 +00:00
3b54a75aa9
i/o button naming patch and imported file BWF timecode retention patch from nickm, both reworked for 3.0
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 20:40:51 +00:00
c279da57ff
LADSPA logarithmic handling patches from nickm and robsch
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:42:02 +00:00
57ac4cb223
LV2 epp log patch from nedko, via 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:29:59 +00:00
37779a45c9
LV2 external UI patch from nedko via 2.X and a couple of .rej's
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:28:02 +00:00
9867035f29
make MIDI thru work even when not rolling; add GUI control over MIDI thru (midi track context menu); add "default channel" concept for MIDI tracks so that piano roll header events can send stuff on the right channel; add GUI control over this channel setting
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5687 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-25 19:00:34 +00:00
756fc18394
implement MidiBuffer::merge_in_place() and use to support MIDI passthrough (control over this feature to be added. historical note: implemented and debugged during keith packard's excellent presentation on X at 25 during LPC2009
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-25 05:08:23 +00:00
ddf532a655
(full commit): fix MIDI playback by not writing into the playback buffer from MidiDiskStream::process() unless recording. This has a negative impact on "monitoring" MIDI, but that needs a different, somewhat more expansive solution anyway
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-21 15:43:11 +00:00
5cc5fb8de4
remove existing attempts at optimizing MIDI event reading, to try to fix bugs that may be connected with it
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 17:53:04 +00:00
fa4e858eb3
do not allow smf_source's reads to stomp on cached read_end position in parent class, which creates chaos by being out of sync with MidiSource::_model_iterator. this doesn't totally fix MIDI playback, but it helps
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 01:08:51 +00:00
Carl Hetherington
127b8a62b7
Normalise names of .cc and .h files.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-15 16:49:15 +00:00
Carl Hetherington
7b14a4230b
Fix some warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-15 15:23:59 +00:00
bf0a99f0c0
fix up marshall/unmarshall of note data for MidiModel::DiffCommand
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-14 16:01:32 +00:00
d98302ae2c
track note on/off and send appropriate note offs at transport stop
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 13:25:31 +00:00
2ff1cd99af
do not crash when loading old history files with MIDI edits; add all notes in region to canvas, but pay attention to visibility
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 21:19:01 +00:00
7b8adc78b6
more MIDI editing cleanups, mostly fixing subtleties. Will break loading the history file for older sessions with MIDI editing present - we warned you :)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 20:41:08 +00:00
Carl Hetherington
a444e0809d
Fix mantis 1814.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:09:08 +00:00
Carl Hetherington
22f1e2eb5f
Apply olaf's patch from mantis 2844 to fix that. Also fix non-appearing peakfiles on reversed regions.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:00:54 +00:00
Carl Hetherington
d64faaa4b1
Comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:00:01 +00:00
539c8361de
use diff commands for quantize, with infrastructure changes as required
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-07 16:53:53 +00:00
79dc191d6b
add anonymous union to DiffCommand to allow uint8t_t and time-based arguments; use DiffCommand for note trimming
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-07 13:38:06 +00:00
837bfc9af4
the start (only the start) of MIDI diff commands
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-06 18:11:55 +00:00
b7fe417f70
better way to "engage" step edit, and extend region correctly as needed
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 14:50:21 +00:00
b0b584c2a5
the basics of step editing, more details to follow
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 12:39:50 +00:00
Carl Hetherington
c8932292e1
Duh, the info stream is available here, so use it.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 01:08:39 +00:00
Carl Hetherington
d2c95b3ffb
Give a slightly friendlier error if no powermate device is found on startup.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 01:06:45 +00:00
Carl Hetherington
285b59a7b9
Make sure wscripts under libs/surfaces/* are configured. This fixes the OSC surface build, as it now links with liblo.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 00:38:34 +00:00
Carl Hetherington
c30dbaad0e
Don't raise an error when trying to auto-connect master to physical outputs if the connection already exists.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 00:12:57 +00:00
Carl Hetherington
e745eb6952
Modified version of Hans' patch for mantis 1985. Also remove unused port_connections array in AudioEngine.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:59:12 +00:00
Carl Hetherington
a5c55c2b5e
Add accessor for _exporting.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:13:23 +00:00
Carl Hetherington
1d5bfab42c
Don't send midi clock during export, for now, to avoid assertion failure when the transmission code tries to send MIDI outside the process callback.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:12:52 +00:00
Carl Hetherington
94c5a98e02
Fix crash on relayering.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29 18:07:08 +00:00
e7e071db1a
more MIDI editing tweaks ; flip mouse mode buttons around for MIDI so that "object" mode is the most likely mode for both region \& region editing ; frame handle events (from lincoln's region trimming patch) are now handled more explicitly
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-28 16:06:08 +00:00
3845af6ce9
lots of MIDI editing stuff. to be explained on the website when its done
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-27 03:09:30 +00:00
Carl Hetherington
c6be9b6888
Make stacked region coverage frames correctly respect regions being muted.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 02:19:36 +00:00
Carl Hetherington
b1e69d4b7b
On switching from explicit to implicit relayering, attempt to ensure that any layering set up
...
whilst in explicit mode will be preserved on subsequent implicit relayer operations.
git-svn-id: svn://localhost/ardour2/branches/3.0@5591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:34:06 +00:00
Carl Hetherington
28af0265b5
When a track is in "stacked" mode, allow regions to be moved to different layers by dragging
...
and dropping. In stacked mode, the relayering by "recently added / moved etc. is higher" setting
is ignored, and regions are put on the layer that they are dropped to, unless:
1. they are dropped so that they overlap another region on the same layer, in which case they
are put on the layer above that one.
2. they are dropped such that they could be put on a lower layer with no audible difference, in
which case they are put on the lower layer.
git-svn-id: svn://localhost/ardour2/branches/3.0@5590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:06:21 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Carl Hetherington
86a70f19fb
Set up IO bundles properly so that mixer strip IO button text is set correctly.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:33:50 +00:00
Carl Hetherington
e481963920
Fix import dialog so that file number progress gets updated correctly. Stop a new progress dialog being popped up for each file.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:32:26 +00:00
Carl Hetherington
50bb4e4d07
Improve import status messages slightly.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:30:24 +00:00
d775781c2f
avoid crashes caused by the process buffer set being larger than expected when passed into Route::process_output_buffers()
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-29 19:02:02 +00:00