1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00
Commit graph

260 commits

Author SHA1 Message Date
reuk
d0615041f0
Plugin clients: Avoid notifying listeners when parameters have not changed 2021-09-28 11:31:49 +01:00
reuk
cfec0b5356
GenericAudioProcessorEditor: Add support for grouped parameters 2021-09-27 15:44:48 +01:00
reuk
334bd2a926 AUv3 Client: Notify host when updating current program 2021-08-03 18:27:23 +01:00
ed
6d53ed3fec AUv3: Handle AURenderEventMIDIEventList 2021-07-27 12:32:28 +01:00
ed
bdc2334c98 AUv3: Fix unhandled enumeration warning when building against the 12.0 SDK 2021-07-26 10:21:51 +01:00
ed
d52fb9ca26 AUv3: Suppress undeclared selector warning for supportsMPE when building against the 10.11 SDK 2021-07-26 10:21:51 +01:00
reuk
85226c33d4
Mac MainMenu: Allow commands without modifiers to be passed to peer
Ideally, we want to pass shortcut keys to the component to handle, and
only fall back to invoking a menu item if the component was unable to
handle the keyboard event, or if the action was triggered by
clicking/selecting an item in the menu itself. The old implementation
tried to work out whether the action was triggered by a shortcut by
checking the event's characters and modifiers. This method was
inaccurate, because some shortcuts (such as arrow keys) may add
unexpected numpad/function modifier flags.

We now try handling shortcut keys directly in the peer, and pass events
up to the superclass (which will forward them to the main menu) if the
event could not be handled.

This commit also adjusts some Objective-C method signatures to use the
correct string encoding for the BOOL type.
2021-07-14 14:49:05 +01:00
attila
56cf81d32b AU Client: Fix allocation on audio thread in JuceAU::audioProcessorChanged() 2021-06-25 15:05:19 +00:00
reuk
423d46c9ba
AU Client: Avoid potential out-of-bounds read when adding buses 2021-06-25 12:38:18 +01:00
reuk
bc2ad3d7c5
Build: Improve support for AU resource files on ARM Macs 2021-06-25 11:12:37 +01:00
Tom Poole
bfdda737a2 Projucer: Removed the live build 2021-05-14 12:54:07 +01:00
reuk
40fa4ff90c
AU Client: Fix variable naming 2021-05-12 15:54:53 +01:00
ed
c9731d4827 AUv3: Removed a duplicate statement in getCurrentPosition() 2021-04-29 17:31:33 +01:00
reuk
75ed712b19 AU Wrapper: Fix build errors when using PreferredChannelConfigurations 2021-04-19 22:32:51 +01:00
reuk
965f14311d
AUv3 Wrapper: Tidy up sample rate detection 2021-04-19 14:37:38 +01:00
reuk
cafb437762
AU Wrapper: Use correct sample rate for MIDI FX with no buses
MIDI FX AudioUnits can retrieve their current sample rate from an output
bus. However, it's reasonable for a JUCE MIDI FX plugin to require 0
output buses, in which case the correct sample rate cannot be retrieved.

This patch modifies the AU wrapper to ensure that MIDI FX plugins will
always have at least one output bus. This bus does not necessarily
correspond to a matching bus in the AudioProcessor, and it will not be
passed to AudioProcessor::processBlock. With the output bus in place,
the correct sample rate is reported in `prepareToPlay`.
2021-04-19 14:37:38 +01:00
Tom Poole
a9ad07a945 Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
reuk
7b6ad28b46
AUv3 wrapper: Allow host to resize editor view 2021-03-15 19:23:02 +00:00
reuk
c7feb75b97
PluginHostType: Use the name of the bridged hosting process to determine host
This patch also moves PluginHostType into juce_audio_processors in order
to allow hiding of function implementations.
2021-03-11 11:03:57 +00:00
reuk
1b4960b5bf
PluginHostType: Fix host reporting in bridged hosts on M1
Reports the correct host name for Apple hosts on M1 which host plugins
in a separate process.

Affected hosts are:
- Logic Pro
- GarageBand
- MainStage
- Final Cut Pro
2021-03-10 18:07:22 +00:00
reuk
75fae3bf21
AU: Fix midi output to use correct packet alignment on ARM 2021-03-02 11:15:51 +00:00
reuk
a48a564f9e AU: Use slightly more readable channel type 2021-02-23 18:05:06 +00:00
reuk
b1917085db
AudioProcessor: Update listener callback with change details 2021-02-18 10:54:29 +00:00
reuk
2a199d5225
AUv3: Fix hangs loading multiple AUv3 instances in Logic 2021-01-15 16:43:11 +00:00
reuk
586ab8927d Fix warnings when building in C++20 mode 2021-01-15 13:33:40 +00:00
reuk
0d96ec9baf AppConfig: Ensure AppConfig is always included in plugin wrappers
Previously, the `JUCE_APP_CONFIG_HEADER` macro wasn't being defined/included
in some of the wrapper files, which meant that there was a danger of these
files building without important JucePlugin_Build_* macros defined.
2020-10-20 10:16:13 +01:00
ed
c492da9971 AUv3: Normalise incoming realtime parameter changes 2020-10-09 14:46:23 +01:00
ed
ccfee61773 iOS: Removed some unused deployment target checks 2020-07-20 17:17:53 +01:00
ed
c8a416f476 Obj-C++: Added obc_msgSendSuper_stret overloads for ObjCMsgSendSuper() and refactored the superclass messaging a bit 2020-07-10 17:50:05 +01:00
juce-team
f9f5caa5cc
macOS 11: Fix function pointer conversions 2020-07-08 09:58:01 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
ed
73e4cb832d AU: Resize host window correctly when global scale != 1 2020-05-28 09:49:29 +01:00
ed
b57509c4a2 Removed some cross-module relative includes 2020-05-22 16:46:52 +01:00
ed
2bfed0b354 Removed some unnecessary JUCE_MODULE_AVAILABLE_* checks 2020-05-22 16:46:52 +01:00
reuk
0e9fb915fa
CMake: Add Wpedantic as a recommended warning flag 2020-05-14 14:36:09 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
eae9a10944 MidiBuffer: Add iterator compatible with C++11 range-for 2020-04-13 13:16:06 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
reuk
dddeb1ad68 Build: Fix Xcode 11.4 compatibility issues 2020-03-25 13:10:32 +00:00
reuk
bbd2184e3b Demos: Fix some build issues in demos with more warnings enabled 2020-03-20 14:28:36 +00:00
Tom Poole
7ebaac9827 Added a JUCE_AU_WRAPPERS_SAVE_PROGRAM_STATES option to the juce_audio_plugin_client module 2019-11-26 17:01:22 +00:00
Tom Poole
0ceadf510b Fixed compatibility with JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE 2019-11-26 10:11:00 +00:00
Tom Poole
8c535e8fdd Fixed an issue saving state in the AU and AUv3 backends 2019-11-20 09:24:00 +00:00
Tom Poole
6ca163e99f Fixed an Xcode 11 build warning 2019-09-23 13:26:37 +01:00
ed
cdd9206b13 AUv3: Include framework headers slightly later to fix build error when targeting iOS 13.0 2019-08-05 16:52:24 +01:00
Tom Poole
016b04c64f A minor code tidy 2019-07-30 14:35:08 +01:00
Tom Poole
bc3e330f97 AUv3: Fixed a potential crash when producing MIDI from plug-ins 2019-06-25 13:33:20 +01:00
Tom Poole
d4b7cceb32 Fixed more compiler warnings 2019-06-11 16:42:38 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00