Commit graph

11982 commits

Author SHA1 Message Date
Robin Gareus
4d81e3ec07 RAII to postpone processor changes/graph recalculation 2016-11-25 18:16:08 +01:00
Len Ovens
98f1cb76ed OSC: Patch from 7136 added cleaned and tested. 2016-11-25 07:26:18 -08:00
Paul Davis
174d5e05c9 when duplicating tracks and copying playlists, use a new name for the copied playlist 2016-11-25 13:19:38 +00:00
Robin Gareus
fa642e0e9d Fix forwarding of output-buffers.
fbc8504f9e swapped the iterators: Instead of iterating over output
buffers like BufferSet::read_from(), the new code iterates over
the current buffers. In case of 1 in -> 2 out, only the 1st channel
was be copied.  Also unlike BufferSet::read_from() the ChanCount was
not updated.

Processors after a Delivery e.g. out-meter, AFL processor did not see
all channels.
2016-11-25 13:26:38 +01:00
Paul Davis
0d9030cee1 make the session do the right thing when clearing solo state during non-loading conditions 2016-11-25 11:50:39 +00:00
Paul Davis
bb8ddc4322 remove redundant (identical) 2nd conditional, and improve comment 2016-11-25 11:50:08 +00:00
Paul Davis
4ecb48b055 when clearing route solo state, do the required update 2016-11-25 11:49:30 +00:00
Paul Davis
17e803fef4 Do not try to restore Route solo state after clearing all solo state 2016-11-25 11:48:58 +00:00
Paul Davis
9f3bcf968d fix implementation of SoloControl::clear_all_solo_state()
This no longer emits Changed() unless a change was made, and more
importantly, calls AutomationControl::actually_set_value() if
the self-soloed value needs to be changed
2016-11-25 11:48:18 +00:00
Paul Davis
c5eda4cfe1 provisional changes to speed up solo changes to large numbers of routes.
Moves global update of solo state and emission of Session::SoloChanged to
a single point after 1 to N solo controls are changed.

Also avoid unnecessarily emitted Activated() signal for listen controls,
though Process::{activate,deactive}() should probably be redesigned to
avoid this in a "deeper" way
2016-11-25 10:29:42 +00:00
Robin Gareus
e35ce4c002 Speed up AFL/PFL changes for large sessions
update_latency_compensation() and resort_routes() are expensive and
were called for every individual change.
2016-11-25 10:41:23 +01:00
Robin Gareus
a7210d256e _maps_from_state is legal after unfreeze (restore state) 2016-11-24 21:58:50 +01:00
Robin Gareus
bc0fa4d689 Fix mysterious crashes such as #7049
Fixes an issue with corrupted std::lists<> due to concurrent writes
to the invalidation list which eventually resulted in
EventLoop::invalidate_request() not invalidating requests.
Concurrency sucks rocks hard.
2016-11-24 09:02:47 +01:00
Edgar Aichinger
dbd8909fad catch up with .de translation 2016-11-23 14:12:57 +01:00
nick_m
3a362563a4 constify some TempoMap functions. 2016-11-23 01:45:43 +11:00
nick_m
11090b2e01 remove set but not used variable in tempo.cc 2016-11-22 22:51:10 +11:00
nick_m
b53ea4ea0e amend 66488e117 - BBT clock scrolling handles multiple audio-locked meters. 2016-11-22 03:17:01 +11:00
nick_m
66488e1174 TempoMap::bbt_duration_at() handles an audio-locked meter.
- fixes some odd results when scrolling down/up over the BBT clock display.
2016-11-22 00:29:53 +11:00
Edgar Aichinger
979d5d12f3 update german translation 2016-11-20 23:29:03 +01:00
nick_m
5b8e213ff9 fix typo in tempo.cc 2016-11-21 07:08:04 +11:00
Robin Gareus
33a67c26be Allow to call ARDOUR.DSP Lua functions from UI scripts 2016-11-19 21:56:52 +01:00
Robin Gareus
97f81479d3 fix ambiguity 2016-11-19 01:36:34 +01:00
John Emmas
b4b600a7b8 Generally speaking we use Glib::usleep() now in preference to standard ::usleep() 2016-11-18 20:01:43 +00:00
John Emmas
ed7b6fee0c Remove the MSVC 'poll()' emulation now that Ardour's stopped using poll() 2016-11-18 18:19:08 +00:00
Len Ovens
3e3791b72e OSC: mark session dirty if setup changes 2016-11-18 08:43:58 -08:00
Len Ovens
1015e19ad3 OSC: issue 7116 fix send enable not working 2016-11-18 07:53:40 -08:00
Robin Gareus
d624bac38e Recursively scan for MacVSTs 2016-11-18 02:36:04 +01:00
nick_m
c37d31054b remove thinko in MidiRegion::post_set().
- should fix incorrect midi region length on split.
2016-11-18 06:48:44 +11:00
Robin Gareus
cbd1a25f8c Fix track-templates with sidechains -- closes #7117 2016-11-17 16:31:40 +01:00
Robin Gareus
9298ad856a fix type in prev. commit 2016-11-17 14:08:26 +01:00
Robin Gareus
170380fda9 Add runtime option to disable MacVST 2016-11-17 14:06:45 +01:00
Robin Gareus
08f94c0878 Allow to migrate sessions with VST plugins 2016-11-17 14:06:41 +01:00
Robin Gareus
cc72cff504 try VST2.4's VSTPluginMain first
This fixes a crash with loading u-he Diva on windows.
2016-11-17 13:03:36 +01:00
Robin Gareus
cd5a319e48 fix mingw64 debug build 2016-11-17 12:58:28 +01:00
Robin Gareus
4c8380ce75 fix 32bit+PPC OSX builds 2016-11-16 17:25:02 +01:00
Robin Gareus
f6bdb4bb3c update MSVC project in the wake of cf1651e6 2016-11-15 23:11:50 +01:00
nick_m
586882f86c a better fix for 6ed8c113a2 (scope) 2016-11-16 05:18:35 +11:00
nick_m
6ed8c113a2 Region:;set_state() should always set quarter_note.
- fix for 4.x sessions showing notes stacked at session start.
2016-11-16 05:03:14 +11:00
Robin Gareus
cf1651e6d7 consolidate VSTState functions 2016-11-15 17:10:13 +01:00
John Emmas
f944c24c4b Accommodate a newly introduced source file in our MSVC project (libardour)
(although I'm not sure if it's actually used yet in the Windows build).
2016-11-15 11:12:25 +00:00
Robin Gareus
15161d641d really fix windows compilation. 2016-11-15 03:25:32 +01:00
Robin Gareus
694de29953 amend 5dc2497100 ...get the windows version to compile.
eventually vststate_init() needs cleaning up, but not tonight.
2016-11-15 03:21:02 +01:00
Robin Gareus
5dc2497100 rework 8e3b6c9ac (fstwin is C code, not C++) 2016-11-15 02:49:41 +01:00
Robin Gareus
4e8d705d99 fix another typo (f30fbcaaf) 2016-11-15 01:18:10 +01:00
Robin Gareus
3e7d620c9c Fix some typo. 2016-11-15 00:44:13 +01:00
Tim Mayberry
d10913e2de Fix intermittent hang when stopping PortaudioBackend
This issue is not always reproducible but when it does occur it happens
somewhat consistently on both 32bit and 64bit builds(Tested on Windows 7).

The midiOutReset call does not return (or it takes so long that it might as
well be indefinite) and as it is not strictly necessary just remove it.

Resolves: http://tracker.ardour.org/view.php?id=7095
2016-11-15 09:36:52 +10:00
Robin Gareus
35de5080a6 add signal for VST state load
MacVST has no dedicated VST event-loop to directly handle this.
2016-11-15 00:32:59 +01:00
Robin Gareus
f30fbcaaf9 Fix VST state-lock SNAFU (effSetChunk and process are exclusive) 2016-11-14 21:06:18 +01:00
Robin Gareus
8e3b6c9ac6 consolidate VSTState initialization 2016-11-14 21:06:18 +01:00
Robin Gareus
48c470d51d Pass const references to plugin-list 2016-11-14 21:06:18 +01:00