Commit graph

20148 commits

Author SHA1 Message Date
Paul Davis
6a8b177f06 don't bother compiling nsview code swizzling for PPC
The platform has no support for libdispatch which is handy when setting up an objective C block,
and also has no Retina, which means it doesn't suffer the problem this code is intended to fix
2016-05-04 17:38:26 -04:00
Robin Gareus
8882ef79d3 use existing API to find the instrument 2016-05-04 17:52:17 +02:00
Robin Gareus
106851b33a add option to limit track-header meters to stereo 2016-05-04 17:36:40 +02:00
Robin Gareus
6236c201bd NO-OP, whitespace 2016-05-04 12:57:30 +02:00
Robin Gareus
e48da9d5d0 tweak cases where pin-mapping is reset & always sanitize map 2016-05-03 20:12:58 +02:00
Robin Gareus
abb3c0f220 fix typo in fda03d1f1 2016-05-03 19:24:49 +02:00
John Emmas
dc1a2fbca7 MSVC won't compile 'const float _demolition[]' because it uses 'divide by zero' while initializing
Hopefully we can use INFINITY and NAN for the relevant initializers ?
2016-05-03 17:30:58 +01:00
John Emmas
a12288d9b5 Accommodate newly introduced source(s) in our MSVC project (audiographer) 2016-05-03 17:26:41 +01:00
Robin Gareus
ad4fe51255 handle single-bus, non-variable i/o Audio Units w/multiple configurations. 2016-05-03 18:17:29 +02:00
Alexandre Prokoudine
e3e7901688 Update Russian translation 2016-05-03 16:01:30 +02:00
Robin Gareus
1535cffbb0 Sidechain is one word 2016-05-03 14:42:39 +02:00
Robin Gareus
fda03d1f17 consistent menu labels 2016-05-03 14:33:37 +02:00
Robin Gareus
f148d70d41 batch remove tracks 2016-05-03 14:27:57 +02:00
Robin Gareus
4c40fe8d04 another (non critical) concurrency issue:
Ignore latency-updates while removing tracks.

remove_tracks() calls disconnect_all() which can trigger the backend
to perform a latency-recompute in a different thread (process thread).
That calls Session::update_latency() which iterates over all routes
including the one(s) to be deleted.

At the same time disconnect_all() may propagate Port::PostDisconnect()
leading to a lock contention.

(no crash just a lot of unnecessary work. remove_routes() calls
update_latency_compensation() which triggers a recompute if needed)
2016-05-03 14:27:52 +02:00
Robin Gareus
433f18049b skip updating editor-route display when closing the session 2016-05-03 14:27:48 +02:00
Robin Gareus
d5050cd0f4 mark initial TAV as hidden to speed up initial display.
This prevents an extra call to "redisplay" from TAV::hide() which
triggers handle_gui_changes.
Visible TAVs are positioned using show_at() which unsets _hidden.
2016-05-03 14:27:42 +02:00
Robin Gareus
6f858b51d2 speed up track creation
For every added Trackview/Mixerstrip, Ardour looks up GUI properties which
results in a total of 13 calls for the initial default items per track:
("height", "visible", "layer-display", "strip-width")

Since the tracks don't yet exist, the properties don't either.
Every lookup result in iterating over all all XMLNotes and for every
"Object". ->property ("id") and ->value () allocates memory.

Adding 64 tracks to an empty session results in 528293 string
allocations and deallocations in XMLNode::property() taking ~30%
of the track creation time.

This commit XMLnode's const method to prevent memory allocation
and caches a pointer to the XMLNode* to skip iterating over object
state.
2016-05-03 14:27:36 +02:00
Robin Gareus
255b5174c4 add a const method to check for existing key/value properties
handy to lookup up XMLNodes with "id" == ID w/o allocating memory.
2016-05-03 03:03:00 +02:00
Robin Gareus
c2e4cd2c6a use same tooltip timeout throughout Ardour -- part two 2016-05-02 20:24:54 +02:00
Robin Gareus
42e2cc0976 use same tooltip timeout throughout Ardour -- part one 2016-05-02 20:24:46 +02:00
Robin Gareus
9b49b29061 _plugin_display can be a LuaPluginDisplay 2016-05-02 17:12:42 +02:00
Robin Gareus
06fd881672 remove a stray semicolon 2016-05-02 15:44:13 +02:00
Robin Gareus
1fc50d4c9f Export format GUI updates for loudness normalization 2016-05-02 15:44:13 +02:00
Robin Gareus
d01cb7910f Add loudness normalization to Export Format & Graph 2016-05-02 15:44:13 +02:00
Robin Gareus
7547f02c07 prepare loudness normalization 2016-05-02 15:44:13 +02:00
Robin Gareus
bd461fe202 tweak AU redrawing blocking heuristics 2016-05-01 20:02:22 +02:00
Robin Gareus
35c01e552f increase visibility of actual compiler warnings 2016-05-01 20:02:22 +02:00
Robin Gareus
cafa1b1b4d Rhythm Rodent updates:
* fix aubio parameters (aubio-vamp picks them up on reset)
* group settings by Mode
* add new aubio4 functions and param
2016-05-01 18:48:27 +02:00
Robin Gareus
9d50074a99 fix aubio-onset detection parameters 2016-05-01 18:47:14 +02:00
Robin Gareus
5f65964ee9 add option to auto-save post-export-analysis image
first revision, needs some label position fine-tuning and maybe
an option to include log-scale/rect waveform etc.
2016-05-01 18:09:37 +02:00
Robin Gareus
13b9476f40 fix plugin-creator display for non LADSPA plugins
e.g. "u-he"
2016-05-01 16:27:11 +02:00
Robin Gareus
e6b95a3d65 fix a Wsigncompare and 2 -Wuninitialized 2016-05-01 13:35:30 +02:00
Robin Gareus
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
Robin Gareus
7bed91938b fix adding favorite plugins post-fader 2016-05-01 13:11:43 +02:00
Robin Gareus
b85de06669 make region > Edit context menus identical 2016-05-01 02:02:32 +02:00
Robin Gareus
32fcc42fb4 NO-OP use spaces throughout the menu file, remove trailing whitespace. 2016-05-01 02:02:29 +02:00
Robin Gareus
8fe2a308a5 GUI updates for transient rework 2016-05-01 02:02:25 +02:00
Robin Gareus
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
Robin Gareus
791ac8f843 API call to be removed 2016-05-01 00:28:54 +02:00
Paul Davis
84de618047 use CFRunLoopTimer to check the effect of plugin redrawing, not a glib idle 2016-04-30 13:20:08 -04:00
Paul Davis
8b52b69810 make BasicUI (for control surfaces) loop toggle work like the GUI 2016-04-30 10:54:40 -04:00
Robin Gareus
a725fde23d enable luaproc presets 2016-04-29 18:34:41 +02:00
Robin Gareus
6d49e24503 implement lua plugin presets 2016-04-29 18:34:27 +02:00
Robin Gareus
69bd02bd25 remove skeleton backend (superseded by portaudio) 2016-04-29 16:43:09 +02:00
Robin Gareus
69f99ee184 I wanna be nasty, I wanna be cruel,..
Somme disastrous signal generators for QA.
2016-04-29 16:10:09 +02:00
Paul Davis
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
Robin Gareus
29053585a5 save custom favorite plugin order (revert when merging VCA2) 2016-04-29 02:58:01 +02:00
Robin Gareus
d6fb182e9b add Lua DSP plugin category 2016-04-29 02:57:57 +02:00
Robin Gareus
1888104f8d remove "Lua DSP Proc" context meuu 2016-04-29 02:57:51 +02:00
Robin Gareus
25f65d0b90 include lua processors in plugin-selector 2016-04-29 02:57:48 +02:00