1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

1239 commits

Author SHA1 Message Date
hogliux
3705a5c413 AUv2: Fix crash in Ableton Live when bus name listeners are called for no reason 2022-10-26 09:34:49 +02:00
reuk
ccf9818902
AU Client: Fix bug where PluginHostType reported a wrapper type of "undefined" for AU plug-ins 2022-10-19 14:28:43 +01:00
chroma
d3cff375be Thread: Introduce a new Thread backend
This is a breaking change - see BREAKING-CHANGES.txt
2022-10-18 11:49:47 +01:00
hogliux
1ae2a150d5 VST3 Client: Fix a compiler error in the VST3 wrapper when a plug-in uses the legacy PreferredChannelConfigurations option 2022-10-07 11:54:43 +02:00
reuk
ddfceb12b2
VST3 Client: Return correct programListId for root unit
This change fixes an issue where the program list was not populated in
Cubase 12.
2022-10-06 17:34:00 +01:00
reuk
69e0727ffd
VST3 Client: Attempt to preserve scale set by host 2022-10-06 17:33:59 +01:00
hogliux
f370edcb5d VST3: Fix an issue with sidechain configurations in Cubase 2022-10-05 08:41:56 +02:00
hogliux
75f9cc0e22 AAX: Set AudioPlayHead's editOriginTime even if the effectiveRate is zero 2022-10-05 08:41:56 +02:00
reuk
3b8792d5c5
AUv3 Client: Correctly set default channel layout for buses with more than two channels 2022-09-29 12:05:42 +01:00
reuk
2ab3db90eb
AAX Client: Ignore deprecation warnings in third-party headers 2022-09-27 15:18:21 +01:00
attila
c97864d7f3 Remove AudioIODeviceCallback::audioDeviceIOCallback 2022-09-22 07:50:18 +00:00
attila
f075de78fa AudioIODeviceCallback, AudioBuffer, AudioFormatReader: Use const T* const* for multi-channel data 2022-09-22 07:50:18 +00:00
hogliux
c07a77a8f9 AAX: Inform host of more parameter attributes when audio processor calls updateHostDisplay 2022-09-21 12:03:20 +02:00
reuk
77f5da93ac
AU Client: Fix build problem when PreferredChannelConfigurations enabled 2022-09-14 16:16:26 +01:00
reuk
c51bfd7429
Unity Client: Avoid returning pointer to stack memory 2022-09-12 16:14:57 +01:00
reuk
436150b221
CMake: Avoid adding target for LV2 manifest helper unless specifically required 2022-09-12 16:14:57 +01:00
reuk
b3a4d54a72
Build: Update the minimum C++ standard to C++17 2022-09-12 16:14:57 +01:00
reuk
f8e91d4003
AU: Replace CoreAudioUtilityClasses with files from new SDK 2022-09-12 16:14:56 +01:00
reuk
6c3b410e6f
VST3 Client: When emulating MIDI CCs with parameters, generate a MIDI event for each parameter event
Based on a similar patch in the Surge-XT fork of JUCE.

Co-authored-by: Paul Walker <paul@pwjw.com>
2022-09-01 15:44:26 +01:00
reuk
e0fd976779 VST2: Always request a resize from the host when attaching an editor
This fixes an issue in Live 11.2 where editors using OpenGL would be
scaled incorrectly after closing and reopening the editor.
2022-08-31 17:42:47 +01:00
reuk
e64f87b26c OpenGL: Allow setting window bounds from repaint callback
On Windows, the OpenGL context window sometimes receives a repaint
request after moving between screens with different scale factors.
If the screen has changed size/scale since the last paint operation,
failing to invalidate the painted area may cause the screen contents
to be drawn at the wrong scale until paint is next called.
2022-08-31 17:42:47 +01:00
reuk
11b4672b55 VST3 Client: Fix occasional incorrect scaling in Ableton Live when rendering with OpenGL
This patch fixes an issue where closing and reopening a plugin editor in
Live could cause it to display at the wrong scale when using OpenGL.
2022-08-31 17:42:47 +01:00
reuk
7ebd34012c LV2 Client: Use preferredChannelConfiguration if available when writing manifest 2022-08-31 17:42:47 +01:00
reuk
028d1eea78 Projucer: Fix signing issue when building LV2 plugins on Arm macs 2022-08-31 17:42:47 +01:00
reuk
6d267c2fdc
AUv3 Client: Improve const-correctness 2022-08-25 10:52:33 +01:00
reuk
a1e8aa4278
AUv3 Client: Remove unnecessary base class 2022-08-25 10:52:32 +01:00
reuk
064fb6fa53
AUv3 Client: Switch static data member for proper singleton 2022-08-25 10:52:32 +01:00
reuk
dedfac8dd8
AUv3 Client: Tidy up static methods 2022-08-25 10:52:31 +01:00
reuk
6de9927347 CMake: Avoid building juce_lv2_helper unless required for LV2 target 2022-08-23 18:10:27 +01:00
Tom Poole
7296b8e3f7 Bump version number to 7.0.2 2022-08-15 17:26:35 +01:00
attila
9d73008dc2 ARA: Fix ARA debug configuration
The ARA SDK's debug functionality is included in the audio_processors
module, hence the configuration had to be moved there from
juce_plugin_client.
2022-08-15 12:07:40 +02:00
reuk
9712775e5b
macOS: Remove macOS 10.12 preprocessor checks
The current minimum-supported Xcode (10.1) includes the macOS 10.14.1
SDK, so APIs from macOS 10.12 will always be available.
2022-08-04 22:51:17 +01:00
reuk
a22b23e335
iOS: Remove iOS 11 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 10 will always be available.
2022-08-04 22:51:17 +01:00
attila
6c09aa69d9 VST3 Client: Fix setComponentState() threading on Linux
Before this commit it was possible for the plugin to transfer control
to its internal MessageThread and call
IComponentHandler::restartComponent() from it.
2022-07-14 19:18:27 +00:00
Tom Poole
cf8a2d93c0 Android/iOS: Avoid building LV2 2022-07-07 09:15:30 +01:00
Tom Poole
fd8607302d Bump version number to 7.0.1 2022-07-04 15:07:43 +01:00
attila
6ea3788a3b VST3 Client: Fix warning when PreferredChannelConfigurations are set 2022-06-30 15:10:15 +00:00
reuk
f3ca634049
VST3 Client: Fix missing prototype warning 2022-06-27 14:38:26 +01:00
reuk
a2dc45d6a8 VST3 Client: Fix missing-prototype warning 2022-06-24 18:37:27 +01:00
Tom Poole
8b399998b4 Bump version number to 7.0.0 2022-06-21 08:38:55 +01:00
reuk
752c913cd2
AudioPlayHead: Move HostTimeNs out of AudioProcessor, to consolidate timing information 2022-06-16 16:19:09 +01:00
reuk
8fbd99c424
AudioPlayHead: Improve granularity of position info 2022-06-16 16:18:20 +01:00
reuk
891daf1332
Optional: Update implementation to improve debugging experience
This patch also makes Optional public to end users.
2022-06-16 16:17:53 +01:00
reuk
964a1aa870
VST3 Client: Allow host to enable/disable buses at will
Previously, activateBus would fail if the new BusesLayout wasn't
supported, as reported by isBusesLayoutSupported. However, according to
the VST3 docs, a host is allowed to enable and disable buses in any
combination, and the plugin should be able to handle this gracefully.

The ability to enable/disable individual buses without failure is
particularly important because there's no VST3 API to set a complete bus
layout in one go. That is, the only way to set all buses active or all
buses inactive is to set the appropriate state on each bus individually,
which in turn means that at some point, some buses will be active and
some will be inactive. Disallowing such 'intermediate' states may
prevent the host from putting the plugin into other (valid) states.

To ensure that the VST3 wrapper always accepts activateBus calls, it now
keeps track of the activation state of each bus as requested by the
host. When the host tries to change the activation state, the wrapper
will try to set the host's "ideal" bus layout on the AudioProcessor. If
this fails, the AudioProcessor will retain its previous bus layout.

The buffer remapping inside the process callback has been made more
robust, to handle cases where the host and the AudioProcessor disagree
about the activation state of each bus:

For input buses:
- If the host has activated the bus, but the AudioProcessor decided to
  keep the bus inactive, the host's input will be ignored.
- If the host deactivated the bus, but the AudioProcessor wanted to keep
  the bus active, the AudioProcessor will be provided with silence on
  that bus.

For output buses:
- If the host has activated the bus, but the AudioProcessor decided to
  keep the bus inactive, the wrapper will clear the host's output
  bus buffers.
- If the host deactivated the bus, but the AudioProcessor wanted to keep
  the bus active, the AudioProcessor's output on that bus will be
  ignored.

The AudioBuffer passed to the wrapped AudioProcessor will no longer
contain any pointers from the host's ProcessData. Instead, the host's
inputs will be copied (in JUCE channel order) to a temporary buffer,
and this temporary buffer will be passed to
AudioProcessor::processBlock. After processBlock, the buffer contents
will be copied to the host's output buffers.

This change is intended to avoid a potential issue when reordering
channels into JUCE order, which may necessitate copying a host input
channel to a different host output channel. In the case that the host is
using the same buffers for both inputs and outputs, copying an input to
an output channel may end up overwriting another input channel, breaking
the plugin's inputs.
2022-06-13 15:29:58 +01:00
reuk
e86436297d
LV2 Client: Update param IDs to avoid writing malformed manifests 2022-06-07 12:41:53 +01:00
Tom Poole
c7cabbbaba VS2022: Work around a compiler bug 2022-05-23 20:20:44 +01:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
attila
5f4da905d7 ARA Client: Add ARA interface extensions to AU and VST3 wrappers 2022-05-12 12:31:30 +02:00
attila
cc8aa57793 AU Client: Only call prepareToPlay() from SetProperty() if already in prepared state 2022-05-11 16:06:18 +02:00
attila
3b5d7898ed VST3 Client: Only call prepareToPlay() from IComponent::setActive() 2022-05-11 16:06:18 +02:00