Commit Graph

2832 Commits

Author SHA1 Message Date
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
David Robillard
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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