13
0
Commit Graph

3300 Commits

Author SHA1 Message Date
db78ba19ff attempt to prevent dropping into record if rolling in reverse (should fix #4254)
git-svn-id: svn://localhost/ardour2/branches/3.0@9971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 21:17:55 +00:00
Carl Hetherington
e76840c089 Prevent crash on de-selecting all tracks from a stem export
(#4167).


git-svn-id: svn://localhost/ardour2/branches/3.0@9967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 13:04:28 +00:00
Carl Hetherington
7aac277ce1 Add a few asserts.
git-svn-id: svn://localhost/ardour2/branches/3.0@9966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 12:53:24 +00:00
Carl Hetherington
2b2d49fffa Set new region length correctly after stretch (part of
#3908).


git-svn-id: svn://localhost/ardour2/branches/3.0@9963 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-08 15:36:16 +00:00
Carl Hetherington
5905b58bc0 Use correct default value for MIDI faders, and put the
unity mark in the correct position for those faders. 
Fixes #4234.


git-svn-id: svn://localhost/ardour2/branches/3.0@9955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 18:41:16 +00:00
Carl Hetherington
8ce5bacfe4 Add GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 12:28:52 +00:00
Carl Hetherington
90e3eced2e Polarity control value needs to be able to go negative as it
is a gain.  Fixes #4212.


git-svn-id: svn://localhost/ardour2/branches/3.0@9950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 12:16:42 +00:00
Carl Hetherington
c18009e11f Use route group solo property for route listen as well
as solo (#4228).


git-svn-id: svn://localhost/ardour2/branches/3.0@9949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 11:52:45 +00:00
Carl Hetherington
9e6eb3e0c7 Apply x42's patch from #4207; rename MIDI control
preferences to just MIDI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 11:15:01 +00:00
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