13
0
Commit Graph

3591 Commits

Author SHA1 Message Date
Carl Hetherington
eb43f2d0eb Fix up build of tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@9943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-31 13:58:26 +00:00
921358a5f3 remove remnant of MIDI I/O debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 16:24:41 +00:00
df78f284ee fix up colons in track names before they are used for JACK port names; catch most (not all) attempted renames and ask the user about colons
git-svn-id: svn://localhost/ardour2/branches/3.0@9928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 02:07:59 +00:00
fd384bf48e remove some MIDI I/O debugging (hopefully all)
git-svn-id: svn://localhost/ardour2/branches/3.0@9927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 01:16:37 +00:00
372137f373 remove more unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:11:03 +00:00
b52422105f remove unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:10:49 +00:00
9e5a0ad167 change FastMeter drawing implementation to use Cairo instead of GDK; some subtle changes to meter drawing will be visible and are subject to a revisit
git-svn-id: svn://localhost/ardour2/branches/3.0@9919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:05:54 +00:00
ff234c0544 "forward" port IO::ensure_* changes from 2.X for correctness and consistency
git-svn-id: svn://localhost/ardour2/branches/3.0@9918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 16:11:00 +00:00
78b6c9632c in exclusive solo mode, allow full-group solo
git-svn-id: svn://localhost/ardour2/branches/3.0@9917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 16:10:11 +00:00
862972eaaa use std::vector::assign() in BufferSet::attach_buffers() rather than an explicit loop; minor formatting touchups
git-svn-id: svn://localhost/ardour2/branches/3.0@9912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 15:44:13 +00:00
1d7190b186 move basic parameter initialization out of AudioEngine into global ARDOUR::init()
git-svn-id: svn://localhost/ardour2/branches/3.0@9911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 15:42:33 +00:00
c99738d88e try to fix data loss at end of a capture pass for MIDI - add a new virtual method to MidiSource that specifies what should be done with stuck notes, remove duplicate(i hope) _last_flush_frame from SMFSource that mirrored, more or less, MidiSource::_last_write_end; use new virtual method when stopping after capture.
git-svn-id: svn://localhost/ardour2/branches/3.0@9910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-20 18:13:03 +00:00
85e8f7762e even more MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 21:58:06 +00:00
7230ed4d54 yet more MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 19:25:22 +00:00
82e4573227 tentative "fix" for output for tracks with audio and MIDI output (no known test case at present)
git-svn-id: svn://localhost/ardour2/branches/3.0@9903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 13:45:39 +00:00
57cb31ea6e check for _panshell->panner() before ::run-ing the panshell, so that MIDI tracks or other tracks with no panner just get the 1:1 copy-to-outputs code invoked
git-svn-id: svn://localhost/ardour2/branches/3.0@9902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 13:08:11 +00:00
828939a7f5 more MIDI I/O debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 11:57:09 +00:00
Carl Hetherington
79898b7aa7 Make _read_at take notice of its srcs parameter; fixes part of #3908.
git-svn-id: svn://localhost/ardour2/branches/3.0@9900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 00:22:08 +00:00
Carl Hetherington
711d344188 Remove unused parameters to AudioRegion::read_at
git-svn-id: svn://localhost/ardour2/branches/3.0@9899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 00:22:01 +00:00
47aa8ed09b improved fix for #4158 etc, hopefully
git-svn-id: svn://localhost/ardour2/branches/3.0@9896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 20:03:49 +00:00
6370400953 more more debugging for MIDI i/o
git-svn-id: svn://localhost/ardour2/branches/3.0@9895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 18:12:54 +00:00
34c05a7903 when renaming, remove old session and add new session name from/to recent sessions list
git-svn-id: svn://localhost/ardour2/branches/3.0@9894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 17:08:50 +00:00
5d8cf17121 don't try (and fail) to rename the history file if it doesn't exist
git-svn-id: svn://localhost/ardour2/branches/3.0@9892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 15:04:00 +00:00
Carl Hetherington
26666fce42 Remove an assert() that I can't see the value of, and which
trips when loading empty MIDI files (#4190).


git-svn-id: svn://localhost/ardour2/branches/3.0@9883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-16 20:55:14 +00:00
Carl Hetherington
e2b8d42140 Remove unused _own_latency member from Latent.
git-svn-id: svn://localhost/ardour2/branches/3.0@9881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-15 00:50:43 +00:00
Carl Hetherington
9d57b87999 Save / restore processor _user_latency (another part of #4186).
git-svn-id: svn://localhost/ardour2/branches/3.0@9880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-15 00:03:18 +00:00
Carl Hetherington
75d315e452 Save and restore Latent's _user_latency for IOs (fixes #4186).
git-svn-id: svn://localhost/ardour2/branches/3.0@9879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 23:29:42 +00:00
Carl Hetherington
48de21b120 Move panner bypass state up to the PannerShell so that it is preserved even when new Panners are dropped in (refixes #4185).
git-svn-id: svn://localhost/ardour2/branches/3.0@9877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 22:17:43 +00:00
a5efa9a500 initial pass at session-renaming functionality
git-svn-id: svn://localhost/ardour2/branches/3.0@9876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 17:41:06 +00:00
Carl Hetherington
2d83ffc45a Fix restoration of PannerShell state from session XML (#4185).
git-svn-id: svn://localhost/ardour2/branches/3.0@9875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 14:56:40 +00:00
Carl Hetherington
5625f41c86 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@9874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 14:56:34 +00:00
78eafdced6 more midi I/O debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 12:59:51 +00:00
160f1493fa more midi io debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 20:14:53 +00:00
f5212ea181 more midi io debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 20:08:28 +00:00
f6a50adf42 MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 15:49:53 +00:00
Carl Hetherington
16db8b5972 Add a couple of missing attach_buffers() calls after _ports has been changed. I think this fixes #3856.
git-svn-id: svn://localhost/ardour2/branches/3.0@9858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 01:00:53 +00:00
89a284fd78 add incoming MIDI stream debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 22:47:32 +00:00
Carl Hetherington
7be510a26a Set up default and upper/lower limit correctly on LV2 ports
whose values are expressed as a fraction of the sampling
rate.  Should fix #3767.


git-svn-id: svn://localhost/ardour2/branches/3.0@9848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 20:30:02 +00:00
Carl Hetherington
11b0ac77f5 Print a message to the console if we abort because no panner
is found.


git-svn-id: svn://localhost/ardour2/branches/3.0@9847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 13:33:35 +00:00
Carl Hetherington
f908d45fa0 Correct (I think) previous fix.
git-svn-id: svn://localhost/ardour2/branches/3.0@9846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 12:48:41 +00:00
Carl Hetherington
69d22d87b4 Set mixbufs count in the case of a panner being used, as
happens in read_from when no panner is being used. 
 Should fix #4158.


git-svn-id: svn://localhost/ardour2/branches/3.0@9845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 12:22:43 +00:00
676542dcce explanatory comment about use of g_strncasecmp()
git-svn-id: svn://localhost/ardour2/branches/3.0@9840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 19:20:26 +00:00
1d17d43751 accept .MID as a MIDI file extension, not just .mid
git-svn-id: svn://localhost/ardour2/branches/3.0@9839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 16:10:45 +00:00
Carl Hetherington
4ef2541e6e Use an assert to check that a panner is obtained, which
git-svn-id: svn://localhost/ardour2/branches/3.0@9836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 12:57:06 +00:00
Carl Hetherington
31d0eca307 Set up initial gains with init_gain() before (rather than after) potentially restoring gain with Send::set_state (should fix #3546).
git-svn-id: svn://localhost/ardour2/branches/3.0@9834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10 23:55:48 +00:00
Carl Hetherington
a7057d6965 Make an empty-string non-affirmative so that AxisView::set_marked_for_display works properly when the visible gui property does not exist.
git-svn-id: svn://localhost/ardour2/branches/3.0@9833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10 21:50:00 +00:00
9a2fe5aad3 refine definition of "generator" plugins, and only send silence through the route is there is a REAL generator plugin (i.e. no inputs at all). Fixes #4144 (hopefully without breaking anything else)
git-svn-id: svn://localhost/ardour2/branches/3.0@9814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 21:58:34 +00:00
0f7e423422 fix incorrect use of MidiBuffer::reserve() and MidiBuffer::write() if channel mask discards a MIDI event (fixes #4138)
git-svn-id: svn://localhost/ardour2/branches/3.0@9811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 17:50:02 +00:00
Carl Hetherington
67ad5fe2b7 Make sure the buffer count is updated properly when run() happens on a muted delivery. Fixes #4153.
git-svn-id: svn://localhost/ardour2/branches/3.0@9810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 17:06:29 +00:00
Carl Hetherington
d5bb729755 Uncomment fix for #4110.
git-svn-id: svn://localhost/ardour2/branches/3.0@9793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-04 17:35:28 +00:00
Carl Hetherington
61648057ce Send full MIDI time code (if enabled) after changing sync source; should fix #4147.
git-svn-id: svn://localhost/ardour2/branches/3.0@9792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-03 23:52:17 +00:00
a3583c89b2 ctrl-alt-click now toggles input active status of other MIDI tracks using (any of) the same input(s) as the clicked track
git-svn-id: svn://localhost/ardour2/branches/3.0@9789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-03 15:01:21 +00:00
Carl Hetherington
cd17e05e3a Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02 17:16:46 +00:00
67e21fd82e add MIDI input control column to editor route list; tweak SVG for MIDI not DIN
git-svn-id: svn://localhost/ardour2/branches/3.0@9779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 15:48:24 +00:00
84be4eafc5 basic infrastructure for enabling/disabling MIDI input to a given track
git-svn-id: svn://localhost/ardour2/branches/3.0@9772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-28 16:55:41 +00:00
Carl Hetherington
4388556923 Remove some unused PostTransport enums and renumber others.
git-svn-id: svn://localhost/ardour2/branches/3.0@9767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-26 12:56:40 +00:00
Carl Hetherington
08910b2783 Always use numeric prefixes for default-named tracks / busses (#4123).
git-svn-id: svn://localhost/ardour2/branches/3.0@9762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 23:37:02 +00:00
7181a20dc6 don't double-load NestedSource nodes, which are listed both forthe parent/root region and all children; even better, don't list them twice anyway - just for the whole file parent/root region
git-svn-id: svn://localhost/ardour2/branches/3.0@9761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 22:46:31 +00:00
ae3c7234e7 remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:06:31 +00:00
9687e8a667 second half of "bomb out if playlist construction from XML fails"
git-svn-id: svn://localhost/ardour2/branches/3.0@9759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:06:10 +00:00
2801e91fe2 drobilla-spacification of playlist.cc, along with correctly bombing out if ::set_state() fails, part 1
git-svn-id: svn://localhost/ardour2/branches/3.0@9758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:00:30 +00:00
8aa0b2966e ignore unpaired noteoff's when writing part of a MidiModel to a new source. in reality, there should be no unpaired noteoffs, but this is still an important fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 19:59:46 +00:00
260c1c1a13 remove some potential HCI confusion for Gtkmm2ext::UI::popup_error() by using a standard MessageDialog (as noticed by thorwil)
git-svn-id: svn://localhost/ardour2/branches/3.0@9756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 14:38:32 +00:00
be614d0538 change default overlapping note strategy to "relax" (i.e. do nothing); fix crash when looping with MIDI data; add back note-off resolution at loop point (if it was actually there) so that notes are turned off (but don't forget Ye Olde Sustain Pedal/Controller) when looping; minor other non-functional tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-21 21:29:22 +00:00
500aaa0dee an entire freakin' day working on 1 working function, VolumeController::adjust() ... probably not done, but better ... gain control that occurs via this function occurs in discrete, fixed dB steps
git-svn-id: svn://localhost/ardour2/branches/3.0@9752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-21 01:36:20 +00:00
12c844dd8d remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:04:55 +00:00
d5e09076ca much ado about nothing when it comes to gain control
git-svn-id: svn://localhost/ardour2/branches/3.0@9748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:02:55 +00:00
182b23e744 cleanup confused mess related to jack_port_type_get_buffer_size()
git-svn-id: svn://localhost/ardour2/branches/3.0@9747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 21:47:21 +00:00
01e006e46e some changes to try to make the monitor section gain controls work as intended, and along the way start to rationalize MotionFeedback/VolumeController classes
git-svn-id: svn://localhost/ardour2/branches/3.0@9746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-17 21:47:20 +00:00
1961051416 monitor send gets access to the (shared) pannable of the track/bus, thus ensuring that the monitor feed is panned. required a few fixes along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 19:00:08 +00:00
a5674e9271 fix initialization of gain for Listen internal sends (to monitor bus); remove pannable object from monitor bus after (re)creation from XML
git-svn-id: svn://localhost/ardour2/branches/3.0@9730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 14:49:06 +00:00
22a4f44939 a real, working fix for panning regression in alpha6
git-svn-id: svn://localhost/ardour2/branches/3.0@9725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 21:53:57 +00:00
37e9a53180 remove Pannable/PanShell from the Monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@9720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 15:52:31 +00:00
961e25d90e reload alpha1-6 Pannable XML state so that panning of existing sessions should work again
git-svn-id: svn://localhost/ardour2/branches/3.0@9719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 15:50:05 +00:00
5afe60f0e3 fix restore of Pannable state from XML (regression in alpha6)
git-svn-id: svn://localhost/ardour2/branches/3.0@9717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:17:29 +00:00
5b3106ee31 build script fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:08:33 +00:00
786a61a275 update i18n build system and *.po files for translators
git-svn-id: svn://localhost/ardour2/branches/3.0@9714 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:05:55 +00:00
Sakari Bergen
1de3eac2de Fix #4094: show total export progress instead of per timespan progress
git-svn-id: svn://localhost/ardour2/branches/3.0@9710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 21:12:24 +00:00
3168d5e22e new es_ES translation from Pablo Fernández
git-svn-id: svn://localhost/ardour2/branches/3.0@9707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 17:17:01 +00:00
1060243302 major, substantive reworking of how we store GUI information (visibility, height) for automation data. old design stored (insufficient) identifying information plus actual data in a GUI-only XML node; new scheme adds GUI data via extra_xml node to each AutomationControl object. reworked public/private methods for showing/hiding TimeAxisView objects; changed labelling of automation tracks to just show the name of the controlled parameter - more info can be viewed in the tooltip for the track headers. NOTE: Session file format ALTERED. No data loss but track visibility may be different than previous ardour3 versions
git-svn-id: svn://localhost/ardour2/branches/3.0@9703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 15:35:34 +00:00
Sakari Bergen
7468fdb9ca Typedef all globally used export smart pointer types in one file.
Some of them need to be ordered in STL containers, and thus need
a special comparable wrapper for boost::shared_ptr, defined in
comparable_shared_ptr.h. This also alleviates the typedef hell
present earlier in some export classes :)

Making the timespan pointer comparable should fix bug #4093


git-svn-id: svn://localhost/ardour2/branches/3.0@9702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 14:14:24 +00:00
071cc3ef01 fix serious breakage with setup of plugin automatable controls/parameters, in which the relative ordering of things during ::set_state() was totally wrong. still see multiple instances of automation tracks for processors in GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@9698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-09 20:21:46 +00:00
1a2a58fdd6 don't call Processor::set_state() from PluginInsert::set_state() till the plugins are present in the container, so that describe_parameter() can work
git-svn-id: svn://localhost/ardour2/branches/3.0@9696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-09 13:55:52 +00:00
b6b24d353b more clock & time info box tweaking
git-svn-id: svn://localhost/ardour2/branches/3.0@9689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 17:27:26 +00:00
a56555e8b2 remove "Off" as a clock mode, make it a state instead; track editor mouse mode when displaying selection (not 100% coverage of different selections yet); add extra negative field for timecode clock to help with text alignment; add clock mode = timecode option to menus
git-svn-id: svn://localhost/ardour2/branches/3.0@9685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 23:07:08 +00:00
be1abb12ff more clock tweaking
git-svn-id: svn://localhost/ardour2/branches/3.0@9680 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 16:42:48 +00:00
0a53bb1d42 lots of clock tweaks, but still, STILL! not done, really
git-svn-id: svn://localhost/ardour2/branches/3.0@9678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 15:23:06 +00:00
e77b5261d2 next iteration of clock work. still far from complete, and probably waiting on a rethink of text rendering+layout. but it has the info block now, and it semi-works
git-svn-id: svn://localhost/ardour2/branches/3.0@9676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-03 22:18:47 +00:00
11bcfd8429 add extended info fields to clocks; clock tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 21:43:10 +00:00
811acc5e6e Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@9674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:58:02 +00:00
83f385d263 audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:50:37 +00:00
add91aa2d7 random header include removal
git-svn-id: svn://localhost/ardour2/branches/3.0@9672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:49:39 +00:00
a66860c339 API and implementation changes to CairoCell and friends before the audio clock commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:47:11 +00:00
3f68aa2638 Make button 1 the default for inserting notes via modifier shortcut with select tool
git-svn-id: svn://localhost/ardour2/branches/3.0@9667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 03:17:35 +00:00
98c7200f16 Fix broken whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 01:01:07 +00:00
f48c69e2b2 Missed one :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 20:36:16 +00:00
a473d630eb Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 16:50:12 +00:00
a46cea06e2 new CairoCell and related classes designed for drawing audio clocks more efficiently etc. etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@9651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 11:51:32 +00:00
fd33fa896f Quantize notes to session tempo time, not relative to start of region (fix issue #4069).
git-svn-id: svn://localhost/ardour2/branches/3.0@9640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:59:48 +00:00
a0d09e81d4 update .po files for translators
git-svn-id: svn://localhost/ardour2/branches/3.0@9639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:29:00 +00:00
a206c5c4a9 Fix wordo (fix ticket #4080)
git-svn-id: svn://localhost/ardour2/branches/3.0@9637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 00:19:29 +00:00
de9e216cb5 (1) push a locate all the way through the processing heirarchy so that MIDI output ports can resolve any notes currently playing (2) remove MidiStateTracker from MidiPort and use a fixed set of MIDI messages (sustain-off and all-notes-off, per channel) to do note resolution (3) move note resolution caused by a LoopEvent psuedo-event to within the main MidiPort::flush_output() loop, so that we resolve (turn off) Notes that come before the loop point, rather than send them out after the note resolution messages
git-svn-id: svn://localhost/ardour2/branches/3.0@9635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 21:37:58 +00:00
14a80c091d reverse the use of copy_dependents() when uncombining a region, so that the right xfade shows up
git-svn-id: svn://localhost/ardour2/branches/3.0@9633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:55:06 +00:00
d4d5b30aeb remove unused and useless "src" argument for a number of Region property modifying methods
git-svn-id: svn://localhost/ardour2/branches/3.0@9632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:54:44 +00:00
6eba90adb3 add dependents to a compound playlist before creating a source from it, so that the source's new peakfile shows the xfades
git-svn-id: svn://localhost/ardour2/branches/3.0@9631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:23:19 +00:00
c937a67f6e do not offer combine operation for MIDI (see comment in libs/ardour/midi_playlist_source.cc for an explanation)
git-svn-id: svn://localhost/ardour2/branches/3.0@9630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 11:57:12 +00:00
0a9f5423f5 detect buffer "overflow" when delivering immediate events and queue remainder for delivery next time (though without actually requeing - just leave ringbuffer ptrs/indexes where they are. required some deep but minor changes in how MidiRingBuffer::read() works, so that we can detect if we're going to be able to deliver an event before we actually read any of its data. Peek FTW!
git-svn-id: svn://localhost/ardour2/branches/3.0@9629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 17:35:21 +00:00
36ccf83049 clarify some confusion about how "raw" port buffer sizes are defined
git-svn-id: svn://localhost/ardour2/branches/3.0@9628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 17:33:41 +00:00
489d2ba1a7 don't always rebuild peakfiles for compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 14:38:25 +00:00
c3821a7816 totally untested initial code for MidiPlaylistSource, to provide for compound MIDI regions. putting it into SVN because my system might crash overnight :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 01:54:19 +00:00
8855b1643c more gcc 4.6/standards compliance
git-svn-id: svn://localhost/ardour2/branches/3.0@9625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 00:25:30 +00:00
df46ab2c02 attempt to be compliant with gcc 4.6 (assuming that its more compliant with standards), by defining a default constructor for an object that is in static/global scope
git-svn-id: svn://localhost/ardour2/branches/3.0@9624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 23:45:34 +00:00
788dfc6a51 clean up memory leaks with nested source read buffers
git-svn-id: svn://localhost/ardour2/branches/3.0@9621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 02:30:25 +00:00
43495d7f2b putative fix for crashes related to diskstream playback buffer refills with compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9620 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 00:59:53 +00:00
06da4278db abort when cnt is too high
git-svn-id: svn://localhost/ardour2/branches/3.0@9619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 23:51:32 +00:00
a699df37ad debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 23:44:13 +00:00
d6be900da0 more combine/uncombine fixes including making uncombine push the compound region gain level into the constituents and doing the right thing when we uncombine in a playlist other than the one in which the compound region was created
git-svn-id: svn://localhost/ardour2/branches/3.0@9601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 17:22:22 +00:00
92ede6153e remove bogus default-channel property from MidiTrack XML
git-svn-id: svn://localhost/ardour2/branches/3.0@9598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 15:03:32 +00:00
16c280e405 turn off relevant fade in/out before creating peakfiles for compound region sources
git-svn-id: svn://localhost/ardour2/branches/3.0@9596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 13:56:19 +00:00
f38db9a4e3 move session file storage of nested sources from playlist into region, and reload them within Session::XMLRegionFactory, just before we create the region that uses the nested source
git-svn-id: svn://localhost/ardour2/branches/3.0@9595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 12:24:04 +00:00
884e147a9c restore compound region fade, where possible, to constituent regions, after uncombine
git-svn-id: svn://localhost/ardour2/branches/3.0@9593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 22:44:30 +00:00
9925ab554e logic to copy audio region fade in/fade out into compound regions (one-way for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@9588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 18:51:00 +00:00
Carl Hetherington
04b54f8dd1 Fix name of libardour .mo file.
git-svn-id: svn://localhost/ardour2/branches/3.0@9587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 18:09:19 +00:00
Carl Hetherington
711db34a81 Remove MIDI track default channel and its menu, and choose the channel for new notes using MidiTimeAxisView::get_channel_for_add() (fixes #3998 and #3865).
git-svn-id: svn://localhost/ardour2/branches/3.0@9585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 15:19:47 +00:00
e984220eaa correct the logic used when building a compound region to include a whole-file (whole-source) region as a parent for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@9584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 12:19:24 +00:00
49785b8fbb updated swedish translation from peppo
git-svn-id: svn://localhost/ardour2/branches/3.0@9583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 11:34:59 +00:00
Carl Hetherington
b38b5fd59b Doxygen tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 10:15:54 +00:00
e5dc4e4ea2 change region selection after a combine op
git-svn-id: svn://localhost/ardour2/branches/3.0@9580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:40:32 +00:00
bf57411634 add back combine/uncombine debugging; fix uncombine op to get original region lengths right, i think
git-svn-id: svn://localhost/ardour2/branches/3.0@9579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:20:33 +00:00
Carl Hetherington
edfc4e8563 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@9577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:18:57 +00:00
Carl Hetherington
b6587ad160 Assorted doxygen fixes; no functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:12:45 +00:00
371be41d81 uncombine now pays attention to trims + moves done with the compound region, and applies them as necessary to the constituent regions before placing them back in the track
git-svn-id: svn://localhost/ardour2/branches/3.0@9573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 11:49:46 +00:00
Carl Hetherington
ed2a7c380d Fix bit rot with boost shared_ptr debugging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:29 +00:00
Carl Hetherington
32df620938 Fix a few missing drops of Route references.
git-svn-id: svn://localhost/ardour2/branches/3.0@9571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:14 +00:00
fab94b8495 rationalize and improve region naming conventions to cover compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 21:28:25 +00:00
9c733915a0 basic uncombining (no post-facto region trimming)
git-svn-id: svn://localhost/ardour2/branches/3.0@9566 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 16:11:00 +00:00
Carl Hetherington
a2d37a02b8 Fix problems with restoration of unused playlists (#4052).
git-svn-id: svn://localhost/ardour2/branches/3.0@9563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-21 18:44:44 +00:00
2e24dd45c3 Not quite :) Waf obj.defines has no -D (compiler portable...).
git-svn-id: svn://localhost/ardour2/branches/3.0@9562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-20 16:06:26 +00:00
35df1cfabf catchup tweak for the waf 1.6 changes
git-svn-id: svn://localhost/ardour2/branches/3.0@9561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-20 14:31:39 +00:00
8d0ba52547 Use ISC license for RDFF (same idea, MIT style, just prettier).
git-svn-id: svn://localhost/ardour2/branches/3.0@9560 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-19 21:57:34 +00:00
041c882143 Add 'controls' item to plugin insert context menu to always show Ardour generated controls for plugin, even if the plugin has a GUI. In particular, this gives you UI access to presets and the other handy stuff ardour sticks at the top, for inherently broken external UIs which don't allow Ardour to add such things.
Fix crash related to scale points when showing plugin UIs.

Fix packing of scrolled generic plugin UI so the controls expand (rather than leaving a ton of wasted empty space and using unnecessary scroll bars).


git-svn-id: svn://localhost/ardour2/branches/3.0@9551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:00:44 +00:00
Carl Hetherington
424b3479de No-op: indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 23:23:46 +00:00
ba51f635f7 revert that last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 21:44:10 +00:00
39d8aa0e94 put compounded-xfades at the right place, i think
git-svn-id: svn://localhost/ardour2/branches/3.0@9547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 21:43:29 +00:00
4fade1ea35 xfades in combined regions seem to work
git-svn-id: svn://localhost/ardour2/branches/3.0@9546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 18:23:01 +00:00
be830adccb not actually working attempt to copy relevant xfades into compound regions; fix compilation issues with an earlier commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 16:45:22 +00:00
Ben Loftis
aa6adacc75 fix thinko in playlist constructor for cut and copy
git-svn-id: svn://localhost/ardour2/branches/3.0@9541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 15:20:18 +00:00
Carl Hetherington
819faa3b0b Remove unnecessary duplicate take of Sequence's read_lock.
git-svn-id: svn://localhost/ardour2/branches/3.0@9537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 12:01:05 +00:00
Carl Hetherington
c86ccc7db2 Minor tidy-ups.
git-svn-id: svn://localhost/ardour2/branches/3.0@9536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 12:00:10 +00:00
Carl Hetherington
fb9b778fbc Remove unused mutex.
git-svn-id: svn://localhost/ardour2/branches/3.0@9535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 11:59:47 +00:00
Carl Hetherington
da6384925e Remove unnecessary virtual declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@9534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 11:54:45 +00:00
Carl Hetherington
eeadeac7e4 Fix undo when notes are changed and then removed by the overlap checker (#3995).
git-svn-id: svn://localhost/ardour2/branches/3.0@9531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 22:23:18 +00:00
c8a27ebdbf track combine ops per-playlist to avoid name collisions for compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 21:21:16 +00:00
99aa8c6338 rename join regions op as combine regions; save and restore nested playlists, sources, regions; add undo/redo for combine; fixup peakfile use/discovery
git-svn-id: svn://localhost/ardour2/branches/3.0@9528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 20:16:57 +00:00
Carl Hetherington
7390303728 Make MIDI channel selector button colours more distinct (#3772).
git-svn-id: svn://localhost/ardour2/branches/3.0@9524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:18:13 +00:00
29dd7bbac7 Update wscripts for portability and steps towards waf 1.6 migration.
Use obj.defines and obj.includes instead of c[xx]flags (more compiler portable).
Use lists instead of space delimited strings (more flexible and waf 1.6 compatible).
Fix crazy long lines.


git-svn-id: svn://localhost/ardour2/branches/3.0@9523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:02:38 +00:00
678bb05bd6 Don't check for SLV2 if Lilv is found
git-svn-id: svn://localhost/ardour2/branches/3.0@9522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 17:12:57 +00:00
4b5bd4ca46 refactor playlist sources to allow for MIDI and upcoming work on save/restore
git-svn-id: svn://localhost/ardour2/branches/3.0@9521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 15:49:26 +00:00
43798a7c25 sane naming scheme for combined regions; fix deadlock when nesting to more than one level
git-svn-id: svn://localhost/ardour2/branches/3.0@9519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 13:06:55 +00:00
0a9cef7720 very basic Join (regions) editing operation. not finished yet, no undoable, no sensible name for new region, etc. etc
git-svn-id: svn://localhost/ardour2/branches/3.0@9518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 02:17:58 +00:00
1959efd94d Support compilation with (old) SLV2, or (new) Lilv and (optionally) Suil.
Fix ticket #0004041.


git-svn-id: svn://localhost/ardour2/branches/3.0@9516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-15 23:10:13 +00:00
3a855fb69a Move SLV2-independent LV2 persist state implementation to lv2_state.h.
git-svn-id: svn://localhost/ardour2/branches/3.0@9515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:44:47 +00:00
4e49c56361 Completely localist use of SLV2 to lv2_plugin.cc and lv2_plugin_ui.cc.
git-svn-id: svn://localhost/ardour2/branches/3.0@9514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:05:26 +00:00
ac367e8904 Make LV2World local to lv2_plugin.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@9513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 19:55:46 +00:00
8e717d107f Remove LV2Plugin::slv2_port.
git-svn-id: svn://localhost/ardour2/branches/3.0@9512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:54:45 +00:00
2b7f092b85 Generic scale points API.
Hide scale points implementation inside specific Plugin subclass.
Don't needlessley/slowly get scale points twice for each port while building UI.
Remove dependence on specific plugin types from GenericPluginUI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:43:34 +00:00
c78528dcea Use LV2_SUPPORT define instead of HAVE_SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 17:59:16 +00:00
41b23ca647 initial volley of work for AudioPlaylistSource, the basic prototype for sources-that-are-nested
git-svn-id: svn://localhost/ardour2/branches/3.0@9507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 19:55:39 +00:00
Carl Hetherington
ac23288b5d Fix update of session range location on copy-dragging regions (#4038).
git-svn-id: svn://localhost/ardour2/branches/3.0@9504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 21:29:27 +00:00
56d392f41c remove unused fade_source member of AudioDiskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@9501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 14:59:11 +00:00
561ab24d0a new debug trace in ::start_transport(); add a new emission of TransportStateChange to keep GUI up to date when varispeeding
git-svn-id: svn://localhost/ardour2/branches/3.0@9500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:17:51 +00:00
f3857bf68c remove unused SHUTTLE_FRACT constant
git-svn-id: svn://localhost/ardour2/branches/3.0@9499 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:17:02 +00:00
e22f93407b make instruments/generators do the right thing when bypassed
git-svn-id: svn://localhost/ardour2/branches/3.0@9498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:16:16 +00:00
3ae786bb06 fix minor type error
git-svn-id: svn://localhost/ardour2/branches/3.0@9497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:01:46 +00:00
Carl Hetherington
48493b444b Fix previous patch using Ben's patch from A2 to fix #4035 properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 22:26:13 +00:00
Carl Hetherington
f31b485e90 Reset fades on regions copied from time ranges in other regions (#4035).
git-svn-id: svn://localhost/ardour2/branches/3.0@9494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 15:58:09 +00:00
Carl Hetherington
7633066406 Fix compiler warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@9493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 15:57:49 +00:00
Carl Hetherington
f2a84a944d Add missing GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 11:55:23 +00:00
Carl Hetherington
d7c836dc07 Ensure that empty drag-created MIDI regions get a file on disk so that there aren't missing file errors on reload (#4024).
git-svn-id: svn://localhost/ardour2/branches/3.0@9486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-08 23:45:33 +00:00
Carl Hetherington
d901dbccc9 Make a new write source when the diskstream name changes so that sources don't get a name which includes the old name.
git-svn-id: svn://localhost/ardour2/branches/3.0@9485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-08 23:45:26 +00:00
Carl Hetherington
143dddd9a7 Add a GUI to set the number of active extenders for the Mackie control surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 22:44:50 +00:00
Carl Hetherington
ae91577f2c Re-use locations when setting location list state, so that selected locations are preserved through an undo (#3929).
git-svn-id: svn://localhost/ardour2/branches/3.0@9480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 12:09:37 +00:00
Carl Hetherington
d947f27faf Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:03:35 +00:00
Carl Hetherington
acd59c3439 Fix restoration of connections to control surface ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@9475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:00:43 +00:00
Carl Hetherington
09c0014790 No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@9474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:00:30 +00:00
Carl Hetherington
bcb554a190 Fix problems with sessions being saved as foo.ardour.ardour when loaded using the session file name (#4026).
git-svn-id: svn://localhost/ardour2/branches/3.0@9471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 11:32:35 +00:00
Carl Hetherington
56b70dcc0b Do log/lin mapping for Mackie faders so that they behave like the on-screen ones.
git-svn-id: svn://localhost/ardour2/branches/3.0@9470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:41 +00:00
Carl Hetherington
91d512174e Use a timeout to reset faders' in_use flags when in BCF mode (ie with faders that don't support touch).
git-svn-id: svn://localhost/ardour2/branches/3.0@9469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:32 +00:00
Carl Hetherington
f01dc1bfd5 Fix crash on startup when using BCF mode for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:23 +00:00
Carl Hetherington
ba8a593c29 Add small GUI to select Mackie / BCF2000 emulation for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:11 +00:00
Carl Hetherington
cff8af89de Comment typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@9466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:21:20 +00:00
92e72260b1 without drobilla's new stuff, LV2Plugin::_ui_type points to global data so do not try to free it
git-svn-id: svn://localhost/ardour2/branches/3.0@9464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03 14:34:40 +00:00
Carl Hetherington
fe2651ae5f Remove playlists from the session lists when they DropReferences. Should fix #4023.
git-svn-id: svn://localhost/ardour2/branches/3.0@9460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 23:22:00 +00:00
Carl Hetherington
a4b1a1bb14 Factor out stop limit computation into its own method. Ignore stop-at-session-end if there is a punch range and punch-in is enabled (#4022).
git-svn-id: svn://localhost/ardour2/branches/3.0@9457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 22:21:59 +00:00
06e8b6452d Fix external UIs (e.g. Calf git).
git-svn-id: svn://localhost/ardour2/branches/3.0@9442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 15:36:51 +00:00
0060b9929f Update for new SLV2 API.
git-svn-id: svn://localhost/ardour2/branches/3.0@9438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 06:02:22 +00:00
3356957afa remove some left over debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-25 12:28:35 +00:00
20858349f0 reverse debugging stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@9423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:36:45 +00:00
613c11c5ac yet more temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:08:31 +00:00
5b1f0e7919 further temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:07:07 +00:00
01231deaa5 additional temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:04:55 +00:00
Carl Hetherington
977874ab93 Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@9416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:50:32 +00:00
Carl Hetherington
110311e186 Re-fix compile failure with --no-nls (#3111).
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:34:42 +00:00
Carl Hetherington
1d5cc25d94 Add some assertions.
git-svn-id: svn://localhost/ardour2/branches/3.0@9411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 00:02:58 +00:00
4769db412d Fix Python whitespace (follow PEP8 guidelines, reformatted by Python Reindent)
git-svn-id: svn://localhost/ardour2/branches/3.0@9409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 22:15:21 +00:00
c37722f7dc Use new Suil and SLV2 APIs for LV2 plugin UIs.
Add lv2_ui.h (required by lv2_external_ui.h).


git-svn-id: svn://localhost/ardour2/branches/3.0@9406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 08:08:37 +00:00
449d0cf486 fix thinko in setting up auto-connect for monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@9403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 20:33:44 +00:00
Carl Hetherington
42cd22ead4 Set session dirty on plugin parameter changes (rest of #3997).
git-svn-id: svn://localhost/ardour2/branches/3.0@9402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:53:59 +00:00
Carl Hetherington
43be246a6a Make changes to route processors set the session dirty (part of #3997).
git-svn-id: svn://localhost/ardour2/branches/3.0@9401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:53:53 +00:00
Carl Hetherington
80476ce3f3 Prevent note trackers for overlapping MIDI regions inserting events that occur before the requested time range, thereby stopping playback. Should fix #3973.
git-svn-id: svn://localhost/ardour2/branches/3.0@9399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 13:59:32 +00:00
Carl Hetherington
b25ef3ae69 Fix an assertion failure when stopping the transport with an active controllable touch gesture.
git-svn-id: svn://localhost/ardour2/branches/3.0@9389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:46 +00:00
Carl Hetherington
e157694c67 A few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@9387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:34 +00:00
Carl Hetherington
d22cd939a3 Remove unused NascentInfo::is_touch member.
git-svn-id: svn://localhost/ardour2/branches/3.0@9386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:25 +00:00
Carl Hetherington
ee697bef96 Add assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:17 +00:00
Carl Hetherington
51e368f3f0 Fix assertion failure when merging a set of nascent events which start at the same time as the last event in a ControlList.
git-svn-id: svn://localhost/ardour2/branches/3.0@9384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:10 +00:00
5ebdcdf12e remove debugging output from audioengine/port code
git-svn-id: svn://localhost/ardour2/branches/3.0@9383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 17:59:52 +00:00
7035a21057 crude but apparently working fix for issues with JACK port deletion at session shutdown
git-svn-id: svn://localhost/ardour2/branches/3.0@9382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:54:18 +00:00
ee728d763d allow invalidation-of-UI-request-by-object-deletion to work more often by setting the event loop record at connect time, not execution time
git-svn-id: svn://localhost/ardour2/branches/3.0@9379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:07:10 +00:00
Carl Hetherington
480986bb60 Save route group reorderings in the session file. Link changes in the mixer and editor group lists (part of #3918).
git-svn-id: svn://localhost/ardour2/branches/3.0@9377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 15:46:47 +00:00
Carl Hetherington
e55780afbd Reverse the scroll wheel behaviour of the scroomer so that it feels the same as scrolling the track view (#3953).
git-svn-id: svn://localhost/ardour2/branches/3.0@9375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:43:58 +00:00
Carl Hetherington
65a90ccffc Initialise aux send gain to -inf dB (#3990).
git-svn-id: svn://localhost/ardour2/branches/3.0@9368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-18 18:50:38 +00:00
Carl Hetherington
02f4247e65 Remove some unused stuff from SVN (#3985).
git-svn-id: svn://localhost/ardour2/branches/3.0@9364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-17 23:27:08 +00:00
Carl Hetherington
47018e771d Fix erroneous masking when loading bank changes (part of #3916).
git-svn-id: svn://localhost/ardour2/branches/3.0@9359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 15:10:25 +00:00
Carl Hetherington
cb643ab965 Remove some calls to process_updates() which I think prevent GTK coalescing redraw requests. Remove some debugging code. Suspend update of MIDI regions during scroomer drag to speed things up (#3954).
git-svn-id: svn://localhost/ardour2/branches/3.0@9357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 13:31:27 +00:00
Carl Hetherington
1cc5a1829b Fix 'make new plugins active' configure option (#3975).
git-svn-id: svn://localhost/ardour2/branches/3.0@9351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-15 00:28:29 +00:00
852232ad27 Tolerate LV2 plugins that call persist/file state functions early.
git-svn-id: svn://localhost/ardour2/branches/3.0@9343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-13 01:44:46 +00:00
Carl Hetherington
036174daf1 Move check for a new session directory being writable to after it has been created.
git-svn-id: svn://localhost/ardour2/branches/3.0@9342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11 18:49:51 +00:00
41d0052d19 remove all use of access(2) (this was done a bit stupidly, we could have used g_access)
git-svn-id: svn://localhost/ardour2/branches/3.0@9340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:38:42 +00:00
8177e85bf9 fix mismatching use of operator new() when allocating buffer to passed into libsmf - should be malloc'ed
git-svn-id: svn://localhost/ardour2/branches/3.0@9339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:36:54 +00:00
93a24066de add PBD::sys::path::exists_and_writable() method to help replace access(2)
git-svn-id: svn://localhost/ardour2/branches/3.0@9338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:27:22 +00:00
aca716c0d6 remove another instance of access(2)
git-svn-id: svn://localhost/ardour2/branches/3.0@9337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:01:06 +00:00
a9a05441ae part two of: correctly reset capture alignment at session load
git-svn-id: svn://localhost/ardour2/branches/3.0@9336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:44 +00:00
5d9c6089a4 formatting cleanup
git-svn-id: svn://localhost/ardour2/branches/3.0@9335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:15 +00:00
64022eebcb correctly reset capture alignment at session load; for MIDI diskstreams, don't try to set capture alignment based on connectivity, always set _source_port ASAP and check _source_port when recording
git-svn-id: svn://localhost/ardour2/branches/3.0@9334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 14:59:22 +00:00
ce35e913d0 rename only the main outs of a route when its name changes, not inserts or sends, which leads to port name collisions since the name gets shared with the route itself
git-svn-id: svn://localhost/ardour2/branches/3.0@9333 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-08 16:48:34 +00:00
67d970529a Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 16:35:20 +00:00
0906b39918 Fix my name :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 15:00:16 +00:00
948d449843 Update LV2 files extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:59:37 +00:00
e0140b7c8f Implement latest LV2 files extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:58:44 +00:00
Carl Hetherington
e8c8befb87 Differentiate between pitch-shift (for audio) and transpose (for MIDI). Fixes #3940.
git-svn-id: svn://localhost/ardour2/branches/3.0@9299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 02:04:37 +00:00
Carl Hetherington
72f85f6cec Fix show checkbuttons for mixer groups on startup (#3919). Also synchronise visible status between editor and mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@9297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 00:36:36 +00:00
e54d71ec3d remove unused arguments to keep gcc quiet
git-svn-id: svn://localhost/ardour2/branches/3.0@9291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-05 01:03:44 +00:00
Carl Hetherington
fedc155b94 Fix read_raw_internal to use the appropriate audio source for the specified channel, and fix maximum_amplitude to check all channels of a region rather than just the first. Fixes #3933.
git-svn-id: svn://localhost/ardour2/branches/3.0@9290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:32:20 +00:00
71222c2e6e Fix broken whitespace (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:00:48 +00:00
62e730b57a Fix broken whitespace (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:46:48 +00:00
847e8f0610 add some scroll wheel support to the scroomer
git-svn-id: svn://localhost/ardour2/branches/3.0@9287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:26:03 +00:00
3a40d9ef6b minor tweaks to debug output and comments and header order
git-svn-id: svn://localhost/ardour2/branches/3.0@9285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:48:17 +00:00
d043ee396b when overwriting existing MIDI buffers in a MidiDiskstream be sure to update file_frame so that the *next* read is from the right location in the source; plus slighly improved debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:44:56 +00:00
ab376e10a7 reimplement MidiRingBuffer::dump()
git-svn-id: svn://localhost/ardour2/branches/3.0@9283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:43:40 +00:00
Carl Hetherington
806b94bec1 Add plugins (activating them) after doing any latency_compute_run, as otherwise the latency_compute_run deactivates the plugins and an assert trips in LadspaPlugin::run_in_place.
git-svn-id: svn://localhost/ardour2/branches/3.0@9282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 17:57:18 +00:00
040e016137 move some DEBUG::Graph traces to DEBUG::ProcessThreads ; remove Diskstream::rename_write_sources() which is no longer relevant (sources are not created on disk until needed); fixup calling Diskstream::non_realtime_input_change() when calling Diskstream::set_track() with a track that doesn't yet have any I/O (i.e. typical case)
git-svn-id: svn://localhost/ardour2/branches/3.0@9281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 16:41:20 +00:00
aca373cc82 always make log/error window visible when a non-info message is posted
git-svn-id: svn://localhost/ardour2/branches/3.0@9279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 14:22:27 +00:00
Carl Hetherington
02cfe41bff Update region peak amplitude when the region is trimmed (#3931).
git-svn-id: svn://localhost/ardour2/branches/3.0@9276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 12:21:26 +00:00
4ae4704112 Implement LV2 files extension.
This extension works with the persist extension to allow plugins to
save references to files in their state, but still allow the host
(e.g. Ardour) to control where files are located, making it possible
to do a deep export of a session with all files (e.g. loaded sampler
banks) included.

Tested working with a patched version of LinuxSampler...

TODO: Make symlinks in the plugin state directory rather than refer
to absolute file paths in state files (i.e. support session export,
either by ardour or any other tool, in particular the Jack session
manager...)


git-svn-id: svn://localhost/ardour2/branches/3.0@9272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-03 01:57:12 +00:00
05d8801812 fix import of multi-track SMF files with some tracks containing only meta-events; correctly push error to log window when MIDI import fails; remove debug msg
git-svn-id: svn://localhost/ardour2/branches/3.0@9271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 21:59:14 +00:00
9ca4623451 Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 19:52:21 +00:00
ee725fbe91 more attempted cleanup of AU preset declarations
git-svn-id: svn://localhost/ardour2/branches/3.0@9263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 14:12:09 +00:00
483a88d54e add the standard mechanism for search paths to the path used for export formats, so that we can find them in a bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:53:03 +00:00
1eb753b842 fix up (?) audio_unit.cc compilation, maybe
git-svn-id: svn://localhost/ardour2/branches/3.0@9260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:51:18 +00:00
Carl Hetherington
9cca13db62 Somewhat guesswork-laden fix for VAMP plugin assertion failures (#3897, #3878, #3893).
git-svn-id: svn://localhost/ardour2/branches/3.0@9247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 14:58:46 +00:00
Carl Hetherington
53d0aeea2b Save/restore PortInsert state fully (fixes #3901).
git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:59:15 +00:00
Carl Hetherington
a8b4169cce Remove some unused methods. Restore Solo boost, SiP cut and Dim Cut correctly on session reload (#3903).
git-svn-id: svn://localhost/ardour2/branches/3.0@9243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:37:14 +00:00
Carl Hetherington
832e6fb21a Whitespace, add GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:37:05 +00:00
Carl Hetherington
05cc0f0db7 Spurious character in GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:36:53 +00:00
e05405acb3 Update for latest LV2 Persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 21:07:36 +00:00
9bfc43bf66 Update for latest LV2 persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 08:56:22 +00:00
02d551d183 Add subject to key/value chunks in RDFF (i.e. store triples).
git-svn-id: svn://localhost/ardour2/branches/3.0@9224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 04:22:58 +00:00
b502bbc618 Flesh out RDFF documentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:37:48 +00:00
c9d0c2beae Switch RDFF to 2-clause BSD license.
Fix whitespace.


git-svn-id: svn://localhost/ardour2/branches/3.0@9222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:17:17 +00:00
09943e1d57 lv2_pfile => rdff.
git-svn-id: svn://localhost/ardour2/branches/3.0@9221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:10:57 +00:00
2c0cd4d430 Implement most recent LV2 persist extension.
Plugin state data is saved to a simple RIFF-based binary file.
Cross-endianness and non-POD data not yet implemented.


git-svn-id: svn://localhost/ardour2/branches/3.0@9220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-28 23:54:08 +00:00
0d95a4bfe4 remove sample-rate adjustment of plugin parameters - represents a misunderstanding of the LADSPA spec
git-svn-id: svn://localhost/ardour2/branches/3.0@9217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 21:28:40 +00:00
Carl Hetherington
1bff54a23c Slightly improve debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@9216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 21:06:29 +00:00
8ceb8ac79f more customary include order
git-svn-id: svn://localhost/ardour2/branches/3.0@9213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 19:13:37 +00:00
ea9979b4b9 remove Evoral::RingBuffer, which was (a) duplicating PBD::RingBufferNPT and (b) broken; replace it with PBD::RingBufferNPT
git-svn-id: svn://localhost/ardour2/branches/3.0@9212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 19:01:12 +00:00
9ea426955b rename OSC surface shared object so that its copied into the bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9206 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:26:17 +00:00
4ef712df25 permit envvar to define where to find MIDI binding maps (for bundle, or other reasons)
git-svn-id: svn://localhost/ardour2/branches/3.0@9203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:21:05 +00:00
7665af74a5 use uselib = [ 'JACK' ] when running tests from wscript on installed (pkg-config-detected) JACK capabilities
git-svn-id: svn://localhost/ardour2/branches/3.0@9197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 21:39:50 +00:00
40e2a6b16b set ARDOUR_SURFACES_PATH for a bundle, just like ARDOUR_PANNER_PATH
git-svn-id: svn://localhost/ardour2/branches/3.0@9191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:36:29 +00:00
a34c5adc40 more tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9190 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:24:06 +00:00
e43b01535c tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:09:48 +00:00
Carl Hetherington
7178f031ba Patch from Joskar to use scientific pitch notation for MIDI note names (#3867).
git-svn-id: svn://localhost/ardour2/branches/3.0@9188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 13:17:35 +00:00
80b654691a avoid untested use of 2 jack weak symbols
git-svn-id: svn://localhost/ardour2/branches/3.0@9175 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 16:58:16 +00:00
02ed0b0527 prevent limits on MAX_DBL from messing up combination of a framepos_t and a speed. probably needs a change to max_framepos as a better solution
git-svn-id: svn://localhost/ardour2/branches/3.0@9172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 15:08:33 +00:00
3a1349bf60 fixup auto-connection of new MIDI tracks and MIDI tracks with newly-added audio ports
git-svn-id: svn://localhost/ardour2/branches/3.0@9170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-20 22:09:46 +00:00
Carl Hetherington
a642a6e78b Add a temporary message about the need to use JACK 0.120.1.
git-svn-id: svn://localhost/ardour2/branches/3.0@9169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-19 00:36:42 +00:00
ca84e02b48 fix (?) capture alignment by making sure we use non-public latency information for playback latency, thus avoiding counting plugin latency twice
git-svn-id: svn://localhost/ardour2/branches/3.0@9168 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-18 20:21:51 +00:00
065b5ce8e7 actual working fix for threads/graph/route removal problem
git-svn-id: svn://localhost/ardour2/branches/3.0@9167 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-18 20:20:20 +00:00
bc9d994e74 allow more precision when editing plugin parameters by hand within a generic GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@9160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-17 17:22:52 +00:00
9850407bd9 Indent python files with spaces as per style guide.
git-svn-id: svn://localhost/ardour2/branches/3.0@9158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-16 16:32:56 +00:00
4fc42bca44 Replace connection cerr dumping with DEBUG_TRACE.
Logging here is unusably slow for adding a large number of tracks.


git-svn-id: svn://localhost/ardour2/branches/3.0@9156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-16 06:49:23 +00:00
c4c4034085 fix all manner of things relating to io connections, setting capture alignment, and so on. still needs more tests of actual precise placement of newly recorded material
git-svn-id: svn://localhost/ardour2/branches/3.0@9155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 19:32:21 +00:00
eee943304c Fix weird whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9154 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 01:22:03 +00:00
04bb452e27 Fix undefined operations (according to gcc 4.5.2).
git-svn-id: svn://localhost/ardour2/branches/3.0@9153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 01:19:43 +00:00
be3002c239 Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-15 01:16:24 +00:00
148c1f805b Fix broken indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14 21:53:10 +00:00
1e4c1388c3 more fun and games with latency compensation, and so forth ... not done yet
git-svn-id: svn://localhost/ardour2/branches/3.0@9149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14 20:33:47 +00:00
Carl Hetherington
5dd3e39f9e Fix assert failure when cycle_end is called by AudioEngine::set_session before the buffer is set up.
git-svn-id: svn://localhost/ardour2/branches/3.0@9143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14 18:41:35 +00:00
Carl Hetherington
e719c72f72 Make build look for gnomecanvas headers in our copy rather than the system one.
git-svn-id: svn://localhost/ardour2/branches/3.0@9138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-13 18:03:42 +00:00
f41d1569d8 change builtin export format/preset search path to correct value; remove line of debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-13 16:23:13 +00:00
Sakari Bergen
751cc84dd2 Properly create new presets, i.e. without duplicate id's on save-after-rename
git-svn-id: svn://localhost/ardour2/branches/3.0@9132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 21:28:58 +00:00
72928df58f make XMLNode::add_property() correctly re-entrant and reduce the size of the tmp buffer used to print a long integer
git-svn-id: svn://localhost/ardour2/branches/3.0@9131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:29:40 +00:00
c7dd29e167 properly use and publish private/public port latency values for JACK latency API
git-svn-id: svn://localhost/ardour2/branches/3.0@9130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:25:09 +00:00
88d5649511 removed long-ifdef'ed-out code
git-svn-id: svn://localhost/ardour2/branches/3.0@9129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:24:32 +00:00
58ce6c2bb7 a better fix fpr that wierd XMLProperty botch
git-svn-id: svn://localhost/ardour2/branches/3.0@9128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:23:56 +00:00
ac38847d86 use legalize_for_path() on filenames for export presets and formats
git-svn-id: svn://localhost/ardour2/branches/3.0@9127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:17:38 +00:00
7060fe697e use legalize_for_path() on filenames for export presets and formats
git-svn-id: svn://localhost/ardour2/branches/3.0@9126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:16:16 +00:00
1c3b45fed3 Fix duplicate singular/plural plugin category menus.
Yes, this is a massive kludge; see comment in commit.


git-svn-id: svn://localhost/ardour2/branches/3.0@9123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11 04:41:48 +00:00
2eb8f28312 make "Flush Wastebasket" operate on the correct directory rather than a non-existent one
git-svn-id: svn://localhost/ardour2/branches/3.0@9122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11 03:40:42 +00:00
d155f32039 sorta-kinda working latency compensation, latency reporting and capture alignment ... working except that we report the wrong information to JACK and i've noticed a couple of odd circumstances where turning on a latent plugin caused punch recording to fail
git-svn-id: svn://localhost/ardour2/branches/3.0@9121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11 02:55:52 +00:00
8849cb4287 add new concept for managing alignment style (AlignChoice); switch to using worst_playback_latency() just about everywhere we were using worst_output_latency() - the former includes plugin latency. answer appears to break earlier fixes to alignment, but is semantically right, so plan to investigate in another 8 hours or so
git-svn-id: svn://localhost/ardour2/branches/3.0@9112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-09 05:19:44 +00:00
34b9883537 lots of stuff related to capture alignment. things appear to be working now, but require the right alignment setting, which doesn't persist correctly at present
git-svn-id: svn://localhost/ardour2/branches/3.0@9107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-08 20:12:40 +00:00
Carl Hetherington
d2bcfc0747 Allow out-of-time-order writes to nascent event list, sorting before merge. Fixes #3537.
git-svn-id: svn://localhost/ardour2/branches/3.0@9103 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-08 12:34:25 +00:00
f07ea81751 manage Route::_have_internal_generator more accurately and never flush processors if there is on; correctly manage declicking so that only *TRACKS* without internal generators will declick at transport state transitions (fixes horrible click at transport stop in some configurations
git-svn-id: svn://localhost/ardour2/branches/3.0@9100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 22:13:53 +00:00
5a0a06f94f missed removals that should have been in the port offset patch
git-svn-id: svn://localhost/ardour2/branches/3.0@9099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 19:13:07 +00:00
665f3bea5a fix all manner of wrongness with port buffer offsets
git-svn-id: svn://localhost/ardour2/branches/3.0@9098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 19:06:42 +00:00
61cbf95f99 slightly more informative message when a VAMP plugin is not found (though it might be found later, anyway)
git-svn-id: svn://localhost/ardour2/branches/3.0@9097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 19:03:24 +00:00
Carl Hetherington
0d40ff55c8 Trim some includes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 17:17:03 +00:00
Carl Hetherington
105fec6858 Fix mute state on loading 2.X sessions (#3829).
git-svn-id: svn://localhost/ardour2/branches/3.0@9093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 14:06:03 +00:00
Carl Hetherington
a6ab93be24 Remove debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 13:09:53 +00:00
Carl Hetherington
965a974083 Make the route group submenu of the RouteTimeAxisView menu apply to the selection.
git-svn-id: svn://localhost/ardour2/branches/3.0@9087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 13:04:03 +00:00
aeff4ebb79 make sure that fade in and fade out curves reach their target (1.0 and 0.0) rather than 1 step away from their target
git-svn-id: svn://localhost/ardour2/branches/3.0@9086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07 13:01:59 +00:00
fc32ea7642 Uncrustify (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-06 20:23:15 +00:00
f000061dc7 Update for new SLV2 UI API.
git-svn-id: svn://localhost/ardour2/branches/3.0@9083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-06 03:55:45 +00:00
8e968996f5 revert recent-ish change so that regardless of the number of DSP threads, we always use the graph code (fixes a crash or lockup when removing a track and using only 1 DSP thread)
git-svn-id: svn://localhost/ardour2/branches/3.0@9082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:23:36 +00:00
5999bd56da fix monitoring so that MIDI tracks don't work the same way as audio (basically, they are always in "ardour does monitoring" mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:16:32 +00:00
faeeb29202 some LV2 debug tracing, part three
git-svn-id: svn://localhost/ardour2/branches/3.0@9080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:15:45 +00:00
67351e7d6b some LV2 debug tracing, part two
git-svn-id: svn://localhost/ardour2/branches/3.0@9079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:15:19 +00:00
c9e78d432f some LV2 debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@9078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05 23:14:39 +00:00
Carl Hetherington
b20a139129 Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@9075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 17:35:39 +00:00
Carl Hetherington
98248aeb68 Test tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 17:35:10 +00:00
Carl Hetherington
cbf530b6b5 Make speaker dialogue manage the session's Speakers. Make azimuth control work. Various tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 17:35:02 +00:00
3d1fc33abb extend Gtkmm2ext::Bindings system to handle mouse buttons as well as keyboard events
git-svn-id: svn://localhost/ardour2/branches/3.0@9062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 03:10:17 +00:00
Carl Hetherington
cc67b6bb1f Remove unused bits.
git-svn-id: svn://localhost/ardour2/branches/3.0@9060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 00:35:01 +00:00
3225b24854 move open-on-write call for MIDI into mark_streaming_midi_write_started() so that it works for the fork operation (or any other op that writes a new file)
git-svn-id: svn://localhost/ardour2/branches/3.0@9052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-03 03:54:28 +00:00
d8fd8c1f0a add QM onset detector VAMP plugin
git-svn-id: svn://localhost/ardour2/branches/3.0@9049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 23:39:49 +00:00
10b224790b increase butler event pool size dramatically
git-svn-id: svn://localhost/ardour2/branches/3.0@9047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 22:41:46 +00:00
2ad819c956 deeper debug stracktrace
git-svn-id: svn://localhost/ardour2/branches/3.0@9046 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 22:15:59 +00:00
c8e5e9d425 actual debug stracktrace added
git-svn-id: svn://localhost/ardour2/branches/3.0@9045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 22:02:03 +00:00
4071286bfa debug stracktrace added
git-svn-id: svn://localhost/ardour2/branches/3.0@9044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 21:28:25 +00:00
5e431d1d58 remove entire "stub" file concept; open new audio and MIDI files on demand (at first write); could be a few gotchas with some corner case scenarios, but apparently works OK
git-svn-id: svn://localhost/ardour2/branches/3.0@9038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 17:05:16 +00:00
Carl Hetherington
6b4622a3f0 Number CC automation tracks from 0 rather than 1 (#3814)
git-svn-id: svn://localhost/ardour2/branches/3.0@9032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 14:14:46 +00:00
5fb296cd6b lincoln's patch to use QM onset detection in RFerret, and other tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 12:43:44 +00:00
730cdb38bc upgrade VAMP SDK to latest (or newer) version
git-svn-id: svn://localhost/ardour2/branches/3.0@9030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 12:38:17 +00:00
3deba1921b add queen mary DSP library
git-svn-id: svn://localhost/ardour2/branches/3.0@9029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 12:37:39 +00:00
Carl Hetherington
fa41cfef58 Less subtle attempt to prevent crashes on removing sources during session deletion.
git-svn-id: svn://localhost/ardour2/branches/3.0@9028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 11:30:37 +00:00
7ca751726b (a) require JACK 0.120.1 to compile (but NOT to run) (b) fix up illegal retrieval of jack port buffer sizes before jack_activate()
git-svn-id: svn://localhost/ardour2/branches/3.0@9024 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02 01:39:52 +00:00
Carl Hetherington
d5e44d00a6 Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@9020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 23:28:02 +00:00
Carl Hetherington
7cf24873f8 Use PBD debugging code for keyboard debugging.
git-svn-id: svn://localhost/ardour2/branches/3.0@9019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 23:26:27 +00:00
b37b23af97 improve, cleanup, rationalize Session::cleanup_sources() and supporting infrastructure
git-svn-id: svn://localhost/ardour2/branches/3.0@9015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:54:54 +00:00
3553ba71fa comment fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:54:12 +00:00
b69b903433 fix width handling in vbap panner
git-svn-id: svn://localhost/ardour2/branches/3.0@9013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:53:54 +00:00
Carl Hetherington
252be42c04 Set session dirty when pans change (#3807).
git-svn-id: svn://localhost/ardour2/branches/3.0@9010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 21:40:01 +00:00
Carl Hetherington
0ace3f6e20 assert to show up #3812 more clearly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 20:44:12 +00:00
Carl Hetherington
b125ed2ef2 Fix previous.
git-svn-id: svn://localhost/ardour2/branches/3.0@9007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 18:09:40 +00:00
Carl Hetherington
cda09a0878 Make sure CapturingProcessors write a type to their state node so that they can be reloaded without a crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@9006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 18:08:57 +00:00
Carl Hetherington
35ea412280 Fix crash on session close.
git-svn-id: svn://localhost/ardour2/branches/3.0@9005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 17:39:57 +00:00
Carl Hetherington
28d3dd69de Update session range on trimming regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@9004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 16:23:31 +00:00
Carl Hetherington
3110429deb Cleanup stub files after setup_raid_path has prepared the paths for it to use.
git-svn-id: svn://localhost/ardour2/branches/3.0@9002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 15:05:55 +00:00
Carl Hetherington
0ee1cbb077 Make an aborted MIDI capture due to no data being received behave the same as an explicitly aborted capture.
git-svn-id: svn://localhost/ardour2/branches/3.0@8999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:57 +00:00
Carl Hetherington
4b5a59142b Make the session watch sources' DropReferences and drop accordingly. Remove a now-redundant call to remove_source in AudioDiskstream. Make the MidiDiskstream drop references on write sources that it wants rid of, so that the sources are actually destroyed.
git-svn-id: svn://localhost/ardour2/branches/3.0@8998 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:50 +00:00
Carl Hetherington
b741c14f3e Don't create the MidiDiskstream twice (in both _set_state and set_state_part_two)
git-svn-id: svn://localhost/ardour2/branches/3.0@8997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:42 +00:00
Carl Hetherington
e47dd1a96a Make sure that the MidiSource constructor doesn't set the wrong _flags.
git-svn-id: svn://localhost/ardour2/branches/3.0@8996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:34 +00:00
Carl Hetherington
9efd8e2e40 Add assert to make sure that we succeed in making a writable SMFSource.
git-svn-id: svn://localhost/ardour2/branches/3.0@8995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:23 +00:00
Carl Hetherington
afb4a5e438 Add virtual destructor.
git-svn-id: svn://localhost/ardour2/branches/3.0@8994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:04:15 +00:00
Carl Hetherington
78310ad792 Hopefully fix disappearing MIDI recorded regions on the first record of a new session.
git-svn-id: svn://localhost/ardour2/branches/3.0@8993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 02:03:52 +00:00
Carl Hetherington
f9b1e437a5 Restore fade option to strip silence.
git-svn-id: svn://localhost/ardour2/branches/3.0@8992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-28 18:57:43 +00:00
Carl Hetherington
2d3c640fee Fix up strip silence.
git-svn-id: svn://localhost/ardour2/branches/3.0@8991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-28 18:57:25 +00:00
3af81e63bf remove hard-coded use of '/' in pathscanner code as dir separator (use glib instead)
git-svn-id: svn://localhost/ardour2/branches/3.0@8990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-28 16:35:43 +00:00
Carl Hetherington
267cfbe731 No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@8988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-28 15:01:01 +00:00
Carl Hetherington
ee92df2a25 Copy plugin when extending the count, rather than using the same one. Should fix #3672.
git-svn-id: svn://localhost/ardour2/branches/3.0@8982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-28 02:33:07 +00:00
Carl Hetherington
3495fe2038 Fix thinko with numbering of multiple added tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-27 16:43:39 +00:00
Carl Hetherington
65420fd03f Fix addition of multiple tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-27 11:23:30 +00:00
Carl Hetherington
7590b859fd Allow naming of new tracks/busses in the add route dialogue (#3376).
git-svn-id: svn://localhost/ardour2/branches/3.0@8976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-27 01:59:04 +00:00
Carl Hetherington
d74d488cd4 Add comment about some inaccuracies in framepos_plus_bbt.
git-svn-id: svn://localhost/ardour2/branches/3.0@8972 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-26 22:52:24 +00:00
Carl Hetherington
9d540e6215 Fix ordering of set position / length when trimming the start of MIDI regions. Fixes most of the rest of #3789.
git-svn-id: svn://localhost/ardour2/branches/3.0@8967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-26 20:37:54 +00:00
Carl Hetherington
d8657a4ab8 Add panners and libtimecode to library path.
git-svn-id: svn://localhost/ardour2/branches/3.0@8966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-26 20:36:38 +00:00
Carl Hetherington
e69e2a87a3 Remove out-of-date and somewhat redundant comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@8965 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-26 20:35:41 +00:00
Carl Hetherington
7f1e89c64b Load the tempo map before regions so that MIDI region positions / lengths don't get corrupted (part of #3789).
git-svn-id: svn://localhost/ardour2/branches/3.0@8964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-26 11:36:27 +00:00
Carl Hetherington
eb8de01f42 Fix previous patch a bit better.
git-svn-id: svn://localhost/ardour2/branches/3.0@8959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-25 17:40:19 +00:00
Carl Hetherington
e5c6071235 Move playback_distance up to AudioDiskstream from Diskstream since it is only used there.
git-svn-id: svn://localhost/ardour2/branches/3.0@8958 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-25 17:00:45 +00:00
Carl Hetherington
6b8c8697f0 Fix midi playback stopping after moving a note (#3718).
git-svn-id: svn://localhost/ardour2/branches/3.0@8957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-25 17:00:09 +00:00
6dcb20af78 take reverse width into account when labelling signals in panner2d ; better way to draw the width arc
git-svn-id: svn://localhost/ardour2/branches/3.0@8956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-25 03:20:47 +00:00
5ad82b1e6d switch cartesian/spherical function names and make them use length. still a tweak needed here
git-svn-id: svn://localhost/ardour2/branches/3.0@8952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-24 18:55:33 +00:00
e1905c1c29 allow zero-input (i.e. tone generator) processors to be added
git-svn-id: svn://localhost/ardour2/branches/3.0@8950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-24 16:22:42 +00:00
0193803126 prettification of vbap/2d panner GUI. lots of details still to fix. also signal placement is now more correct although width is still not handled correctly
git-svn-id: svn://localhost/ardour2/branches/3.0@8948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-24 04:28:48 +00:00
7bfe5d6f4b new implementation of cartesian -> elevation, avoiding baroque code inherited from VBAP distribution
git-svn-id: svn://localhost/ardour2/branches/3.0@8947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-24 04:27:48 +00:00
0e9bc1d7b6 Tidy (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@8946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-24 02:24:18 +00:00
2daa616e02 add scroll event handling to the vbap panner GUI; clamp vbap pos+width values (but not via clamp_*())
git-svn-id: svn://localhost/ardour2/branches/3.0@8932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 21:55:25 +00:00
Carl Hetherington
7b8a76de25 Oops. Fix previous.
git-svn-id: svn://localhost/ardour2/branches/3.0@8931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 21:17:39 +00:00
Carl Hetherington
7ad096c86f Use commented out (correct) Mute/SoloControllable set_value() code; requires adding enable_shared_from_this to Route.
git-svn-id: svn://localhost/ardour2/branches/3.0@8930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 21:15:42 +00:00
Carl Hetherington
0146b3ab88 Fix all-tracks-soloed on session reload in PFL/AFL (#3791).
git-svn-id: svn://localhost/ardour2/branches/3.0@8929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 21:15:07 +00:00
333817557d make metering do the right thing if panner is bypassed
git-svn-id: svn://localhost/ardour2/branches/3.0@8927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 20:49:21 +00:00
2bee25b447 do not use "width" in VBAP panner when working with a single input channel
git-svn-id: svn://localhost/ardour2/branches/3.0@8925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 18:57:26 +00:00
75abb09f32 remove semantic-free Panner::Changed signal; make mackie code pay attention to actual pan controls; make GUI watch PannerShell::Changed for news that the currently chosen panner has changed or changed configuration
git-svn-id: svn://localhost/ardour2/branches/3.0@8924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 18:44:22 +00:00
14277ff831 Add AFLFrom... enums as counterpart to PFLFrom ; add Output metering as a new fixed meter point; clean up logic in Route::setup_invisible_processors() to correctly place meters and monitor sends in various modes
git-svn-id: svn://localhost/ardour2/branches/3.0@8923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 17:04:06 +00:00
3bed0850ba fix bug when interpolating VBAP gains, and remove debug output from that code
git-svn-id: svn://localhost/ardour2/branches/3.0@8922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 02:38:29 +00:00
Torben Hohn
7333044870 reset _execution_tokens to 0 in Graph::drop_threads()
this was causing false thread wakeups.

git-svn-id: svn://localhost/ardour2/branches/3.0@8921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 02:06:46 +00:00
5369f0b121 c&p debug
git-svn-id: svn://localhost/ardour2/branches/3.0@8919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-21 03:58:23 +00:00
f204206ff9 c&p debug
git-svn-id: svn://localhost/ardour2/branches/3.0@8916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-21 03:22:06 +00:00
Carl Hetherington
279c9d8b4c Fix plugin parameter controllers again (#3767).
git-svn-id: svn://localhost/ardour2/branches/3.0@8912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 17:57:45 +00:00
Carl Hetherington
2304a51b85 Use an action's tooltip in the key editor if its label is empty; add some tooltips so that Solo / Monitor actions are not blank in the key editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@8909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 17:29:52 +00:00
Carl Hetherington
d81625a9b6 Fix erroneous use of NDEBUG and hidden typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@8906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 11:26:29 +00:00
Carl Hetherington
8fcf7e6a07 Remove out-of-date comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@8905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 01:00:44 +00:00
Carl Hetherington
8f0750cc7e Make InternalReturns collect their sends' data on the return's ::run(), rather than sends merging data with the InternalReturn on their ::run(). This makes internal send/return thread-safe so that N routes can send to 1 whilst they are being run in parallel process threads.
git-svn-id: svn://localhost/ardour2/branches/3.0@8904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 00:55:52 +00:00
Carl Hetherington
13232d03f3 Modify route _processor list set up so that the logic for placing `invisible' processors (e.g. internal returns etc.) is in one place. Add option to get pre-fade listen from before or after pre-fade processors (#3781).
git-svn-id: svn://localhost/ardour2/branches/3.0@8903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 00:55:32 +00:00
c77d116703 first pass at full output & gain coefficient interpolation for VBAP panning
git-svn-id: svn://localhost/ardour2/branches/3.0@8902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-19 17:42:38 +00:00
b25f334207 prevent VBAP from silencing an output buffer that it actually used
git-svn-id: svn://localhost/ardour2/branches/3.0@8901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-18 14:57:34 +00:00
4145bfc33c somewhat working VBAP panning (no interpolation, and some outputs don't get output)
git-svn-id: svn://localhost/ardour2/branches/3.0@8898 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 23:41:45 +00:00
Carl Hetherington
e9e0251af6 Cope with stereo click files by mixing them down to mono before playback. Kind-of fixes #1893.
git-svn-id: svn://localhost/ardour2/branches/3.0@8894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 20:25:17 +00:00
Carl Hetherington
ff102f4cac Trim some duplicate code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 20:25:09 +00:00
e9e1800d86 GUI for VBAP panner actually does something (not the right thing, though)
git-svn-id: svn://localhost/ardour2/branches/3.0@8892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 20:15:26 +00:00
1b8e8303b2 draw speaker positions in 2d panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8891 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 19:47:53 +00:00
96cc6c3410 draw pucks (signal positions) on vbap panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 18:54:13 +00:00
da144ab5ed more progress on speakers/vbap etc. etc (still a work in progress)
git-svn-id: svn://localhost/ardour2/branches/3.0@8887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 16:43:55 +00:00
Carl Hetherington
7ae7416cc5 Minor cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@8879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 14:05:21 +00:00
fee3709438 preparations for a working speaker editing dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@8878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17 04:45:49 +00:00
ccc8facdc7 remove some undefined function decls and an unused function definition
git-svn-id: svn://localhost/ardour2/branches/3.0@8871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-16 13:17:46 +00:00
10d7c08fd9 yet more latency compilation fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@8870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-16 03:49:33 +00:00
cdcaf9bfb8 more latency compilation fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@8869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-16 03:30:12 +00:00
bf806a87c3 fixes for latency computation and compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-16 03:25:23 +00:00
1c3f709bf7 part two of new JACK latency API support - should fix broken compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 19:55:14 +00:00
01c253b61b part one of several parts: implement support for new (and correct) JACK latency API
git-svn-id: svn://localhost/ardour2/branches/3.0@8863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 18:47:10 +00:00
Doug McLain
8d44c2b82a Update rc files to use unique rc variable names, update wscript to use the names, and re-enable theme switching
git-svn-id: svn://localhost/ardour2/branches/3.0@8861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 18:02:50 +00:00
Carl Hetherington
ea11968f95 Clean up and hopefully fix handling of logarithmic plugin parameters (fixes #3769).
git-svn-id: svn://localhost/ardour2/branches/3.0@8850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:42:48 +00:00
Carl Hetherington
4aaa507472 No-op: whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:09:03 +00:00
Carl Hetherington
70126fb9d6 Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@8848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:08:15 +00:00
7a5b6a5031 patches from lincoln to speed up the regionlist and provide region removal (causes dangling shared ptrs to regions, fix to come
git-svn-id: svn://localhost/ardour2/branches/3.0@8845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 21:49:43 +00:00
7ac5d03cb8 3.0 version of previous 2.X change to always prevent deletion of existing sources
git-svn-id: svn://localhost/ardour2/branches/3.0@8842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 16:04:53 +00:00
Doug McLain
b307462f4f Disable theme changing untill we figure out whats broken
git-svn-id: svn://localhost/ardour2/branches/3.0@8840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 04:44:52 +00:00
Doug McLain
d4dd6fbe63 Make light theme functional, add waf processing, and small change to UI::load_rcfile() that fixes a hang when switching between two rc files that are identical in style defs
git-svn-id: svn://localhost/ardour2/branches/3.0@8839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14 01:46:57 +00:00
Carl Hetherington
d36e6b95c0 GCC 4.6 fixes from oget (#3771).
git-svn-id: svn://localhost/ardour2/branches/3.0@8835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-13 18:47:13 +00:00
dce6d0e6a3 actually delete the contents of the history list, rather than just empty the list. could break things at session closing.
git-svn-id: svn://localhost/ardour2/branches/3.0@8833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-12 20:57:44 +00:00
Carl Hetherington
825cb4ce18 Label logarithmic plugin controls correctly. Should fix #3767.
git-svn-id: svn://localhost/ardour2/branches/3.0@8832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-12 14:10:15 +00:00
2aa4fc8599 keep track of the solo mute gain control for MIDI binding etc. etc
git-svn-id: svn://localhost/ardour2/branches/3.0@8829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 22:21:27 +00:00
1a49bb9556 use volume controller widget for monitor section, drop some now-unused code
git-svn-id: svn://localhost/ardour2/branches/3.0@8828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 18:04:09 +00:00
2484291254 provide solo mute gain Config parameter as a controllable and use it in the monitor section GUI to allow MIDI binding
git-svn-id: svn://localhost/ardour2/branches/3.0@8825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 16:14:54 +00:00
c1be28e7b0 new class to wrap a pair of set/get methods as a Controllable
git-svn-id: svn://localhost/ardour2/branches/3.0@8824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 16:14:24 +00:00
7cf4419d62 #ifdef-ize all/most uses of the boost debug hooks API
git-svn-id: svn://localhost/ardour2/branches/3.0@8823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 18:33:43 +00:00
01471c8879 break circular reference between panners and pannables; more destruction debug tracing; a little more boost debug stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@8822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 18:13:15 +00:00
7fc5212eaf get boost debug code working again (global constructors, proper location for the define)
git-svn-id: svn://localhost/ardour2/branches/3.0@8818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 13:41:41 +00:00
Carl Hetherington
5d64748a51 Minor cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@8817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-10 02:45:06 +00:00
d9770ba4cc set up default speakers in new sessions
git-svn-id: svn://localhost/ardour2/branches/3.0@8809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 16:42:18 +00:00
2b3adfb18f make SiP mute gain work ... hopefully without breaking anything else
git-svn-id: svn://localhost/ardour2/branches/3.0@8808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 16:37:07 +00:00
e460208d22 export graph uses as many threads as there are cores, not the number of DSP threads
git-svn-id: svn://localhost/ardour2/branches/3.0@8796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 13:11:14 +00:00
08e01b85c8 make the export graph use the same number of threads as the DSP graph
git-svn-id: svn://localhost/ardour2/branches/3.0@8795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 13:01:23 +00:00
a2354db323 make a note about process lock and ARDOUR::how_many_dsp_threads()
git-svn-id: svn://localhost/ardour2/branches/3.0@8794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 02:51:50 +00:00
e61b5e23c4 split out ARDOUR::how_many_dsp_threads() ; fix test for whether to use use route_graph or just process routes in-thread
git-svn-id: svn://localhost/ardour2/branches/3.0@8793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 02:41:01 +00:00
5376bc757f fix num DSP threads computation (TODO: move into a utility function for Sakari's graph too)
git-svn-id: svn://localhost/ardour2/branches/3.0@8791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09 00:01:56 +00:00
4d210bf033 cairo-ify bar controller widget
git-svn-id: svn://localhost/ardour2/branches/3.0@8789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 23:43:18 +00:00