Commit Graph

30898 Commits

Author SHA1 Message Date
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
Robin Gareus
51871489ad Add Gtk style for debug message 2020-10-13 21:58:24 +02:00
Robin Gareus
9a4237ba83 Add debug transmitter
This is in preparation to conveniently duplicate debug messages
to Window > Log. For cases where stdout/err is not easily accessible.
2020-10-13 21:27:16 +02:00
Robin Gareus
9ddd83d829 VST3: cont't work on PSL extensions
* fix notification strings
* optional mute/solo controls (master bus)
2020-10-13 20:20:23 +02:00
Robin Gareus
6baecca57b VST3: debug PSL callbacks 2020-10-13 15:56:32 +02:00
Robin Gareus
c5618f01d6 VST3: only expose Mixbus sends via PSL extensions 2020-10-13 03:49:19 +02:00
Robin Gareus
4b3b13457e Fix typo in previous commit 2020-10-13 01:37:37 +02:00