Commit Graph

30904 Commits

Author SHA1 Message Date
Robin Gareus
c6222caea6 VST3: Implement verbose scan option 2020-10-24 03:21:25 +02:00
Robin Gareus
9ab84a95f1 Fix crash when copying replicated plugins
When copying a plugin via drag/drop or copying plugin state, use
the main instance only. Plugins will later be replicated as
needed when configuring processors.
2020-10-23 23:44:20 +02:00
Robin Gareus
c6545e3436 Really fix typos 2020-10-23 19:51:52 +02:00
Robin Gareus
00f288742f Fix typos in e9144d1542 2020-10-23 16:10:52 +02:00
Robin Gareus
2e98c57fb8 Finalize experiment: always propagate solo via sends
See also caf057f06d
2020-10-23 00:24:06 +02:00
Robin Gareus
8b6e1d78f9 Fix external/sidechain send solo propagation
Since caf057f06d sends propagate solo, however so far
only internal-sends properly cleaned up after disconnect or
removal.
2020-10-22 23:52:01 +02:00
Robin Gareus
e9144d1542 Bundle LV2 ontology with ardour binaries
This is needed for LV2 classes inheritance and to expand
properties of parent classes.

https://github.com/iurie-sw/geonkick/issues/130#issuecomment-714416342
2020-10-22 13:43:10 +02:00
Robin Gareus
32a0c6a3ff Drop TMM ports when closing session, or backend goes away
TMM ports cannot exist without a backend.
This fixes crashes where the PortEngine is re-initialized
(backend change):

Previously, TMM ports were only dropped (and recreated)
in TMM::restart() called from ARDOUR::init_post_engine().
When starting a new backend the old one is already destroyed,
but TM still held reference to Ports owned by that backend.
Calling the port's d'tor caused a memory corruption trying to
acquire the backend's port_callback_mutex:

e.g. When creating new session with a different backend
from a running instance, or unit-test after call to
AudioEngine::destroy(): https://pastebin.com/4D6pLA5s
2020-10-22 07:38:00 +02:00
Robin Gareus
8bc3e86066 Clean up TMM at exit 2020-10-22 07:38:00 +02:00
Robin Gareus
f3fbb96d6a Fix VST3 PSL channel-index order
While Ardour uses separate indices when naming tracks and busses
("track 1", "track 2", "bus 1", "bus 2"), the indices are contiguous
(0: "track 1", 1: "track 2", 2: "bus 1", 3: "bus 2").
2020-10-22 01:37:40 +02:00
Carlo Stemberger
e96c7e9b84 Fix broken link
Lua scripts moved to `share` subfolder
2020-10-21 15:57:58 +02:00
Robin Gareus
136919fc19 Ignore generaed translation files 2020-10-18 17:45:32 +02:00
Robin Gareus
a266a2d5b9 Use session API to set solo
This is required so that ::update_route_solo_state() is called
to propagate solo/mute state
2020-10-18 15:28:10 +02:00
Robin Gareus
72736289c8 NO-OP: rename API rename
CP selection API is now implemented as functions, not signals.
2020-10-18 14:47:05 +02:00
Robin Gareus
84bf97aa49 Update ControlProtocol API, use CoreSelection
* replace signal-emission with direct calls to CoreSelecton
  using BaseUI's session pointer
* remove unused leftmost strip API
* use CoreSelection for first-selected strip
* Accessing CoreSelection does not modify the session
  (allow access from const callbacks)
* replace static calls in P2 surface

This removes indirection and dependency on the GUI for
managing strip selection.
2020-10-18 14:44:38 +02:00
Robin Gareus
9b382fe1c5 VST3: use CoreSelection API
This implements bc78629788 properly, without relying
on libardour_cp static methods.
2020-10-18 14:36:09 +02:00
Robin Gareus
26a1d55f7a Implement _first_selected_stripable as part of CoreSelection 2020-10-18 14:29:12 +02:00
Robin Gareus
e6fe0e8cca Prepare for static CP API removal 2/2
This partially reverts bc78629788
2020-10-18 14:28:45 +02:00
Robin Gareus
818a81aa40 Prepare removing static selection API 1/2 2020-10-18 14:28:38 +02:00
Robin Gareus
d0e1ed403c Update some messages 2020-10-17 18:28:10 +02:00
Edgar Aichinger
1f7e4ee76a update german translation 2020-10-17 18:21:30 +02:00
Robin Gareus
8de420aab9 Enable AVX FPU unit-tests 2020-10-17 18:18:22 +02:00
Robin Gareus
01c278a00c Fix unit-test builds
For the time being (since bc78629788) vst3 plugin uses
the Control Protocol API for track selection and focus, and
hence users of libardour also need to use libardour_cp
2020-10-17 18:18:05 +02:00
Ayan Shafqat
1a7dc947a2 Fix for issue #8442
AVX optimized routine applying gain for Linux was causing SIGSEGV.
It was root caused to premature optimization on frames < 8, and
this commit fixes this issue.
2020-10-17 10:03:26 -04:00
Robin Gareus
fe71fb1273 NO-OP: consolidate VST2 Path preference dialog
This is in preparation for potentially allowing custom VST3 paths
2020-10-16 22:09:29 +02:00
Robin Gareus
b03bfbbbb7 VST3: fix utf8 -> utf16 string conversion 2020-10-16 17:58:45 +02:00
Robin Gareus
bc78629788 VST3: add support to focus/select tracks 2020-10-16 17:17:00 +02:00
John Emmas
e4781acd94 Correct a typo in my MSVC project file (vst3_scan) 2020-10-16 11:30:00 +01:00
Robin Gareus
1fa05b4764 Generate header before building dependency graph 2020-10-16 02:35:51 +02:00
Robin Gareus
e391352b6d Use predefined "testcommon" target for unit-tests 2020-10-16 02:32:30 +02:00
Robin Gareus
516a1b0d2e Use unique target names for unit-test build rules 2020-10-16 02:31:39 +02:00
Robin Gareus
dbd4607b13 VST3/ARM use uname -m not RPM Terminology
https://github.com/steinbergmedia/vst3sdk/issues/66
2020-10-15 23:32:52 +02:00
Robin Gareus
768b76bcfa Add workaround for softube console1 2020-10-15 21:48:56 +02:00
Robin Gareus
3b7b6a720d VST3: remove redundant query interface 2020-10-15 21:46:45 +02:00
Robin Gareus
c8c1e5d825 VST3: fix host query interface support 2020-10-15 21:10:00 +02:00
Robin Gareus
09a4dcee68 VST3: fix controller state restore
This partially reverts 9e7cfdd880, VST3 host-checker
uses complete state for the controller.
2020-10-15 20:45:26 +02:00
Robin Gareus
3271a96100 VST3: allow to debug TUID support 2020-10-15 20:40:35 +02:00
Robin Gareus
e1b38058a8 Fix FPU unit-tests 2020-10-15 19:38:10 +02:00
Robin Gareus
16d9e72c31 Fix OSX unit-test compile 2020-10-15 06:00:17 +02:00
Robin Gareus
fe8a05d6c9 libpbd signals.h depends on signals_generated.h
This fixes building with large concurrency where signals_generated.h
may otherwise be generated to late.
2020-10-15 05:45:51 +02:00
Robin Gareus
5daed56439 Fix NEON FPU unit-tests 2020-10-15 04:14:44 +02:00
Robin Gareus
547032afac Fix alignment unit-tests and ARM/NEON alignment 2020-10-15 03:55:42 +02:00
Robin Gareus
8ff7e18d78 Fix native builds on RPi with --dist-target=armhf 2020-10-15 03:07:34 +02:00
Robin Gareus
61310a9184 Enable AVX unit-tests 2020-10-14 23:08:28 +02:00
Robin Gareus
cc935ab34e Add basic FPU unit test 2020-10-14 22:52:43 +02:00
Olivier Humbert
b527e47165 Fix for the French translation 2020-10-14 16:42:57 +02:00
cooltehno
ff6a8fa02e Update dark-ardour.colors 2020-10-14 15:52:17 +03:00
Robin Gareus
3cae10ab40 Elaborate MIDI rewrite example script 2020-10-14 01:56:36 +02:00
Robin Gareus
1698928f3d Transmitter::Debug implementation 2/2
This also sorts switch() and listen_to() statements in order
of severity: debug, info, warning, error, fatal, throw.
2020-10-13 21:58:29 +02:00
Robin Gareus
e4e94e77c9 Transmitter::Debug implementation 1/2
This also sorts switch() and listen_to() statements in order
of severity: debug, info, warning, error, fatal, throw.
2020-10-13 21:58:26 +02:00