Commit graph

18870 commits

Author SHA1 Message Date
Paul Davis
c2bf0fc94e remove shift-fader-touch as a way to reset gain to default 2016-01-18 12:11:09 -05:00
Paul Davis
746d5c6624 add API to allow mackie controls to use GroupControlDisposition 2016-01-18 12:11:09 -05:00
Paul Davis
cd401f5ab4 add new enums to libs/pbd enums registration 2016-01-18 12:11:09 -05:00
Paul Davis
64c9198d60 add group disposition argument to Route::set_gain() and use it in various UIs
Executive decisions were necessary in a couple of places about the correct group disposition
behaviour, notably faderport and OSC surfaces
2016-01-18 12:11:09 -05:00
Paul Davis
1948b50a68 working version of new gain control design 2016-01-18 12:11:08 -05:00
Paul Davis
55094b7237 move Amp::GainControl out into its own source module and out of Amp 2016-01-18 12:11:08 -05:00
Paul Davis
d1033819bd change ownership of the AutomationControl used by Amp.
It used to be owned by Amp. Now it is owned by Amp's owner
2016-01-18 12:11:08 -05:00
Len Ovens
19af86ece2 Mackie Control: Fix crash in multi-surface setup when add/remove tracks. 2016-01-18 08:58:07 -08:00
Len Ovens
ef7c6730cb Groups: Fix un/set hidden/show should reset RID for tracks involved. 2016-01-17 14:17:02 -08:00
Ben Loftis
d4aae03653 scrolling actions should not require that a track selection exists 2016-01-16 20:29:14 -06:00
Len Ovens
7b08d650c0 Change last commit to use it's own variable rather than borrowing solo's 2016-01-16 14:40:03 -08:00
Len Ovens
65be9fa2fa Mackie Control: fix global Solo lamp to get signalled for listens active too. 2016-01-16 13:53:52 -08:00
Len Ovens
23041fda88 Mackie Control: fix math error that tried to change bank to very high number 2016-01-16 11:17:52 -08:00
Len Ovens
92dba5bfa3 Mackie Control: Added hidden tracks view mode. 2016-01-16 07:32:30 -08:00
Paul Davis
3f76b4ec17 newer, not-as-good boost shared ptr debug patch for boost 1.55 and maybe later 2016-01-16 10:03:42 -05:00
Paul Davis
9d65e6084c clean up functors used in cross-thread call_slot() messages, in case they contain shared_ptr<T>, which could result in a dangling reference 2016-01-16 09:33:31 -05:00
Robin Gareus
d61cf81997 The return of threaded waveform rendering and related crashes. 2016-01-16 14:18:59 +01:00
Len Ovens
9dfdaff1a4 Mackie Control: Need signal from session if group parameters change so strips redisplay if group un/hides. 2016-01-15 16:19:15 -08:00
Len Ovens
b3fd65d149 Mackie Control: Don't show hidden groups either. 2016-01-15 13:58:08 -08:00
Len Ovens
6b356448e3 Mackie Control: Don't show hidden routes. 2016-01-15 13:16:24 -08:00
Robin Gareus
d14e3ccc24 force LV2 plugin-state save for templates - #6709 2016-01-15 13:44:17 +01:00
John Emmas
440618b463 Add a newly introduced source file to our MSVC project (ardour_osc) 2016-01-15 11:59:43 +00:00
Tim Mayberry
5f61409c90 Fix build of OSC surface caused by missing include of i18n/gettext header 2016-01-15 12:14:52 +10:00
Robin Gareus
d3ab91d171 touchOSC compat for common route operations 2016-01-15 01:31:12 +01:00
Robin Gareus
b6c78ad9c8 fix OSC debug messages 2016-01-15 01:29:44 +01:00
Robin Gareus
6a6f414fc0 OSC-debug: print argument 2016-01-15 00:57:33 +01:00
Robin Gareus
919feac5f7 use PBD instead of C++11. 2016-01-14 23:46:51 +01:00
Ben Loftis
141352341c Generic MIDI: midi controller buttons should only trigger on the PUSH, not release. This might have to be reveisited later, but it looks right to me and it fixes operation on 2 different devices here 2016-01-14 16:39:50 -06:00
Ben Loftis
ddb362fe17 Generic MIDI: add ToggleRecEnable action, and change all maps to use that instead of separate rec-enable, rec-disable, which didnt work 2016-01-14 16:37:54 -06:00
Robin Gareus
368be3585e OSC debugging, allow to log incoming & unhandled messages 2016-01-14 23:34:37 +01:00
Len Ovens
0b58cde467 Mackie Control: Remove unused global_solo_* functions, moved functionality to clearsolo_* functions.
Changed to clear only rather than toggle and added Listen Clear as well.
2016-01-14 13:06:14 -08:00
Robin Gareus
aeaf0610d4 GUI for latency-measurement signal-level 2016-01-14 19:25:23 +01:00
Robin Gareus
f2b7d9af92 NO-OP: enums implicitly start at zero
this allows this file to be included to look up enums (bindings)
2016-01-14 19:10:27 +01:00
Robin Gareus
aacf086246 add API to query signal value of audio-latency measurement 2016-01-14 19:10:04 +01:00
Paul Davis
2386410e4a remove debug output 2016-01-14 11:00:50 -05:00
Paul Davis
9ab92a67c8 use correct type of lock when removing a thread request buffer 2016-01-14 11:00:40 -05:00
Paul Davis
5e4d9612e3 faderport: stop event loop when destroying object 2016-01-14 10:59:27 -05:00
Paul Davis
35807a1929 fully clean up request buffers when a thread dies 2016-01-14 10:53:32 -05:00
Paul Davis
077c65cc2a manually revert 4b3043cc and 141e6fb818; add detailed explanatory comment 2016-01-14 09:05:06 -05:00
Paul Davis
da087e920b ensure that each and every audioengine-related thread has a unique name 2016-01-14 09:05:06 -05:00
Tim Mayberry
084af96bf4 Change handling of Midi note selection to eliminate signal emission/delays.
Each MidiRegionView(MRV) is connected to the Selection::ClearMidiNoteSelection
signal that is used to notify the all MRV instances to clear their note
selection.

The MRV class also has a private static SelectionCleared signal that is used to
signal other MRV instances when their selection has been cleared. When the
Selection::ClearMidiNoteSelection signal is emitted it causes each MRV to also
emit the SelectionCleared signal. So the emission takes quadratic time.

With 1500 MRV instances emission takes about 2.2 seconds on my machine, and
some operations like track selection cause it to be emitted 3 times(another
issue).

The Selection class in the Editor knows which MRV instances have note
selections, as it is notified by MidiRegionView whenever the selection count
becomes zero or becomes non-zero. Clearing the Note selection should then just
be O(N) and direct calls can be used rather than signals.

This change removes both the signals and uses the existing references between
Selection and MRV class to control note selection. There should be no
behavioural changes in Midi note selection with this change.
2016-01-14 20:41:44 +10:00
Tim Mayberry
b93a9e2601 Add debug bit for selection debugging output 2016-01-14 20:41:43 +10:00
Paul Davis
141e6fb818 don't pick up already dead thread request buffers when setting up an event loop 2016-01-13 23:25:17 -05:00
Paul Davis
4b3043ccda use a unique key to store per-thread request buffers 2016-01-13 23:00:02 -05:00
Paul Davis
d3ad5c16d1 yet more event loop debug tracing 2016-01-13 21:13:55 -05:00
Paul Davis
6d04a66eea more event loop debugging 2016-01-13 19:48:17 -05:00
Paul Davis
3e45254257 typo fix 2016-01-13 18:14:52 -05:00
Paul Davis
f3c9f5894a lots more DEBUG_TRACE statements for analysing malfunctioning system 2016-01-13 17:03:49 -05:00
Tim Mayberry
9a52cefd13 Fix bug 6725 regions incorrectly moved after tempo change when glued to BBT time
Playlist::_split_region copies the region and BBT_Time member is default
constructed so position is bar 1 beat 1.

The regions sample position is then initialized to the new position using the
property list.

Playlist::add_region_internal is then used to add new regions to the playlist
which calls region->set_position() but as the region position has already been
initialized it does not recompute the _bbt_time member based on the new sample
position.

Then when a tempo change occurs and Region::update_after_tempo_map_change is
called the default initialized _bbt_time member is used to incorrectly
determine the new sample position.

So the change removes the initialization of the new region position using the
property list initialization method and just lets the playlist set the position
of the region in Playlist::add_region_internal so that the region _bbt_time
member is recomputed in Region::set_position_internal.
2016-01-14 07:05:04 +10:00
Robin Gareus
ed8c88d697 don't allow to delete AU presets in the UI
because the backend is not ready for this.
2016-01-13 18:01:39 +01:00