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

993 commits

Author SHA1 Message Date
reuk
550d61e487
AudioIODevice: Ensure CoreAudio device can be restarted after stopping 2022-01-17 10:58:18 +00:00
reuk
f429647ae9
MinGW: Add uuid definitions for MinGW-w64 2022-01-17 10:58:17 +00:00
Tom Poole
8a6e1980d0 Bump version number to 6.1.4 2021-12-20 11:06:15 +00:00
ed
f4f6433374 Android: Fix OpenSL build 2021-12-20 09:24:01 +00:00
ed
3f7791bbfe ASIO: Include max size when adding supported buffer sizes 2021-12-13 12:56:15 +00:00
reuk
44404508fe Bump version number to 6.1.3 2021-12-08 15:26:08 +00:00
reuk
d5099ecf4d Documentation: Add doxygen guards to UMP namespace 2021-12-08 15:26:07 +00:00
ed
fc0f6b1f2f Tidy up 2021-12-02 09:24:55 +00:00
ed
b8cb4da497 ASIO: Amend 61fdde7c to always sleep after calling setSampleRate() 2021-12-02 09:24:34 +00:00
reuk
f269f1d6c9
UMP: Make documentation private until APIs become public 2021-12-01 15:44:07 +00:00
ed
61fdde7cf9 ASIO: Add short sleep after calling setSampleRate() to allow devices to respond to changes 2021-11-30 17:07:31 +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
f1b6bbc921
CoreAudio: Fix thread sanitizer warnings 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
7d1918b385 macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword 2021-10-13 15:06:18 +01:00
reuk
eb3c3ed27c
AudioTransportSource: Fix thread sanitizer warnings
The AudioPlaybackDemo was previously triggering thread sanitizer
warnings when starting playback.
2021-10-06 16:59:07 +01:00
ed
69d4e0186f Update code to use new AudioData interleaving/deinterleaving API 2021-10-06 16:44:51 +01:00
ed
3e606cc378 Update code to use new AudioData interleaving/deinterleaving helper methods 2021-10-05 17:30:13 +01: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
ed
291f88abb2 macOS/iOS: Suppress and fix unguarded availability warnings 2021-09-29 16:13:27 +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
b0bd1c4f63
SingleThreadedAbstractFifo: Move into juce_core 2021-09-27 13:15:39 +01:00
reuk
9199fa3c51
Warnings: Avoid triggering missing-prototypes warnings on macOS/iOS 2021-09-23 10:28:47 +01:00
reuk
fd87195941
iOS Audio: Allow specifying a fixed set of preferred sample rates
By defining JUCE_IOS_AUDIO_EXPLICIT_SAMPLERATES, the iOS audio device
will always use the requested samplerates instead of querying the
current audio device for the samplerates it supports. This is useful
because certain hardware (such as the Focusrite iTrack Dock) takes a
long time to set new samplerates, which can end up freezing the main
thread for significant lengths of time.

This approach is inspired by the AUM app for iOS, which appears to
provide a fixed list of "allowed" samplerates, rather than querying the
device for its allowed samplerates.
2021-09-22 10:23:04 +01:00
reuk
3f5862cf17
WASAPI: Tidy up internal buffering mechanism 2021-09-22 10:23:04 +01:00
Tom Poole
bc75010116 Bump version number to 6.1.2 2021-09-20 12:15:47 +01:00
Tom Poole
f1fecfdc88 Add some missing Doxygen tags 2021-09-20 11:36:56 +01:00
Tom Poole
5109e30c6f Bump version number to 6.1.1 2021-09-09 12:51:15 +01:00
Tom Poole
46fe3789fc Bump version number to 6.1.0 2021-08-23 09:55:56 +01:00
ed
a6df818255 Android: Update to Oboe release 1.6.1 2021-08-11 11:50:04 +01:00
ed
39772b7474 Android: Remove old minimum SDK version checks 2021-08-11 11:50:04 +01:00
ed
cffb544941 UMP: Remove juce_audio_devices dependency 2021-07-27 12:32:22 +01:00
reuk
3c68581567
Use jassertquiet where possible 2021-07-23 10:58:44 +01:00
reuk
48659d6e9b
MIDI: Avoid data races in Linux MidiInput 2021-07-15 09:59:08 +01:00
ed
0c89469ab6 CoreAudio: Call AudioDeviceStop() on IO thread when stopping audio devices
When AudioDeviceStop() is called from a thread other than the IO thread there are no guarantees about the IOProc being called before the thread actually terminates. Moving this call to the audioCallback() method ensures that the device will be stopped immediately and we can remove a check that was taking a few seconds to close devices.
2021-06-29 16:14:48 +01:00
Tom Poole
78be43888e Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
reuk
2096a6e50f
UMP: Make the UMPIterator a forward iterator instead of an input iterator 2021-06-22 10:58:46 +01:00
reuk
a70488e38e MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0 2021-06-10 15:20:39 +01:00
ed
7d349fd68f CoreAudio: Pass AudioDeviceIOProcID to AudioDeviceStart()/AudioDeviceStop() functions 2021-06-10 14:17:16 +01:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings 2021-06-03 17:30:44 +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
900282ccf3
MinGW: Fix warnings and errors emitted when building VST3 plugins 2021-05-13 12:10:06 +01:00
ed
d6ac6b543b Removed some unnecessary angled brackets 2021-04-27 15:56:01 +01:00
ed
8aa84abd7c Oboe: Updated to release 1.5.1 2021-04-27 11:56:35 +01:00
ed
0fc1ede50f Used MemoryBlock::isEmpty() in a few places 2021-04-22 18:22:06 +01:00
ed
b5c0c75a5b ASIO: Read buffer size after setting device sample rate 2021-04-20 17:24:49 +01:00
ed
27af34af8b ASIO: Support larger buffer sizes 2021-04-20 17:24:49 +01:00