13
0
Commit Graph

4248 Commits

Author SHA1 Message Date
5f1251edd7 MCP: try an alternate mode for gain pot mode
git-svn-id: svn://localhost/ardour2/branches/3.0@11954 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 23:02:12 +00:00
d84fedac0a MCP: button debugging, plus don't do much/aything on button release
git-svn-id: svn://localhost/ardour2/branches/3.0@11953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:59:26 +00:00
f04b55af3a MCP: display label change
git-svn-id: svn://localhost/ardour2/branches/3.0@11952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:17:58 +00:00
454359a321 MCP: reverse pot labelling re: flip mode
git-svn-id: svn://localhost/ardour2/branches/3.0@11951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:16:01 +00:00
43556cce5a MCP: fix confusion between normal and modified AutomationControl
git-svn-id: svn://localhost/ardour2/branches/3.0@11950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:09:30 +00:00
939801a8d8 MCP: start generalizing mapping between surface controls and ARDOUR::AutomationControl; simplify flip mode; more good stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@11949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 21:02:43 +00:00
b4235221ab remove old mcp config params, use new one
git-svn-id: svn://localhost/ardour2/branches/3.0@11948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 18:36:14 +00:00
5ee1aaf8d0 MCP: rename ports again, remove ports from MCP bundles, wakeup devices
git-svn-id: svn://localhost/ardour2/branches/3.0@11947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 18:16:16 +00:00
17b442971b MCP: more surface properties, correctly close IOSources when switching surfaces; write select button msgs one by one, change port name back to generic terms
git-svn-id: svn://localhost/ardour2/branches/3.0@11945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 17:52:57 +00:00
cd78f52bd8 missing initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@11944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 16:57:34 +00:00
0c4fe26b41 MCP: switch devices on the fly; name MIDI ports appropriately; fix active state; move sysex parsing into Surface
git-svn-id: svn://localhost/ardour2/branches/3.0@11942 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 16:41:07 +00:00
62620122a9 propagate GUI track selection to control protocols; make MCP update when GUI track selection changes
git-svn-id: svn://localhost/ardour2/branches/3.0@11941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 14:34:03 +00:00
abf8069d7f MCP: loading device info files basically operational
git-svn-id: svn://localhost/ardour2/branches/3.0@11939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 12:58:42 +00:00
3a4a45caae MCP: stubbed device info file loading
git-svn-id: svn://localhost/ardour2/branches/3.0@11938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 12:16:55 +00:00
c410d9e567 new files
git-svn-id: svn://localhost/ardour2/branches/3.0@11937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 11:46:35 +00:00
d6051c9953 move string_is_affirmative() into libpbd
git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 11:45:40 +00:00
f991e11b77 MCP: shift-select resets gain to unity; don't jump back to last transport start unless playing normally; footswitch 1 and 2 do play/stop
git-svn-id: svn://localhost/ardour2/branches/3.0@11934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 01:51:57 +00:00
6c9dc8f0b3 MCP: track control press/release events
git-svn-id: svn://localhost/ardour2/branches/3.0@11933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 01:14:43 +00:00
dd81c77161 MCP: probably fix crash from flip mode, and debug modifier state in pothandler
git-svn-id: svn://localhost/ardour2/branches/3.0@11932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 01:05:18 +00:00
5b34da2f96 MCP: check on whether we using pan width control; flip mode may change display
git-svn-id: svn://localhost/ardour2/branches/3.0@11931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:52:02 +00:00
ac284a4ea1 MCP: check on whether we using pan width control
git-svn-id: svn://localhost/ardour2/branches/3.0@11930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:50:18 +00:00
cf6d8b0e67 MCP: probably fix ardour->surface for faders
git-svn-id: svn://localhost/ardour2/branches/3.0@11929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:45:11 +00:00
9c281228b3 MCP: debug continues
git-svn-id: svn://localhost/ardour2/branches/3.0@11928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:28:16 +00:00
d5a5c66d46 MCP: debug continues
git-svn-id: svn://localhost/ardour2/branches/3.0@11927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:27:25 +00:00
1aa8baf6f9 MCP: maybe get vpot id's right; more debug tracing for gain notify
git-svn-id: svn://localhost/ardour2/branches/3.0@11926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 23:52:37 +00:00
Carl Hetherington
fdffab5831 Add thought-to-be-missing break (#4819).
git-svn-id: svn://localhost/ardour2/branches/3.0@11925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 23:46:39 +00:00
Carl Hetherington
23304e9edf Add sort-of missed returns to keep coverity happy (#4817).
git-svn-id: svn://localhost/ardour2/branches/3.0@11924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 23:24:05 +00:00
d00a797461 MCP: cursor left should scroll left
git-svn-id: svn://localhost/ardour2/branches/3.0@11923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:57:01 +00:00
d96edb4dcb MCP: hopefully fix ardour->controller for faders
git-svn-id: svn://localhost/ardour2/branches/3.0@11922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:50:21 +00:00
c8ea24d2f4 MCP: cursor left/right should scroll; maybe fix vpots
git-svn-id: svn://localhost/ardour2/branches/3.0@11921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:47:02 +00:00
bc52377c3e MCP: reverse operation of cursor up/down in zoom mode; more tracign for vpot
git-svn-id: svn://localhost/ardour2/branches/3.0@11920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:32:02 +00:00
96d4ba88d1 MCP: more tracing for rewind; change play LED illumination rule
git-svn-id: svn://localhost/ardour2/branches/3.0@11919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:48:51 +00:00
496a1e6965 MCP: repeated presses of play button will jump back to previous start (like GUI button)
git-svn-id: svn://localhost/ardour2/branches/3.0@11918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:25:14 +00:00
Carl Hetherington
4b63b88e35 Remove some unused parameters.
git-svn-id: svn://localhost/ardour2/branches/3.0@11917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:21:00 +00:00
5ae258e23b MCP: share add-marker code with BasicUI; don't allow route locking if the strip has no current route
git-svn-id: svn://localhost/ardour2/branches/3.0@11916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:18:01 +00:00
b2cd8b004c MCP: make BasicUI::rewind() behave symmetrically to BasicUI::ffwd(); basics of route locking and an API to put the master/monitor on a strip
git-svn-id: svn://localhost/ardour2/branches/3.0@11915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:10:10 +00:00
c0bdc7f31e MCP: fix missing message when setting a button(led) to its current state; more view mode stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@11914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 19:47:41 +00:00
1ce39cfb25 MCP: more view mode stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@11913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 19:27:13 +00:00
f40d6b6440 MCP: more view mode support, use 6 bits for pot information, more mute debug trace
git-svn-id: svn://localhost/ardour2/branches/3.0@11912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 19:16:49 +00:00
5097af6a13 MCP: start adding different view modes and support for Flip
git-svn-id: svn://localhost/ardour2/branches/3.0@11911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 18:51:01 +00:00
21f038c280 MCP: more mute button debug tracing; fix action for fn keys
git-svn-id: svn://localhost/ardour2/branches/3.0@11910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 17:34:04 +00:00
220095b8e0 MCP: use goto-visual-state-N as default function key bindings
git-svn-id: svn://localhost/ardour2/branches/3.0@11909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 17:18:32 +00:00
b3db38a34f MCP: provide basic mechanism for configuring function keys
git-svn-id: svn://localhost/ardour2/branches/3.0@11908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 17:13:20 +00:00
337b420266 MCP: rename raw_id() to id(); add missign modifier_state() function
git-svn-id: svn://localhost/ardour2/branches/3.0@11907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 16:31:23 +00:00
Carl Hetherington
8cc2f19926 Remove unused parameter to Port::flush_buffers().
git-svn-id: svn://localhost/ardour2/branches/3.0@11906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 16:27:05 +00:00
83c765b405 MCP: more debug traces for button press
git-svn-id: svn://localhost/ardour2/branches/3.0@11905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 16:24:52 +00:00
20d38b1c25 MCP: make vpots control pan width + direction/position
git-svn-id: svn://localhost/ardour2/branches/3.0@11904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 16:21:23 +00:00
b98efa7893 MCP: better debug traces for button press
git-svn-id: svn://localhost/ardour2/branches/3.0@11903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 16:13:05 +00:00
1554e9ad9e MCP: more twiddling with code
git-svn-id: svn://localhost/ardour2/branches/3.0@11902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 16:11:55 +00:00
753096ec18 MCP: probably fix crash on solo, another debug trace
git-svn-id: svn://localhost/ardour2/branches/3.0@11901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 15:50:02 +00:00
Carl Hetherington
3f647a9dcd Simplify slightly odd update_length() signature.
git-svn-id: svn://localhost/ardour2/branches/3.0@11900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 15:47:33 +00:00
9b6c41c134 MCP: more clarification of control ID scheme
git-svn-id: svn://localhost/ardour2/branches/3.0@11899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 15:37:06 +00:00
7a221363bb MCP: handle control IDs a little better
git-svn-id: svn://localhost/ardour2/branches/3.0@11898 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 15:22:05 +00:00
Carl Hetherington
91b6f28a9b Remove unused playlist audition code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 15:10:12 +00:00
8c9f9e746b MCP: further objectification of event handling code
git-svn-id: svn://localhost/ardour2/branches/3.0@11896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 13:39:25 +00:00
02c8ccf348 move all code to construct MIDI messages into relevant Control/Strip/Surface object; remove MackieMidiBuilder
git-svn-id: svn://localhost/ardour2/branches/3.0@11895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 13:03:41 +00:00
Carl Hetherington
0860570c8c Fix a few unchecked XML child / property lookups
(#4814).


git-svn-id: svn://localhost/ardour2/branches/3.0@11894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 10:51:21 +00:00
Carl Hetherington
86a86f482f Fix use of invalidated iterator (#4822).
git-svn-id: svn://localhost/ardour2/branches/3.0@11893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 10:43:27 +00:00
Carl Hetherington
b788b7c56c Fix use of invalidated iterator (#4821).
git-svn-id: svn://localhost/ardour2/branches/3.0@11892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 10:31:29 +00:00
d99311d21b Implement ui:portIndex and ui:touch features.
Touch should allow custom plugin UIs to work properly with automation as the
generic UI does.  IIRC this was requested for mixbus, however, no current
plugin UI I am aware of implements it, so it is completely untested.


git-svn-id: svn://localhost/ardour2/branches/3.0@11888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 04:53:47 +00:00
7c9c4d6dc7 MCP: breakout Led class code; remove builder code for Led changes and put it into Led::set_state() which returns the (possibly empty) MIDI data needed to go back to the MCP device to change the LED visible state
git-svn-id: svn://localhost/ardour2/branches/3.0@11886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 04:02:46 +00:00
722defe41a Fix crash introduced in r11877 (oops). Add LV2Plugin::port_index().
git-svn-id: svn://localhost/ardour2/branches/3.0@11885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 04:00:27 +00:00
dbd6ae23d0 MCP: send nothing if LedState is none in build_led(); return none from all transport button presses
git-svn-id: svn://localhost/ardour2/branches/3.0@11884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 03:24:20 +00:00
0b69a2d3e1 MCP: slightly cleaner code for button map definition
git-svn-id: svn://localhost/ardour2/branches/3.0@11883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 03:18:35 +00:00
72719ba1b6 MCP: actually build button map
git-svn-id: svn://localhost/ardour2/branches/3.0@11882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 03:13:19 +00:00
fa638e5e98 MCP: fix n_strips() count; new button dispatch scheme
git-svn-id: svn://localhost/ardour2/branches/3.0@11881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 03:11:56 +00:00
261738d01e MCP: debug tracing, plus start of a new cleaner handling system for button handling
git-svn-id: svn://localhost/ardour2/branches/3.0@11880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 02:54:25 +00:00
f387e834fd MCP: tweak operation of most transport buttons, make save button work, start using button enums more widely
git-svn-id: svn://localhost/ardour2/branches/3.0@11879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 02:30:35 +00:00
f03ff886c9 remove debugging output, and fix MCP to use MISSING_INVALIDATOR to stop crash on close
git-svn-id: svn://localhost/ardour2/branches/3.0@11878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 00:10:31 +00:00
96a8a64536 Forward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
Fix worker implementation to preserve error codes.

git-svn-id: svn://localhost/ardour2/branches/3.0@11877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 20:46:32 +00:00
99ba7de591 Fix failed assertion with plugins with only an audio output are inserted on a MIDI track. This logic is probably completely wrong (i.e. it shouldn't be Split in the first place), but it fixes the crash, anyway.
git-svn-id: svn://localhost/ardour2/branches/3.0@11876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 20:45:39 +00:00
aa22f85c1b MCP: fix fader touch button IDs; remove last traces of MidiControlUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 17:26:31 +00:00
01c1eeb279 give MackieControlProtocol its own thread and make it parse incoming MIDI in that thread, as well as doing timeouts there too
git-svn-id: svn://localhost/ardour2/branches/3.0@11872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 17:13:55 +00:00
893b468858 add "centrally-parsed" property to MIDI::Port so that we can avoid the MidiUI loop from handling input for *all* MIDI ports created
git-svn-id: svn://localhost/ardour2/branches/3.0@11871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 16:27:01 +00:00
a8094bb49c MCP: debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@11870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 16:02:34 +00:00
f89d0ea069 MCP: debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@11869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 15:59:43 +00:00
fcff349ba5 MCP: fix 2-char display message to avoid running status issues with JACK MIDI
git-svn-id: svn://localhost/ardour2/branches/3.0@11866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 15:21:56 +00:00
43a6662357 MCP: actually map routes to strips, more debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@11865 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 15:13:37 +00:00
342a78c9a3 MCP: actually connect surfaces to incoming MIDI events
git-svn-id: svn://localhost/ardour2/branches/3.0@11864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 14:46:51 +00:00
12357ec4bb MCP: more debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@11863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 14:45:21 +00:00
fb4816f010 MCP: fix build
git-svn-id: svn://localhost/ardour2/branches/3.0@11862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 14:32:30 +00:00
5ace191bff drastic, fundamental redesign of MCP code
git-svn-id: svn://localhost/ardour2/branches/3.0@11861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 14:27:44 +00:00
ac7ade93bd MCP: make rightward bank shift work, and add a flag for scrub mode; more code rearrangement
git-svn-id: svn://localhost/ardour2/branches/3.0@11860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 19:47:06 +00:00
562016339d use correct per-MCU index when building fader, pot, ledring messages
git-svn-id: svn://localhost/ardour2/branches/3.0@11859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 19:10:24 +00:00
bef3ea1adc MCP: F1-7 jump to a given view; F8 closes any currently open dialog; in zoom mode, up/down alter vertical track height of all tracks; option-up/down alters selected track heights
git-svn-id: svn://localhost/ardour2/branches/3.0@11858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 18:53:51 +00:00
0431309f89 MCP: shift-select resets gain to unity
git-svn-id: svn://localhost/ardour2/branches/3.0@11856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 17:56:20 +00:00
db5258fea3 MCP: maybe handle multiple MCUs better; add support for modifier keys; rearrange source so that all button handlesr are in mcp_buttons.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@11855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 17:48:16 +00:00
086a6c56f3 MCP: avoid debug flood from meters
git-svn-id: svn://localhost/ardour2/branches/3.0@11854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 16:55:24 +00:00
62afe207d2 MCP: register thread with GUI and create session event pool
git-svn-id: svn://localhost/ardour2/branches/3.0@11853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 16:26:44 +00:00
57a046804c MCP: different meter debug trace; initial support for track selection
git-svn-id: svn://localhost/ardour2/branches/3.0@11852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 16:15:55 +00:00
e2d62d9af4 allow ControlProtocols to call for undo/redo in GUI; make MCP use this
git-svn-id: svn://localhost/ardour2/branches/3.0@11851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 15:50:38 +00:00
5d0858940b MCP: zoom button toggles led
git-svn-id: svn://localhost/ardour2/branches/3.0@11850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 15:41:37 +00:00
9f5a9a2447 MCP: zoom in on cursor right press
git-svn-id: svn://localhost/ardour2/branches/3.0@11849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 15:40:21 +00:00
e3448f267e MCP: some debug tracing for meters
git-svn-id: svn://localhost/ardour2/branches/3.0@11848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 15:35:20 +00:00
2b659deaef remove redundant MackieButtonHandler class, implement initial zoom support for cursor left + right buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@11847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 15:32:25 +00:00
f02edae438 start breaking apart the various controls into their own headers and source code, and making each control know how to generate MIDI; throttle delivery of meter data and get meter ID right
git-svn-id: svn://localhost/ardour2/branches/3.0@11846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 13:59:35 +00:00
63e15e1737 MCP: change refresh interval for meters + automation + timecode to 100msec
git-svn-id: svn://localhost/ardour2/branches/3.0@11845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 00:45:22 +00:00
522c2dd4cf MCP: add some locking to the RouteSignals object
git-svn-id: svn://localhost/ardour2/branches/3.0@11844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 00:32:13 +00:00
7ab25511b5 MCP: possible support for metering (really)
git-svn-id: svn://localhost/ardour2/branches/3.0@11843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09 00:03:58 +00:00
ad06e7cb8d MCP: make Strip aware of Meter
git-svn-id: svn://localhost/ardour2/branches/3.0@11841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 23:20:14 +00:00
0e0c4277cf MCP: start up event loop (thread) so that we can do timeouts and metering; start of Meter control support
git-svn-id: svn://localhost/ardour2/branches/3.0@11840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 23:14:36 +00:00
2cf34cdebd MCP: look for jog wheel as a special case
git-svn-id: svn://localhost/ardour2/branches/3.0@11839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 21:22:21 +00:00
79799023f5 MCP: move init functions back into Surface since there is no difference between the BCF and MCU versions of the code at this point
git-svn-id: svn://localhost/ardour2/branches/3.0@11838 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 21:17:11 +00:00
715bdc3829 MCP: remove no-longer-used files
git-svn-id: svn://localhost/ardour2/branches/3.0@11837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 21:16:16 +00:00
696f3bdda5 MCP: connect to correct signal for buttons; more code tidy; extra debugging if we can't find a control
git-svn-id: svn://localhost/ardour2/branches/3.0@11836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 20:52:45 +00:00
6315a979a1 MCP: remove files no longer used (copies are always available in 2.0-ongoing for historical purposes)
git-svn-id: svn://localhost/ardour2/branches/3.0@11835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 20:44:36 +00:00
c6c98b6453 MCP: add handler for forgotten noteOn (button) messages, and more code tidying
git-svn-id: svn://localhost/ardour2/branches/3.0@11834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 20:34:21 +00:00
7296ef87a1 MCP: more debugging for fader messages
git-svn-id: svn://localhost/ardour2/branches/3.0@11833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 17:39:45 +00:00
8a1e6363da MCP: fix fader mapping from extenders
git-svn-id: svn://localhost/ardour2/branches/3.0@11832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 16:05:26 +00:00
5d29d591b8 debug ardour->MCP fader mapping
git-svn-id: svn://localhost/ardour2/branches/3.0@11831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 15:51:30 +00:00
66c83f2765 MCP: fix (?) interpretation of fader/pitchbend messages
git-svn-id: svn://localhost/ardour2/branches/3.0@11830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 15:45:52 +00:00
fcada6e737 MCP: add debug tracing for fader (pitchbend) messages
git-svn-id: svn://localhost/ardour2/branches/3.0@11829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 15:16:34 +00:00
0e72a29bcc MCP: add debug tracing for timeouts
git-svn-id: svn://localhost/ardour2/branches/3.0@11828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 15:13:12 +00:00
733a2b1820 MCP: correctly link routes and strips; correctly set up timeouts using event loop of MCP, not GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 15:10:46 +00:00
6e13711361 MCP: stop using signals to handle parsed control events; add debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@11826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 14:51:14 +00:00
ef484a8a33 MCP: drop need for ScopedConnectionList::empty()
git-svn-id: svn://localhost/ardour2/branches/3.0@11825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 14:22:34 +00:00
c72287e67d MCP: major redesign of control instantiation; continuing code reformatting
git-svn-id: svn://localhost/ardour2/branches/3.0@11824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08 14:11:00 +00:00
05b36d0092 MCP: fix bad use of strips container
git-svn-id: svn://localhost/ardour2/branches/3.0@11823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 19:30:00 +00:00
f703a3cfd1 MCP: alternative method for clearing route table when switching banks
git-svn-id: svn://localhost/ardour2/branches/3.0@11822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 19:08:57 +00:00
d1d164092b MCP: build fix
git-svn-id: svn://localhost/ardour2/branches/3.0@11821 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 18:54:31 +00:00
a202b08f65 MCP: drastically alter setup of Mackie surface to not use the CSV files in anyway, reformat chunks to match coding style standards, don't throw() if part of a sysex message is message
git-svn-id: svn://localhost/ardour2/branches/3.0@11820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 18:43:06 +00:00
9cdeaa30b9 MCP: try to fix madness with extender strip indices
git-svn-id: svn://localhost/ardour2/branches/3.0@11819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 16:04:13 +00:00
1e1ceaba7e MCP: try to actually use extenders
git-svn-id: svn://localhost/ardour2/branches/3.0@11818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 15:22:22 +00:00
785082b2da debugging mcu via ssl nucleus 2
git-svn-id: svn://localhost/ardour2/branches/3.0@11817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 14:48:44 +00:00
1f26ba1688 debugging mcu via ssl nucleus
git-svn-id: svn://localhost/ardour2/branches/3.0@11816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 14:16:08 +00:00
Carl Hetherington
ef91c96883 Fix possible null pointer dereference (#4813).
git-svn-id: svn://localhost/ardour2/branches/3.0@11814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 10:05:17 +00:00
Carl Hetherington
bf2281d366 Fix operator typo (#4824).
git-svn-id: svn://localhost/ardour2/branches/3.0@11812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 02:03:17 +00:00
Carl Hetherington
83b7463b40 Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@11806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07 01:37:21 +00:00
9e2dc2e50c Execute plugin worker tasks immediately in the audio thread if freewheeling.
git-svn-id: svn://localhost/ardour2/branches/3.0@11803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-06 02:42:19 +00:00
184c7cedf9 provide an RC configuration variable to "shadow" Evoral::ControlList::thinning_factor
git-svn-id: svn://localhost/ardour2/branches/3.0@11796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 12:08:59 +00:00
bdde5da89b make automation thinning factor controllable at run time
git-svn-id: svn://localhost/ardour2/branches/3.0@11795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 11:16:04 +00:00
Carl Hetherington
9036a12ffc assert() on id property not being present (#4814).
git-svn-id: svn://localhost/ardour2/branches/3.0@11794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 01:23:07 +00:00
Carl Hetherington
f7497258ea Fix double-delete (#4809).
git-svn-id: svn://localhost/ardour2/branches/3.0@11792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 01:22:19 +00:00
Carl Hetherington
bf96210e34 Fix operator precedance inaccuracy (#4825).
git-svn-id: svn://localhost/ardour2/branches/3.0@11791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 01:21:44 +00:00
338e83d9dc Implement LV2 worker extension.
This is done by way of a generic Worker object/thread, which currently just
applies to one LV2 plugin, but the idea is to share one thread and set of
buffers among many plugins.  The same pattern may also be useful elsewhere in
Ardour.  The responding part gets a bit tricker when sharing a worker between
plugins, it's not a blocker, and I'm lazy, sooo here's this.

This commit also adds a new portable in-process semaphore to PBD.  The existing
one is pretty weird and uses a named semaphore on OSX for reasons unknown to
me.  Perhaps as a quick fix to avoid POSIX semaphores being utterly broken on
OSX?  It would probably be a good idea to replace that with this new one, which
uses Mach kernel semaphores on OSX which work well, though I am not sure how
pedantically real-time safe they are to signal.


git-svn-id: svn://localhost/ardour2/branches/3.0@11790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 00:15:54 +00:00
Carl Hetherington
daad719546 Remove ControlList::_max_xval which is set up and stored in
state but never actually read.


git-svn-id: svn://localhost/ardour2/branches/3.0@11787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-04 00:15:41 +00:00
Carl Hetherington
81372b6ebe Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@11782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-02 23:31:17 +00:00
Carl Hetherington
47faebb367 Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@11779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-02 13:52:36 +00:00
Carl Hetherington
e960ebeebb Add comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@11778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 23:47:37 +00:00
Carl Hetherington
4cd2e73732 Add comment and fix type.
git-svn-id: svn://localhost/ardour2/branches/3.0@11777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 23:47:31 +00:00
Carl Hetherington
d34d7b8ce1 Remove unused declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@11776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 23:47:23 +00:00
Carl Hetherington
5de4de613b Fix memory leak on error condition (#4798).
git-svn-id: svn://localhost/ardour2/branches/3.0@11775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 15:06:24 +00:00
Carl Hetherington
c38cbac7e7 Fix possible out-of-bounds array access (#4796).
git-svn-id: svn://localhost/ardour2/branches/3.0@11774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 15:06:15 +00:00
Carl Hetherington
d7deaa21bb Fix reference of track after free() (#4795).
git-svn-id: svn://localhost/ardour2/branches/3.0@11773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:58:09 +00:00
Carl Hetherington
cc23c36961 Tidy up slightly; fix reads off the end of the data
array (#4797).


git-svn-id: svn://localhost/ardour2/branches/3.0@11772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:57:57 +00:00
Carl Hetherington
7f417fb44f Remove unused ustring version of url_decode(). Rework
the other version to be a bit simpler, avoiding #4800.


git-svn-id: svn://localhost/ardour2/branches/3.0@11771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:30:06 +00:00
Carl Hetherington
3240a93aad Fix libpbd tests and add test for url_decode().
git-svn-id: svn://localhost/ardour2/branches/3.0@11770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:29:26 +00:00
c886f761eb Update to latest LV2 state extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@11769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-30 23:32:48 +00:00
Carl Hetherington
7c2b3171c2 Further GCC 4.7.0 fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@11768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-30 01:21:08 +00:00
Carl Hetherington
8ae1880e33 Some fixes for GCC 4.7.0
git-svn-id: svn://localhost/ardour2/branches/3.0@11767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-30 00:03:53 +00:00
Carl Hetherington
1fc8dfa0fc Put copy-constructed crossfades at the position of their
source crossfade; fixes #4793.


git-svn-id: svn://localhost/ardour2/branches/3.0@11763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-27 21:04:47 +00:00
Carl Hetherington
ca1de50004 Give the _sends member of InternalReturn its own mutex,
rather than using the process lock to protect it.  Prevents
a deadlock when removing an aux send causes it to remove
itself from its return (#4712).


git-svn-id: svn://localhost/ardour2/branches/3.0@11760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 20:30:26 +00:00
Carl Hetherington
b25c60356c Typo in comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@11758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 19:38:17 +00:00
1716dc0ce6 Update to latest LV2 atom extension.
Implement proper support for fixed size LV2 plugin UIs.


git-svn-id: svn://localhost/ardour2/branches/3.0@11757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 17:17:40 +00:00
Carl Hetherington
3120bae8b4 Don't leave internal edit mode when clicking on an automation region view (#4747).
git-svn-id: svn://localhost/ardour2/branches/3.0@11749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-22 16:41:23 +00:00
Carl Hetherington
21a0b7ace0 Use combo box for plugin controls for ports marked as
lv2:enumeration.


git-svn-id: svn://localhost/ardour2/branches/3.0@11745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 16:43:01 +00:00
Carl Hetherington
05fcf75eaf Use sigc::slot for ClickBox printing function rather
than a function pointer.


git-svn-id: svn://localhost/ardour2/branches/3.0@11743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 16:38:59 +00:00
Carl Hetherington
a4c27ff16e Update motorised button when a motorised surface's bindings are loaded.
git-svn-id: svn://localhost/ardour2/branches/3.0@11740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 02:19:59 +00:00
Carl Hetherington
189257dd32 Make toggle MIDIControllables with program changes only respond to the appropriate program change (part of #4780).
git-svn-id: svn://localhost/ardour2/branches/3.0@11739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 02:15:55 +00:00
Carl Hetherington
4c0b104db5 Fix test build.
git-svn-id: svn://localhost/ardour2/branches/3.0@11738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 01:07:05 +00:00
135c72b085 use the right include name
git-svn-id: svn://localhost/ardour2/branches/3.0@11737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 19:38:49 +00:00
494635b99b make MIDI Patch Manager search in $user_config_dir/patchfiles for midnam files as well as the per-session equivalent. need to stop it from doing at session shutdown time too.
git-svn-id: svn://localhost/ardour2/branches/3.0@11736 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:03:46 +00:00
1c399d5ebc tweak audio track importer to use the modified xml++ API for XPATH searching
git-svn-id: svn://localhost/ardour2/branches/3.0@11735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:02:36 +00:00
8f4e126c72 a lot of tweaking and fixing for the MIDNAM parsing code so that it correctly handles all 44 sample files from digicake.com/midnams.
git-svn-id: svn://localhost/ardour2/branches/3.0@11734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:01:59 +00:00
71b3c8cfe1 some deep changes to xml++ in which we retain a C-level xmlDocPtr as a member of an XMLTree objects. this allows us to do repeated XPATH searches (as in the midnam parser of libmidi++) without constantly rewriting an entire tree into memory to recreate a new xmlDocPtr with which we can search. Since XMLTree objects don't typically stay around for very long, just when serializing to/from disk, this is not anticipated to have much (if any) impact on memory consumption
git-svn-id: svn://localhost/ardour2/branches/3.0@11733 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:01:07 +00:00
Carl Hetherington
c5dac2a724 Add GPL boilerplate; use x->foo for (*x).foo; tidy some indentation; use a table to place widgets; add motorised option.
git-svn-id: svn://localhost/ardour2/branches/3.0@11729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-19 01:34:40 +00:00
Carl Hetherington
8063027507 Add set_motorised().
git-svn-id: svn://localhost/ardour2/branches/3.0@11728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-19 01:34:35 +00:00
Carl Hetherington
df3eaf9188 Remove erroneous non-run of plugins when the transport is stopped
and plugins-stop-with-transport is true; this option is supposed
to mean the flush() is called on processors on transport stop, in
order to silence reverb tails etc.  Comment this and try to make
the GUI option name more helpful.  Should fix #4748.


git-svn-id: svn://localhost/ardour2/branches/3.0@11725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-17 23:41:51 +00:00
5aec73971a fix crash when setting an LV2 preset that refers to ports via incorrect names (from bazz)
git-svn-id: svn://localhost/ardour2/branches/3.0@11719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-17 12:28:37 +00:00
377f407a2f remove debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@11718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-17 12:26:42 +00:00
1b830d5942 continue the saga of Rewrite The XML Node So That It Can Be Used To Set Another Object's State by descending into an IO node to fix the names of its ports as used in connection info. allows copies of sends etc. to retain the same connections as the original (with new names, obviously)
git-svn-id: svn://localhost/ardour2/branches/3.0@11717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-16 22:36:06 +00:00
f1638d365e use MOD2 for command key on OS X, just like in 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@11716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-16 21:53:06 +00:00
416e3c701e put back revised version of Route::has_external_redirects() and use it to give a warning when attempting to freeze a track with sends/inserts/returns
git-svn-id: svn://localhost/ardour2/branches/3.0@11707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-16 16:51:54 +00:00
8e1488c76e remove now-unused Route::has_external_redirects()
git-svn-id: svn://localhost/ardour2/branches/3.0@11704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-16 15:05:00 +00:00
e945505731 add new files
git-svn-id: svn://localhost/ardour2/branches/3.0@11702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-15 21:42:11 +00:00
f07ca6397f radically rethink export/bounce/freeze code design. probably not 100% done by freeze+unfreeze now work and behave sensibly w.r.t. processors that do routing
git-svn-id: svn://localhost/ardour2/branches/3.0@11701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-15 21:40:17 +00:00
cfaf6ff7e3 remove unused Glib::Thread* from ProcessThread
git-svn-id: svn://localhost/ardour2/branches/3.0@11696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-15 13:39:06 +00:00
730937dc37 better, cleaner fix for copying sends/returns/port inserts via XML state
git-svn-id: svn://localhost/ardour2/branches/3.0@11691 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-15 02:31:09 +00:00
Carl Hetherington
86a0fe1b43 Fix comment and one return value.
git-svn-id: svn://localhost/ardour2/branches/3.0@11690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-14 22:53:41 +00:00
d46acb86ea redesign how XML state, bitslots and names get propagated during copying a send/port insert/return
git-svn-id: svn://localhost/ardour2/branches/3.0@11669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 20:14:55 +00:00
b557061ec4 use g_fopen()
git-svn-id: svn://localhost/ardour2/branches/3.0@11668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 20:14:22 +00:00
d0b90d2961 use g_fopen()
git-svn-id: svn://localhost/ardour2/branches/3.0@11667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 20:14:01 +00:00
Carl Hetherington
184c4e28c0 No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@11660 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 01:24:08 +00:00
Carl Hetherington
398e3abefc Centralise and fix up path creation for Linux VST info files; prevents creation of files called .foo.so rather than .foo.so.fsi.
git-svn-id: svn://localhost/ardour2/branches/3.0@11659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 01:23:58 +00:00
Carl Hetherington
ca19d2af16 Use fgets and sscanf to read numbers rather than fscanf, avoiding strange occurrence of fscanf (..., %dn, ...) eating a blank line immediately after the number that it reads; fix erroneous warning about failure to get VST information.
git-svn-id: svn://localhost/ardour2/branches/3.0@11658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 01:23:44 +00:00
Carl Hetherington
f6ee63591d Patch from colinf to allow the number of recent sessions to
be configured (#2207).


git-svn-id: svn://localhost/ardour2/branches/3.0@11641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-10 11:37:01 +00:00
Carl Hetherington
0d820089de Fix test build.
git-svn-id: svn://localhost/ardour2/branches/3.0@11633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09 21:23:11 +00:00
7219d0d651 Fix atom sequence ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@11623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-08 19:40:41 +00:00
Carl Hetherington
09814ab840 Patch from colinf to fix auto-connect of bus outputs (#4758).
git-svn-id: svn://localhost/ardour2/branches/3.0@11615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07 13:24:20 +00:00
3c7f9586ae implement XMLNode::operator=() as a deep operation with the same semantics as the XMLNode copy constructor. attempt to share as much code as possible between them and the destructor
git-svn-id: svn://localhost/ardour2/branches/3.0@11612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07 02:07:35 +00:00
Carl Hetherington
fb6895ba86 Add motorised attribute to DeviceInfo for generic MIDI maps so that
we can specify if a surface is motorised, and as such will keep its
phyiscal controls in sync with Ardour's controllables at all times.
If this is not the case, we enable the code to avoid jumps when controls and
controllables are out of sync.  Mark the BCF2000 as motorised.



git-svn-id: svn://localhost/ardour2/branches/3.0@11611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07 01:11:22 +00:00
03ba84da7e fix misspelt #ifdef
git-svn-id: svn://localhost/ardour2/branches/3.0@11603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-06 15:17:10 +00:00
Carl Hetherington
fe86f97563 Work around problems with some JACK<->ALSA midi bridges which don't
transfer multiple MIDI messages when they are written in one
jack_midi_event_write.  Support pitch bend messages in the
generic midi control surface code.


git-svn-id: svn://localhost/ardour2/branches/3.0@11601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-06 15:08:17 +00:00
Carl Hetherington
c6396ca7ce Mark rec enable controllables as toggling.
git-svn-id: svn://localhost/ardour2/branches/3.0@11600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-06 15:08:08 +00:00
Carl Hetherington
9a74312f9f Make route group dialog resizable; make ArdourPrompter entries
resize when the window is resized, rather than the label (#4756).


git-svn-id: svn://localhost/ardour2/branches/3.0@11599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 22:34:49 +00:00
Carl Hetherington
4fb5d4596b Prevent duplication of search path elements when symlinks are involved (#4568).
git-svn-id: svn://localhost/ardour2/branches/3.0@11592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 00:34:45 +00:00
Carl Hetherington
7a79db9117 Use inodes_same() function.
git-svn-id: svn://localhost/ardour2/branches/3.0@11591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 00:34:29 +00:00
Carl Hetherington
a7f31b56af Add new inodes_same() method.
git-svn-id: svn://localhost/ardour2/branches/3.0@11590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 00:34:21 +00:00
22b583a8e7 Update for latest Lilv SVN.
git-svn-id: svn://localhost/ardour2/branches/3.0@11587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-03 21:46:25 +00:00
da13032eda fixes for 64 bit OS X build (c/o david robillard); tested on Lion & Tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@11585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-02 22:53:00 +00:00
3d8aacf4e3 follow glib include rules, sigh
git-svn-id: svn://localhost/ardour2/branches/3.0@11578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-01 21:08:58 +00:00
2ec580414b follow glib include rules, sigh
git-svn-id: svn://localhost/ardour2/branches/3.0@11577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-01 20:52:52 +00:00
f72ecaf54a use #include <typeinfo> before using typeid
git-svn-id: svn://localhost/ardour2/branches/3.0@11576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-01 20:25:31 +00:00
d7cc7e7d9c follow glib include rules, sigh
git-svn-id: svn://localhost/ardour2/branches/3.0@11575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-01 20:20:43 +00:00
1464bbfaa3 Hopefully fix compilation without Suil.
git-svn-id: svn://localhost/ardour2/branches/3.0@11574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-01 19:24:13 +00:00
Carl Hetherington
683455c02e Patch from colinf to fix crash on stem export of 4-channel tracks (#4750).
git-svn-id: svn://localhost/ardour2/branches/3.0@11571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-01 15:42:23 +00:00
bb98baf413 fix a few dangling uses of Ardour as program name, in favor of PROGRAM_NAME
git-svn-id: svn://localhost/ardour2/branches/3.0@11563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29 20:18:18 +00:00
8de887f378 Update to latest LV2 atom extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@11548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29 03:21:37 +00:00
Carl Hetherington
19667afd7f More verbosity for Linux VST loading.
git-svn-id: svn://localhost/ardour2/branches/3.0@11542 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-28 13:53:23 +00:00
Carl Hetherington
204baa31d8 Move a few declarations to first use.
git-svn-id: svn://localhost/ardour2/branches/3.0@11541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-28 13:40:43 +00:00
Carl Hetherington
bda741fbcd We already checked for vstfx being NULL, so the second
check can reasonably be an assert.


git-svn-id: svn://localhost/ardour2/branches/3.0@11540 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-28 13:40:37 +00:00
Carl Hetherington
cecf343109 Use dBs for send gain automation controls too.
git-svn-id: svn://localhost/ardour2/branches/3.0@11539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-28 13:40:30 +00:00
Carl Hetherington
3a4650cba7 Display amp automation in dB using a logarithmic fader.
git-svn-id: svn://localhost/ardour2/branches/3.0@11535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27 17:17:19 +00:00
aef76e95d6 fix typo in jack-out-of-ports message
git-svn-id: svn://localhost/ardour2/branches/3.0@11533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27 16:29:05 +00:00
Carl Hetherington
ecae912da9 Fix previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@11532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27 16:05:15 +00:00
Carl Hetherington
568f96d1ee Be slightly more verbose about vstfx_get_info errors.
git-svn-id: svn://localhost/ardour2/branches/3.0@11531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27 16:03:37 +00:00
Carl Hetherington
af7494ceb2 Slightly tweaked patch from colinf to avoid crashes on
out-of-range LADSPA port indices (#4700).


git-svn-id: svn://localhost/ardour2/branches/3.0@11528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27 15:21:29 +00:00
Carl Hetherington
bd2e28aaac Fix crash on opening the export dialogue when there are no
formats (#4742).


git-svn-id: svn://localhost/ardour2/branches/3.0@11524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-26 20:48:51 +00:00
66f9f3061f Fix real-time violation, only send UI updates if explicitly requested by UI.
git-svn-id: svn://localhost/ardour2/branches/3.0@11522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25 20:54:38 +00:00
1e6694f41a Use FastScreenUpdate for UI message updating, and only if plugin has message output ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@11521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25 20:43:14 +00:00
4d7810dee8 Full round-trip message communication between LV2 UIs and plugins.
Still a little bit rough around the edges, but it works.  This can be tested
with the eg-sampler plugin from LV2 svn (whose UI can load different samples).


git-svn-id: svn://localhost/ardour2/branches/3.0@11519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25 08:43:23 +00:00
1cf6e280b8 Use more straightforward 1:1 names for URI nodes.
git-svn-id: svn://localhost/ardour2/branches/3.0@11518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25 05:01:24 +00:00
f122504784 Support LV2 atom sequence ports alongside old event ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@11517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25 04:16:42 +00:00
4f96a1006b Clean up LV2 code in preparation for atom support.
Merge all parameter_is_* boolvectors into a single vector of flags (smaller/faster).


git-svn-id: svn://localhost/ardour2/branches/3.0@11515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-24 22:09:30 +00:00
16f91163e5 part two of: make region gain line visibility global, not per-region
git-svn-id: svn://localhost/ardour2/branches/3.0@11493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-15 14:03:30 +00:00
efb1e10ff7 fix coloring of global rec-enable button when actively recording; fix related issue when loading a session with an already rec-enabled track
git-svn-id: svn://localhost/ardour2/branches/3.0@11468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 18:28:09 +00:00
b08d13706f remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
009c7a9e44 attempt to stop sending MMC/MTC while exporting or freewheeling for any reason
git-svn-id: svn://localhost/ardour2/branches/3.0@11457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 17:09:53 +00:00
f4f2a9a111 fix bug in MidiClock that sent MIDI Clock messages with negative offsets after a loop point
git-svn-id: svn://localhost/ardour2/branches/3.0@11456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 15:05:18 +00:00
d0b94ebc1e likely fix for crash-by-assert just after a MIDI diskstream overwrite (e.g. just after an edit, while playback is active)
git-svn-id: svn://localhost/ardour2/branches/3.0@11455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 14:58:03 +00:00
f77ed1c692 even more debugging info for zth
git-svn-id: svn://localhost/ardour2/branches/3.0@11454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 14:35:00 +00:00
d0b1a8100a yet more debugging info for zth
git-svn-id: svn://localhost/ardour2/branches/3.0@11453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 14:28:43 +00:00
bdbba5af35 some more debugging info for zth
git-svn-id: svn://localhost/ardour2/branches/3.0@11452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 14:14:40 +00:00
1f0fe4a449 removed #ifdef'ed trace_midi() code (dup'ed from libmidi++)
git-svn-id: svn://localhost/ardour2/branches/3.0@11451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 14:10:40 +00:00
e7c0919257 some debugging info
git-svn-id: svn://localhost/ardour2/branches/3.0@11450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 13:50:26 +00:00
6db9cb8d75 add some more variants of the cairo rounded rectangle code
git-svn-id: svn://localhost/ardour2/branches/3.0@11434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03 03:55:58 +00:00
02ec346c2b add virtual method is_instrument() to PluginInfo (already existed for AUPluginInfo) and use to determine if plugin is an instrument for the purposes of AddRouteDialog, since the rules are plugin-type specific
git-svn-id: svn://localhost/ardour2/branches/3.0@11426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-02 18:51:32 +00:00
af90dc2bae add a way to create a new MIDI track with an instrument pre-selected
git-svn-id: svn://localhost/ardour2/branches/3.0@11421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-02 04:12:23 +00:00
Carl Hetherington
452672f78f Make crossfade convert-to-full and activate/deactivate work across edit groups (#4658).
git-svn-id: svn://localhost/ardour2/branches/3.0@11413 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-01 01:07:52 +00:00
Carl Hetherington
6b65e684eb Tidy up slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@11412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-01 01:07:44 +00:00
Carl Hetherington
396b8adffe Trim declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@11411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-01 01:07:37 +00:00
40af4b914f use musical_time_equal() test for equality when copying note data, not strict floating point equality. should fix #4609 (and maybe another one too)
git-svn-id: svn://localhost/ardour2/branches/3.0@11407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-31 23:20:13 +00:00
Carl Hetherington
34881407e7 Make crossfade active state and length changes undo-able.
git-svn-id: svn://localhost/ardour2/branches/3.0@11406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-31 23:06:12 +00:00
Carl Hetherington
0a720e5753 Comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@11404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-31 21:56:33 +00:00
7629120cda many changes, large and small, related to smart mode editing, range/region selection, and behaviour of playhead when always-play-range is enabled. could be buggy, but probably in subtle (or even very subtle) ways rather than obvious
git-svn-id: svn://localhost/ardour2/branches/3.0@11394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 22:53:22 +00:00
Carl Hetherington
8d0f685d52 Fix faulty comment in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@11392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 21:11:35 +00:00
Carl Hetherington
90bab430c4 Fix non-summon of butler when a track that needs it is followed by a track that does not (in the single-process-thread-CPU case). Should fix #4677.
git-svn-id: svn://localhost/ardour2/branches/3.0@11391 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 20:58:17 +00:00
Carl Hetherington
8f0b5a326b Add assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@11390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 20:58:09 +00:00
Carl Hetherington
35a4144e45 Add aux sends at the position that the menu was opened, rather than always pre-fader (#4660).
git-svn-id: svn://localhost/ardour2/branches/3.0@11387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 18:09:54 +00:00
Sakari Bergen
dba601eeab Show an example filename in the main export dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@11383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 20:55:44 +00:00