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

157 commits

Author SHA1 Message Date
reuk
e890736965
AudioDeviceManager: Improve initialise() parameter naming 2025-11-17 19:33:54 +00:00
reuk
b1ec95db6e
Revert "AudioDeviceManager: Handle loading of XML with missing fields more gracefully"
This reverts commit 3c1012baeb.

This change caused the AudioDeviceManager to open a fallback device if
the device name was empty, the requested number of channels was
positive, and selectDefaultDeviceOnFailure was true.

The new behaviour conflicted with the documented behaviour of
initialise(). The number of input/output channels is to be treated as a
maximum, rather than a preferred count. If a positive channelsNeeded is
requested but the device name is empty, a default device should not be
opened since the actual number of channels (0) is lower than the maximum
specified number.
2025-11-17 19:33:54 +00:00
reuk
9a7ac1f743
Bela: Drop support 2025-09-17 12:50:05 +01:00
Anthony Nicholls
36d07a6ce3 Docs: Replace doxygen preprocessor conditionals with @cond and @endconds 2025-07-21 18:11:43 +02:00
reuk
3c1012baeb
AudioDeviceManager: Handle loading of XML with missing fields more gracefully 2025-06-03 16:08:56 +01:00
reuk
b4f71ab6db
AudioDeviceManager: Tidy up CallbackMaxSizeEnforcer 2025-05-27 14:39:25 +01:00
reuk
ee37564083
AudioDeviceManager: Move CallbackMaxSizeEnforcer from StandaloneFilterWindow 2025-05-27 14:39:25 +01:00
Anthony Nicholls
76e498f495 AudioDeviceManager: Skip validation when there is only one device 2025-02-27 14:50:53 +00:00
Oliver James
f608e7cce2 juce_audio_devices: Add support for JACK on Windows and macOS 2024-12-11 13:50:13 +00:00
Oliver James
951b02c86d AudioDeviceManager: Always save audioDeviceBufferSize 2024-12-06 12:19:16 +00:00
attila
1f8882dee0 Avoid assertions during AudioDeviceManagerTests 2024-12-04 15:40:21 +00:00
Oliver James
59bb818f09 AudioDeviceManager: Remove AudioDeviceManager::restartDevice 2024-11-15 15:00:50 +00:00
reuk
5c1b75cab7
Platform: Remove compatibility checks for Windows 8.1 and earlier 2024-07-03 13:47:06 +01:00
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01:00
Tom Poole
6bf9bb9a2e Add final specifiers in implementation files 2023-10-10 16:12:38 +01:00
Anthony Nicholls
158220ddfa Formatting: Use nested namespace definitions 2023-10-09 14:49:18 +01:00
Tom Poole
4153d59e39 Formatting 2023-10-02 15:42:20 +01:00
reuk
1f90ecf6e3 WASAPI: Allow querying default layouts 2023-09-20 19:17:54 +01:00
Oliver James
7d9cdd3016 Audio: Add AudioWorkgroup support
This allows real-time threads to join an audio workgroup on Apple platforms.
2023-08-30 12:03:47 +01:00
Tom Poole
ff835be2ac Doxygen: Fix some Doxygen issues 2023-07-17 18:24:01 +01:00
reuk
26a872ba9f
AudioDeviceManager: Send changeNotification when MIDI devices change
This patch also updates the MidiDemo to automatically refresh the device
lists when the set of available devices changes.
2023-01-25 17:07:24 +00:00
reuk
238fbfca94
AudioIODeviceType: Fix typo 2023-01-25 17:07:24 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00: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
attila
3323c68f96 AudioDeviceManager: Take sample rate compatibility into account during default device selection 2022-08-25 15:20:24 +02:00
attila
5ec536f13f CoreAudio: Forward errors to callback during device initialisation 2022-08-25 15:18:26 +02:00
Oli
2bca60e52c AudioDeviceManager: Fix MidiOutput dangling pointer
Changed the lifetime of the default MIDI oputput.
Removed the need for Timer workaround in AudioDeviceSelectorComponent.
2022-05-10 16:32:36 +01:00
reuk
cfa289d943
AudioProcessor: Allow querying of the host timestamp in processBlock 2022-04-22 14:18:49 +01:00
reuk
19ddbe2368
Warnings: Fix missing-prototypes warnings 2022-04-22 14:18:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
Tom Poole
1f29416fd0 AudioDeviceManager: Improve device sample rate handling 2022-04-01 14:31:46 +01:00
reuk
df206371ff
AudioDeviceManager: Ensure device settings are up to date before notifying callbacks 2022-01-17 10:58:18 +00:00
reuk
2fc254b72e
AudioDeviceManager: Avoid overwriting user-specified devices in initialise unless absolutely necessary
This fixes an issue where specifying an audio device type before calling
initialise could cause a different device to become active, even if the
requested device type had usable devices.

With this change in place, a new device type will only be selected if
the current device type has no devices.
2021-11-24 11:51:12 +00:00
reuk
4011c2e898
AudioDeviceManager: Compute output level after all IO callbacks have run 2021-11-19 16:35:21 +00:00
ed
b9542ccc4c Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
2021-09-29 16:14:00 +01:00
reuk
58be21d6dc
AudioProcessLoadMeasurer: Allow specifying number of samples per-block 2021-09-28 14:04:11 +01:00
reuk
fb09a97be4
AudioDeviceManager: Fix and test preferredDeviceName lookup 2021-09-28 11:31:47 +01:00
reuk
22f0f2b433
AudioDeviceManager: Refactor to avoid repetition 2021-09-28 11:31:47 +01:00
reuk
34bda5d75b
AudioDeviceManager: Always try to pick an initial device type that has some connected devices 2021-09-28 11:31:47 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
reuk
4cefb3707c
AudioDeviceManager: Ensure current state is updated correctly when device settings are updated 2021-04-14 14:31:43 +01:00
Tom Poole
79fbde7099 Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
ed
240089bcbc AudioDeviceManager: Fixed backwards compatibility when passing an empty string to removeMidiInputCallback() 2021-02-18 08:47:42 +00:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators 2021-01-28 20:14:11 +00:00
ed
b235b8de09 Updated some old docs 2021-01-06 17:16:52 +00:00
ed
6195a5ab60 Windows: Added support for IAudioClient3 shared stream low latency mode in the WASAPI audio device, removed JUCE_WASAPI_EXCLUSIVE config flag and refactored AudioIODeviceType creation 2020-09-04 16:51:39 +01:00
ed
21e4522891 Ensure that audio device is always stopped before modifying in AudioDeviceManager::setAudioDeviceSetup() 2020-07-21 15:51:15 +01:00
ed
b5214a341e Normalised lambda whitespace 2020-06-05 09:37:56 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00