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

75 commits

Author SHA1 Message Date
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.
2022-12-14 11:12:32 +00: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
ed
f4f6433374 Android: Fix OpenSL build 2021-12-20 09:24:01 +00: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
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
3726d5f4a7 OpenSL: Correctly free interface objects 2020-07-01 19:12:17 +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
ed
6725162cf8 Android: Reworked default buffer size calculation logic to prefer stream's frames per burst over OUTPUT_FRAMES_PER_BUFFER property 2020-04-16 12:18:49 +01:00
ed
896a68dd7b Android: Reverted some recent Oboe buffer size changes 2020-04-03 18:56:23 +01:00
ed
a91b7aafd0 Android: Pulled out some shared OpenSL/Oboe code into juce_android_HighPerformanceAudioHelpers.h and updated Oboe buffer size behaviour to match OpenSL 2020-03-12 17:28:27 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
ed
4edb0d2c90 Tidied up some divider comments 2019-09-06 12:00:26 +01:00
ed
cd38d44d86 Android: Extend lifetime of OpenSLEngineHolder object to fix crash when deleting the current audio device 2019-08-14 12:12:33 +01:00
ed
7f7e903efa Android: Use SharedResourcePointer to create a global OpenSL engine object 2019-07-23 14:09:36 +01:00
Tom Poole
670f77f80c Fixed some Android compiler warnings 2019-06-06 16:50:12 +01:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
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.
2018-11-13 12:33:40 +00:00
Tom Poole
f0a4b67915 Android: Fixed some compiler warnings 2018-11-09 14:04:46 +00:00
jules
a54535bc31 Made openSL select a default sample rate when 0 is passed in 2018-10-23 15:02:28 +01:00
jules
048cfd6a3c Handled some uncaught error cases in android openSL 2018-10-23 12:50:14 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
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 2018-02-06 15:41:39 +00:00
jules
aecb819985 Replaced all our internal use of the old AudioSampleBuffer name with AudioBuffer<float> (for which AudioSampleBuffer is just a typedef) 2017-10-30 14:52:47 +00:00
jules
dd4230586f Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up 2017-10-11 12:26:05 +01:00
hogliux
88f8fbc128 Android: Fixed a compiler error when building with older ndk versions 2017-10-11 12:21:14 +01:00
hogliux
a21a2a42dd Android: Fixed a runtime-error introduced by a recent commit when building for Android <24 2017-09-25 14:23:03 +01:00
hogliux
8bb64a5ddc Added getXRunCount to AudioIODevice as a way to get Xrun counts from underlying hardware 2017-09-21 16:26:07 +01:00
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 2017-09-08 08:59:55 +01:00
jules
7c6f3d40b6 Tidied up some method calls involving HeapBlock 2017-09-05 16:06:57 +01:00
hogliux
ac5797da58 Android: Fixed a race condition when switching the buffer size on the Android OpenSL audio device 2017-08-23 18:22:17 +01:00
hogliux
0d601faae5 Android: Add workaround for devices which falsely report supporting floating point audio 2017-07-18 11:44:39 +01:00
hogliux
03c08027ac Android: Added new thread priority specifically for realtime audio render threads. Currently, only implemented in Android. 2017-07-03 16:50:59 +01:00
hogliux
ccb4ce8829 Android: Fixed a linker error when building in release mode 2017-06-26 18:23:16 +01:00
ed
8e7cc759f5 Made JUCE's Atomic class a simple wrapper around std::atomic on platforms that support it 2017-06-09 20:38:10 +01:00
hogliux
0b20507c8b Android: Ensured that OpenSL audio callbacks can call into Java (even if this is not recommended) 2017-06-06 11:09:20 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
hogliux
f506cc7f5d Doubled the default number of Android OpenSL buffers to avoid glitches on a wider range of devices by default 2017-03-10 12:09:13 +00:00
hogliux
89a53dbf89 Fixed uninitialised variables in Android OpenSL which may have resulted in OpenSL using the slow audio path 2017-03-10 12:06:39 +00:00
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 2017-03-02 12:09:15 +00:00
hogliux
0edd0e4632 Fixed a few Android warnings when building for ARM 64-bit 2017-02-28 14:03:45 +00:00
hogliux
7e39b58b31 Re-wrote android OpenSL backend adding support for native floating point buffers, unprocessed audio input and lock-free input/output audio syncing 2017-02-08 18:31:55 +00:00
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
tpoole
2e84129479 Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license 2016-12-14 10:07:26 +00:00
Timur Doumler
70949aa0c6 Added several new features: support for AudioUnit v3, new simplified JUCE module format, deleted the Introjucer and replaced it by the Projucer, various improvements for exporting of iOS and Android projects. 2016-04-06 18:31:24 +01:00