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

269 commits

Author SHA1 Message Date
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
tpoole
2398f4c1d3 Used AsyncUpdater for iOS stream format changes 2017-03-08 11:03:01 +00:00
jules
a96163df2a Fixed a couple more unused variables in iOS audio 2017-03-08 10:29:26 +00:00
jules
279c4bc4db Fix for some unused variables in iOS audio 2017-03-08 10:08:49 +00:00
tpoole
d8504a6090 Moved iOS stream format changes to the message thread 2017-03-07 17:13:23 +00:00
tpoole
607b09ab7b Fixed graphics dependent header includes for IAA 2017-03-06 10:31:38 +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
tpoole
4c59a920b4 Added Inter-App Audio capabilities to standalone plug-ins 2017-03-01 11:55:52 +00:00
hogliux
0edd0e4632 Fixed a few Android warnings when building for ARM 64-bit 2017-02-28 14:03:45 +00:00
tpoole
17bc5740a5 Fixed a bug opening MIDI devices from a Windows plug-in 2017-02-27 10:38:54 +00:00
tpoole
9a38505dad Added experimental WinRT MIDI support, enabling BLE MIDI on machines with Windows 10 Anniversary Update installed 2017-02-20 17:36:36 +00:00
tpoole
0b3e192567 Restricted sample rate changes for composite audio devices to common sample rates only 2017-02-14 15:48:20 +00:00
tpoole
bd73eec326 Broadcast external OS X sample rate changes to audio device change listeners 2017-02-13 18:48:11 +00:00
Felipe F. Tonello
c2100022cc Added several linux improvements to the event loop, MIDI and X11 (see commit messsage)
MIDI: Several ALSA Seq improvements
===================================

Many things were done in this patch (I couldn't really split in several
patches):
 * Only one ALSA Sequencer client per application
 * ALSA Sequencer client name is the application's name by default
 * Fixed a bug when getDeivces() would return devices created by the
   application itself
 * Only ports created with createNewDevice() are allowed to be subscribed,
   other ports (created by openDevice()) doesn't allow subscription
 * AlsaPort is now handled by AlsaClient, basically having the proper
 representation such as the ALSA Sequencer has.

Files: Fix default directory paths
==================================

Some information on:
* Linux LSB FHS:
  http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs-30
* https://wiki.archlinux.org/index.php/Xdg_user_directories

Refactor Event loop to remove X11 dependency
============================================

The goal of this refactor was to remove X11 dependencies on juce_events
to enable non-gui applications (example, Embedded Linux apps) to have no
libx11 dependency.

The side-effect of this refactor is easy implementation of other Linux
graphical back-end, cleanup some code, better handling of X displays and
other benefits.

I removed a lot of the code from juce_linux_Windowing to separate files
for clarity. I also renamed all Linux X11 files to *linux_X11* instead of
just *linux*.

X11: Remove unnecessary XGrabButton call
========================================

This call is made unnecessary if used proper window flags when a window
is created.
2017-02-13 17:14:34 +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
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
7e1279e3f9 Fixed an int sign conversion warning 2017-01-18 12:05:20 +00:00
tpoole
4b69d0fb44 Fixed buffer size and sample rate changes in iOS background audio 2017-01-09 18:23:16 +00:00
tpoole
1e5865c458 Restored original iOS sample rate after querying all available sample rates 2017-01-05 11:19:25 +00:00
tpoole
21aad5e20c Fixed IO channels when selecting <<none>> as OS X audio device 2016-12-14 10:22:25 +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
tpoole
8e7ed3ae7d Fixed MacOS 10.12 deprecations 2016-12-02 11:37:52 +00:00
hogliux
3f72a03f30 Fixed whitespace in last commit 2016-11-11 15:16:12 +00:00
hogliux
c2caad42b5 Added missing CoInitialize when using ASIO audio device 2016-11-11 15:05:28 +00:00
jules
aa5d1d1ec0 Tweaked CoreAudio to allow buffer sizes of 2048 2016-11-08 09:35:50 +00:00
hogliux
3e7b5993ca Moved audio CD burner/reader to juce_audio_utils 2016-10-20 14:33:02 +01:00
jules
9fa0d49be7 Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc. 2016-09-16 12:03:02 +01:00
tpoole
979d3b62a2 Fixed crash on internal changes within aggregate audio devices on OS X 2016-08-24 09:39:05 +01:00
tpoole
881dfce40f Fix deadlock in handleRouteChange for iOS audio. 2016-08-23 17:45:21 +01:00
ed
79dd695731 added ScopedLock to iOSAudioIODevice::handleRouteChange method to avoid race condition 2016-08-12 15:51:42 +01:00
ed
bc77b00700 MIDI network session enabled for iOS simulator 2016-08-04 12:24:21 +01:00
hogliux
bf582f6c5b Fix errors and warnings on mingw-w64 2016-08-01 18:29:12 +01:00
hogliux
1e41898bbc Fix a memory leak in linux ALSA code for MidiInput/MidiOutput 2016-08-01 14:47:39 +01:00
hogliux
76007233ae Correctly account for midi ports in Alsa when listing/opening devices and other ALSA midi cleanups 2016-07-11 15:27:35 +01:00
jules
6fc1242ca5 Added some constructors to ReferenceCountedObjectPtr and ScopedPointer that specialise for std::nullptr_t. As well as being more optimal, this has the added bonus of forcing people to correctly use nullptr instead of '0'. 2016-07-05 09:54:06 +01:00
jules
1a5f71b74d Added some logic to MidiDataConcatenator that avoids asserting on invalid input data 2016-06-07 16:54:18 +01:00
jules
f58eda8f3e Added 32K as a supported ASIO sample rate 2016-06-03 11:03:48 +01:00
jules
7abbf67a1a Tweaked the iOS audio device to make the default buffer size play in the simulator 2016-06-01 10:33:28 +01:00
hogliux
0a040c6b97 Update avtive ports when opening JACK audio device 2016-05-24 17:05:46 +01:00
hogliux
a3c377bcd0 Move kAudioUnitProperty_MaximumFramesPerSlice setting/query after initialisation 2016-05-23 14:42:34 +01:00
hogliux
77a8b9eab5 Fix a few warnings 2016-05-20 16:41:24 +01:00
hogliux
b3ee8806d6 Set kAudioUnitProperty_MaximumFramesPerSlice on iOS 2016-05-19 09:46:38 +01:00
jules
676b27ef68 Added a MidiDataConcatenator to the linux MIDI implementation, to help handle large and broken-up sysex messages 2016-04-26 11:27:57 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01: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
jules
7a973372ad Added an assertion in OSX MIDI device detection, as this can apparently fail if not done on the message thread 2016-03-10 10:10:00 +00:00
Timur Doumler
9ea874428c Added feature RuntimePermissions, which allows to request permissions at runtime to access the microphone and bluetooth (required for Android apps using SDK Level 23 and above). 2016-02-25 10:12:30 +00:00
jules
b5907fa90d Normalised some divider comments 2016-02-20 09:45:43 +00:00