reuk
753b750858
Android: Fix build issues with OpenSL
Previously, JUCE_ANDROID_REALTIME_THREAD_AVAILABLE sometimes remained
unset, even though JUCE_USE_ANDROID_OBOE was set to its default value.
This is because in this case, JUCE_USE_ANDROID_OBOE is only defined in
juce_audio_basics.h, so it is not visible when compiling juce_core.cpp.
2 years ago
reuk
cfa289d943
AudioProcessor: Allow querying of the host timestamp in processBlock
3 years ago
reuk
19ddbe2368
Warnings: Fix missing-prototypes warnings
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
f4f6433374
Android: Fix OpenSL build
3 years ago
ed
69d4e0186f
Update code to use new AudioData interleaving/deinterleaving API
3 years ago
ed
3e606cc378
Update code to use new AudioData interleaving/deinterleaving helper methods
3 years ago
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
4 years ago
ed
3726d5f4a7
OpenSL: Correctly free interface objects
5 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
6725162cf8
Android: Reworked default buffer size calculation logic to prefer stream's frames per burst over OUTPUT_FRAMES_PER_BUFFER property
5 years ago
ed
896a68dd7b
Android: Reverted some recent Oboe buffer size changes
5 years ago
ed
a91b7aafd0
Android: Pulled out some shared OpenSL/Oboe code into juce_android_HighPerformanceAudioHelpers.h and updated Oboe buffer size behaviour to match OpenSL
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
4edb0d2c90
Tidied up some divider comments
5 years ago
ed
cd38d44d86
Android: Extend lifetime of OpenSLEngineHolder object to fix crash when deleting the current audio device
5 years ago
ed
7f7e903efa
Android: Use SharedResourcePointer to create a global OpenSL engine object
5 years ago
Tom Poole
670f77f80c
Fixed some Android compiler warnings
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
hogliux
008b7a9ab2
Re-structured the low-level Android native code
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
6 years ago
Tom Poole
f0a4b67915
Android: Fixed some compiler warnings
6 years ago
jules
a54535bc31
Made openSL select a default sample rate when 0 is passed in
6 years ago
jules
048cfd6a3c
Handled some uncaught error cases in android openSL
6 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
hogliux
0fae9341c8
Android: Ensured that JUCE will always use the high-performance audio path if the device supports it and that increasing the buffer size will more effectively reduce glitchess
7 years ago
jules
aecb819985
Replaced all our internal use of the old AudioSampleBuffer name with AudioBuffer<float> (for which AudioSampleBuffer is just a typedef)
7 years ago
jules
dd4230586f
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
7 years ago
hogliux
88f8fbc128
Android: Fixed a compiler error when building with older ndk versions
7 years ago
hogliux
a21a2a42dd
Android: Fixed a runtime-error introduced by a recent commit when building for Android <24
7 years ago
hogliux
8bb64a5ddc
Added getXRunCount to AudioIODevice as a way to get Xrun counts from underlying hardware
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
jules
7c6f3d40b6
Tidied up some method calls involving HeapBlock
7 years ago
hogliux
ac5797da58
Android: Fixed a race condition when switching the buffer size on the Android OpenSL audio device
7 years ago
hogliux
0d601faae5
Android: Add workaround for devices which falsely report supporting floating point audio
8 years ago
hogliux
03c08027ac
Android: Added new thread priority specifically for realtime audio render threads. Currently, only implemented in Android.
8 years ago
hogliux
ccb4ce8829
Android: Fixed a linker error when building in release mode
8 years ago
ed
8e7cc759f5
Made JUCE's Atomic class a simple wrapper around std::atomic on platforms that support it
8 years ago
hogliux
0b20507c8b
Android: Ensured that OpenSL audio callbacks can call into Java (even if this is not recommended)
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
hogliux
f506cc7f5d
Doubled the default number of Android OpenSL buffers to avoid glitches on a wider range of devices by default
8 years ago
hogliux
89a53dbf89
Fixed uninitialised variables in Android OpenSL which may have resulted in OpenSL using the slow audio path
8 years ago
hogliux
66365d55e2
Fixed a nullptr dereference when OpenSL fails unexpectedly and added a workaround for broken audio input support in recent versions of the android emulator
8 years ago
hogliux
0edd0e4632
Fixed a few Android warnings when building for ARM 64-bit
8 years ago
hogliux
7e39b58b31
Re-wrote android OpenSL backend adding support for native floating point buffers, unprocessed audio input and lock-free input/output audio syncing
8 years ago
hogliux
6559b3e185
Fixed multiple harmless warnings in Android builds
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago