Commit Graph

16843 Commits

Author SHA1 Message Date
Robin Gareus
650f027a9b Backport VST3 diagnostic pragma
Fixes excessive warnings when compiling on macOS.

This will be overwritten with the identical upstream fix
https://github.com/steinbergmedia/vst3_pluginterfaces/blob/master/base/falignpush.h
with the next tools/update_vst3.sh run
2021-03-01 22:14:38 +01:00
Robin Gareus
291de1d277 Fix OSX and non GCC builds 2021-03-01 16:20:38 +01:00
Robin Gareus
b064b3c136 OSC: fix some compiler warnings 2021-02-28 20:01:06 +01:00
Robin Gareus
0c3eaf188b OSC: liblo compatibility fix
see also 770fd1519c
2021-02-28 20:00:04 +01:00
Robin Gareus
7195ca20e0 Update weak_libjack - https://github.com/x42/weakjack/
This fixes an issue with recent MSVC causing a compile-error
due to __attribute__((constructor))
2021-02-28 16:27:22 +01:00
Robin Gareus
770fd1519c Liblo compat fix
Upstream liblo changed the opaque type `lo_message` from void*
to a custom struct {}.

2c1ef1c682/
2021-02-28 02:25:02 +01:00
Robin Gareus
81d833e938 Fix Windows builds, declare class-keys for bindings 2021-02-27 16:51:37 +01:00
Robin Gareus
ace11bd243 Consistency: replace "x-run" with "xrun" (1/2) 2021-02-26 22:22:08 +01:00
Robin Gareus
1ae8ebf7c0 Fix OSX/PPC builds
monitor_port.cc:164: error: reference to 'AudioBuffer' is ambiguous
candidates are:
 CoreAudio.framework/Headers/CoreAudioTypes.h:106: typedef struct AudioBuffer AudioBuffer
 ardour/audio_buffer.h:34: error: class ARDOUR::AudioBuffer
2021-02-26 13:38:29 +01:00
Robin Gareus
d2d268263c Add Lua Bindings to access Bundles 2021-02-26 13:34:24 +01:00
Robin Gareus
611fff21ae NO-OP: remove unused variables 2021-02-25 23:57:33 +01:00
Robin Gareus
4ccad6eae4 Fix pasting processors pre-fader #7416
Previously when using index == 0, a hidden processor
(Recorder or Delayline) would be returned instead of the first
actual processor.
2021-02-25 19:54:12 +01:00
Robin Gareus
a9192266d0 Only save engine-hints when ardour started the engine 2021-02-25 17:53:45 +01:00
John Emmas
d2cb383965 MSVC changes to support the new code modules (Tabbable API stuff) 2021-02-24 14:32:23 +00:00
Robin Gareus
dfffec9b58 Allow forcing cue-monitoring 2021-02-24 00:20:21 +01:00
Robin Gareus
0b00eabb19 Store recently used backend with session
This is in preparation to warn a user in case the session
is loaded with a different device and connections may be lost.
2021-02-23 19:22:22 +01:00
Robin Gareus
02ba5a7cd1 Remove unused Tabbable tab_title (3/3) 2021-02-23 17:30:26 +01:00
Robin Gareus
d264cbb21b Prepare for Tabbable API change (1/3) 2021-02-23 17:22:22 +01:00
Ben Loftis
6f28d71729 ArdourButton: add flags to force boxy/flat style
Add flags ForceBoxy, ForceFlat for the rectab track header grid
2021-02-22 01:00:06 +01:00
Robin Gareus
6939470f81 Add input-meter layout preference enum 2021-02-22 01:00:06 +01:00
Robin Gareus
f7af89aeff Run input meters, concurrently with cycle-start 2021-02-22 01:00:05 +01:00
Robin Gareus
2efb7244fa Remove old (v4.x, v5.0) plugin cache code 2021-02-22 01:00:05 +01:00
Robin Gareus
ee7a5961b0 Unset plugin-cache-version when cleaning any cache 2021-02-22 01:00:04 +01:00
Robin Gareus
00d1391ed9 Remember version that was used to scan VST plugins 2021-02-22 01:00:03 +01:00
Robin Gareus
8497298d73 Custom themable frame container
As opposed to Gtk::Frame, this allows the background color of
the content, inside the frame to be set and follows Ardour theme
options.
2021-02-22 01:00:03 +01:00
Robin Gareus
f91cb13cce Facilitate callbacks when Tab is detached/attached 2021-02-22 01:00:01 +01:00
Robin Gareus
d5a105e777 Keep track of capture duration 2021-02-22 01:00:01 +01:00
Robin Gareus
78c5537639 Use MonitorReturn for Monitor Bus 2021-02-22 01:00:00 +01:00
Robin Gareus
114d5f20e6 Add Monitor Return
This is a special case of an Internal Return processor
dedicated to the monitor-section. The main use-case will
be to collect signals from physical ports in a realtime-safe
manner (no connections or Port creation)
2021-02-22 00:59:59 +01:00
Robin Gareus
b48ce43ade Implement Input Monitoring 2021-02-22 00:59:59 +01:00
Robin Gareus
2556f47c2b Move method exclusive/momentary-solo setup to libardour
This allows to re-use the method in various places, outside of
RouteUI (e.g. control surfaces, recorder page)
2021-02-22 00:59:58 +01:00
Robin Gareus
f2d2ea4baa Refactor Solo/Mute release
This is in preparation to move RoueUI::SoloMuteRelease
to libardour to reuse the implementation in various places.
This also prepares the solo logic for exclusive port-monitoring.
2021-02-22 00:59:58 +01:00
Robin Gareus
ecdaf7136d Add dedicated Monitor Port
This allows for rt-safe monitoring, collecting data
directly from input-ports without requiring a dedicated connection
or dynamic ARDOUR::AudioPort creation.
2021-02-22 00:59:57 +01:00
Robin Gareus
1610b0baae MonitorSection: fade input in/out for AFL/PFL
This slowly un/mutes the direct monitor signal when listen state
changes.

Listen sends already fade in as well. However un-soloing still
hard-removes the listen send path.
2021-02-22 00:59:57 +01:00
Robin Gareus
18882ef17c Lua: allow cast of ControlList to AL (for undo)
see also https://discourse.ardour.org/t/write-cc-automation-to-midi-region-via-lua/105512
2021-02-21 19:11:20 +01:00
Robin Gareus
4a5b355d3d Handle JACK latency callbacks in sync with process thread #8304
see also b5e479dfc3
2021-02-20 00:46:47 +01:00
Robin Gareus
3f4e2fa348 ALSA: retain port-connections of slave devices
When the engine is re-started, ports should only be reconnected
when all slave devices are running. Previously those connections
were lost.
2021-02-19 14:03:37 +01:00
Robin Gareus
8089998eaa Consistent DiskIO Processor naming
Use a name-prefix when creating the processor just like later
DiskReader::set_name() DiskWriter::set_name() do.
2021-02-19 14:03:32 +01:00
Robin Gareus
e6bbcd415d Remove unused methods (to query public latency) 2021-02-19 14:03:27 +01:00
Robin Gareus
ae1eb0bbad Backport VST3/musl support -- GH #596
This will be overwritten with the identical upstream fix
https://github.com/steinbergmedia/vst3_pluginterfaces/blob/master/base/fplatform.h#L98
with the next tools/update_vst3.sh run
2021-02-17 20:38:26 +01:00
Robin Gareus
d05572e14a Fix round-corner backround of insensitive ArdourWidgets
ArdourButton draws a custom insensitive background, using
the color "gtk_background". This can conflict with gtk's
insensitive background color when using round-corners.
2021-02-14 22:53:18 +01:00
Robin Gareus
acae86781b Fix race condition when deleting tracks
In rare cases it can happen that the GUI thread results in
a call to DropReferences(), while the backend (RCU) still has a
reference to the track and processes the track.

However the call to DropReferences, DiskIO processor will
have cleared the pointer to _track, leading to segfaults when
the processor runs.

Since the DIO processor is owned by the track, one cannot directly
pass a shared_ptr<Track>. That would keep the Track around forever.

However the DIO processor cannot exist without a track passing
a reference is acceptable.
2021-02-14 21:43:36 +01:00
Robin Gareus
dc56272753 Don't create timeline x-run markers by default 2021-02-14 19:44:39 +01:00
Robin Gareus
8486a938ed Keep track of xruns per source when recording 2021-02-14 16:22:29 +01:00
Robin Gareus
d04713c0ab Add missing class to canvas forward declarations 2021-02-14 00:54:17 +01:00
Robin Gareus
0253f3b4e4 Expose resampler quality (read-only) 2021-02-13 16:47:51 +01:00
Robin Gareus
64160e755d VST3: improve verbose scanner output 2021-02-13 15:03:04 +01:00
Robin Gareus
01ac384380 Fix Intel/AMD FMA mix_buffers_with_gain()
see also 1fc8b55314
2021-02-13 01:05:01 +01:00
Paul Davis
5c4ed8ee2b fix logic error when deciding whether we are actually changing speeds 2021-02-12 11:42:39 -07:00
YQ-YSY
8e7a23642c New Chinese translation for Ardour 6.6 libs_ardour_po_zh.po 2021-02-12 09:47:29 -07:00