13
0
Commit Graph

20316 Commits

Author SHA1 Message Date
4727fa337d fix: gcc4.2 / PPC compilation
no match for 'operator!=' in 'x != std::list<_Tp, _Alloc>::rend()
[with _Tp = long long int, _Alloc = std::allocator<long long int>]()'
2016-05-01 13:20:53 +02:00
7bed91938b fix adding favorite plugins post-fader 2016-05-01 13:11:43 +02:00
b85de06669 make region > Edit context menus identical 2016-05-01 02:02:32 +02:00
32fcc42fb4 NO-OP use spaces throughout the menu file, remove trailing whitespace. 2016-05-01 02:02:29 +02:00
8fe2a308a5 GUI updates for transient rework 2016-05-01 02:02:25 +02:00
82d1d7ef0b various transient-detection fixes (split region, trim, move, undo,..)
* all API calls use session-time (allow region-lists)
* per-region transients are separated in
  - Onset (Rhythm Rodent, Aubio)
  - User-added
  - internal/source (QM), used as fallback for next/prev (read-only)
2016-05-01 02:02:04 +02:00
791ac8f843 API call to be removed 2016-05-01 00:28:54 +02:00
84de618047 use CFRunLoopTimer to check the effect of plugin redrawing, not a glib idle 2016-04-30 13:20:08 -04:00
8b52b69810 make BasicUI (for control surfaces) loop toggle work like the GUI 2016-04-30 10:54:40 -04:00
a725fde23d enable luaproc presets 2016-04-29 18:34:41 +02:00
6d49e24503 implement lua plugin presets 2016-04-29 18:34:27 +02:00
69bd02bd25 remove skeleton backend (superseded by portaudio) 2016-04-29 16:43:09 +02:00
69f99ee184 I wanna be nasty, I wanna be cruel,..
Somme disastrous signal generators for QA.
2016-04-29 16:10:09 +02:00
d574039dd4 clean up of displayIfNeeded hack code
Remove most debug output (not all). Rename variables and functions. Add comments
2016-04-29 08:20:01 -04:00
29053585a5 save custom favorite plugin order (revert when merging VCA2) 2016-04-29 02:58:01 +02:00
d6fb182e9b add Lua DSP plugin category 2016-04-29 02:57:57 +02:00
1888104f8d remove "Lua DSP Proc" context meuu 2016-04-29 02:57:51 +02:00
25f65d0b90 include lua processors in plugin-selector 2016-04-29 02:57:48 +02:00
e56c8f0309 don't special case lua processors, use plugin-manager 2016-04-29 02:57:42 +02:00
961e7ecdc8 clever tricks with code swizzling to slow down errant plugin GUIs for AU
This commit swizzles (replaces) NSView::displayIfNeeded to allow us to stop redraws of plugin
windows if the Glib idle timer fires less often then every 40msec. The next 10 plugin redraws
(for all plugin windows combined) will be skipped. Heuristics will likely need some adjustments
2016-04-28 18:42:04 -04:00
7f1bd3c941 consolidate and re-order luasession code 2016-04-28 21:38:09 +02:00
17d782829e flush pending Session Events at session close
This prevents a memory leak: The session is closed.
The session-butler drops memory pool trash. The Engine keeps running.

Once the AudioEngine is taken down (sample-rate switch, or at exit),
the backend process-thread is terminated but there is no trash-can anymore.

If there are unprocessed SessionEvents, this calls
free_per_thread_pool() -> cp->parent()->add_to_trash (cp).
"parent()" in this case the trash-can the butler emptied.
2016-04-28 21:37:18 +02:00
633f218911 fix a deadlock with jack2 when inserting a plugin adds ports.
When adding a processor, the processor may add ports leading to
a call to jack_port_register(). while Ardour holds a WritertLock on the
processor-list (this commit removes this WriterLock).

with jack2 that results in a graph-reorder callback (WHY?)

jack2 issues that graph-reorder in a separate thread BUT
port-registration does not return until the graph-reorder is complete.

On Ardour's side, graph_reordered() calls Session::resort_routes ()
which eventually checks Route::direct_feeds_according_to_reality()
which needs a ReadLock on the processor-list to check I/O.

Since jack_port_register() does not return, this constitutes a deadlock.

THE ACTUAL PROBLEM IS JACK2's THREAD DESIGN!
Why does jack_port_register() trigger a graph-order in jack2?
No connections are made.
..and why does it block jack_port_register() from returning if
that graph-order callback is in a different thread?
http://pastebin.com/DZANXJLz
2016-04-28 21:15:26 +02:00
d81547efb4 add a debug message for LV2 per port buffer allocation 2016-04-28 12:27:53 +02:00
11b2bcbde3 for mixed-i/o show HW ports of both types in the matrix
e.g. sidechain inputs with audio and midi.
2016-04-28 02:52:16 +02:00
3d07cfce10 remove unnecessary lines+changes 2016-04-27 20:14:10 -04:00
04d86ebd8d fix logic bomb 2016-04-27 20:12:15 -04:00
42983959d2 if built on OS X without live resizing features, make AU plugin windows non-user-resiable 2016-04-27 19:59:40 -04:00
c0673497a6 add a new configure-time for Cocoa live resizing macros
These were added in 10.6 but we're trying to be nice and look for the feature,
not some version
2016-04-27 19:59:40 -04:00
b961c1d8f2 another attempt to use platform-specific path for the default VST path 2016-04-27 17:39:38 -05:00
370b507d45 amend c1c81a239c after testing 2016-04-27 23:52:34 +02:00
c8a46a6502 some linuxVST GUI details: initialize lock, add a note. 2016-04-27 23:34:55 +02:00
b3e12d6566 pin connection GUI for variable I/O plugins 2016-04-27 23:34:55 +02:00
c30b47f0eb allow to customize variable i/o plugin inputs 2016-04-27 23:34:55 +02:00
b191408f98 fix default 64bit Windows VST path ( untested ) 2016-04-27 14:56:19 -05:00
70b88d5e89 change ordering of origin-move and window-resize for AU plugins 2016-04-27 15:48:13 -04:00
c1c81a239c probable fix for 64bit VST signal latency 2016-04-27 21:45:00 +02:00
f5f1976600 show debug out when AU NSView doesnt get moved 2016-04-27 15:24:00 -04:00
4a226385b6 OSC: Fix Solo to work with both SIP and Listen. 2016-04-27 09:06:46 -07:00
4005ef9db6 tweak LV2 atom buffer allocation strategy
Allow to re-use Midi buffers for GUI communication. Honor
resize-port extension for all Atom Sequence buffers.
(following example of http://lv2plug.in/book/#_sampler)
2016-04-27 14:46:24 +02:00
2cc7faab21 significant reworking of AudioUnit window resizing.
Tested on Apple Multiban Comp, Apple Dynamics Proc, AU Sampler, Zebra2 and Zebralette.

Still have a 1-2 pixel white border at lower and right edge after window is dragged larger.

Also, debug output.
2016-04-27 00:03:14 -04:00
9634888bf3 add the concept of a "state mask" that determines what info a WindowProxy will save 2016-04-27 00:03:14 -04:00
559860f016 make -D VSTCallbacks readable 2016-04-27 01:44:55 +02:00
da26a55b31 canvas tooltips, too 2016-04-27 01:24:37 +02:00
336cf2ab1f re-enable "Show Tooltip" preference (needs testing on all platforms) 2016-04-27 01:08:31 +02:00
49e5494907 also hide persistent tooltips
debatable, since most of them are not "help/tool info" but rather
"current value display".
Then again tooltip is tooltip and can be annoying or not wanted.
2016-04-27 01:07:53 +02:00
54e01f4e48 towards fixing optional tooltips
Editor::parameter_changed() is not called for UIConfig changes.
"use-tooltips" was never triggered.
2016-04-27 01:06:01 +02:00
bc553b7d9d remove duplicate "bld.install_files" call 2016-04-26 22:45:06 +02:00
671eddb610 deploy all *.colors files in binary bundles 2016-04-26 22:42:28 +02:00
cda5b48b96 initialize output data ports for cases where the plugin is not run
(e.g. load session with inactive track, or instantiate an audio plugin
on a midi track before the synth)
2016-04-26 22:21:00 +02:00