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

71 commits

Author SHA1 Message Date
Tom Poole
d81ce3ce03 Fixed an issue falling back to an incompatible audio device configuration after a disconnection 2018-12-05 08:38:02 +00:00
Tom Poole
faf7fb1960 Fixed a bug in the AudioDeviceSelectorComponent when selecting zero channels 2018-12-04 14:47:25 +00:00
Tom Poole
578022d011 Allowed the AudioDeviceManager to fall back to the default device on device disconnection 2018-12-04 11:26:20 +00:00
jules
93ea3d922f Added class AudioProcessLoadMeasurer, and a new version of the method AudioDeviceManager::getAudioDeviceSetup() 2018-09-10 11:46:47 +01:00
jules
aa7d7aee78 Tweaked AudioDeviceManager::getXRunCount() to take into account xruns from both the device and the manager's measurements 2018-04-24 09:30:18 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
jules
5a122e124a Added support for Bela in the form of an AudioIODeviceType 2018-03-19 15:50:38 +00:00
hogliux
60a3798536 Fixed an issue in the audio device manager which made it impossible to switch the number of channels 2018-03-13 15:45:49 +00:00
Lukasz Kozakiewicz
c859b4af1d Android: add support for Google Oboe (developer preview). 2018-03-07 17:43:39 +01:00
ed
dc96e99738 Made the AudioDeviceManager input/output level getters return a reference-counted struct to ensure that the level processing code is only executed when needed 2018-02-22 10:01:25 +00:00
jules
1f770cc7c8 Made AudioDeviceManager reset its cpu counter when the device is disabled. (Also did a bit of cleanup inside the class) 2018-02-19 14:48:35 +00:00
ed
19ae4c884b Added operator!= to AudioDeviceManager::AudioDeviceSetup 2018-02-07 09:35:20 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
Tom Poole
8cecf0baf9 Assorted threading and undefined behaviour fixes 2017-12-11 16:37:17 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +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
hogliux
06c7fb5b01 Add xrun counter to device manager 2017-09-26 11:01:27 +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
tpoole
9b687968db Fixed some g++ compiler warnings 2017-08-29 14:47:04 +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
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
hogliux
27dd79468c Added missing const qualifier to AudioDeviceManager::getAudioDeviceSetup 2016-11-25 10:49:21 +00:00
hogliux
a347689d96 Moved simple sound player to audio_utils module 2016-10-18 18:36:32 +01:00
jules
7fad2545c9 Added output level metering to AudioDeviceManager 2016-08-23 11:58:27 +01:00
jules
14a9368506 AudioDeviceManager::initialiseFromXML(): made the default buffer size and sample rate default to ones supplied in the setup if not specified in the XML 2016-06-30 16:28:02 +01:00
jules
cdf525f74a Added an option to AudioDeviceManager::playSound to use the sample across all output channels (and made the test sound do this) 2016-02-18 12:41:48 +00:00
jules
4d34212557 Fixed a problem with AudioDeviceSelectorComponent that caused repeated refreshes of the current midi device. 2016-01-05 10:26:42 +00:00
jules
c401515e64 Avoided a leak if the app is killed while an AudioDeviceManager is in the middle of playing a preview sound 2016-01-04 09:58:08 +00:00
jules
21d42f346f Minor fix to the last commit 2015-12-22 15:55:26 +00:00
jules
218a8149af Fixed several bugs in the AudioDeviceManager::playSound() mechanism that could cause feedback and other problems 2015-12-22 15:33:00 +00:00
hogliux
a039090f5c Fix warning on VS2015 2015-11-03 12:11:56 +00:00
jules
4c27661f7a Fixed a merge problem 2015-11-02 17:23:24 +00:00
jules
e440a83ad7 New methods in AudioDeviceManager to easily play sounds from files or audio buffers. 2015-11-02 15:12:03 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
2b5c9b43cf Made AudioDeviceManager prefer to use a device's current sample rate if asked to use a default rate. 2015-03-31 16:43:57 +01:00
jules
6c5b2dc61a Made the AudioDeviceManager ignore whitespace and case when chacking device names. 2015-02-03 17:00:27 +00:00
jules
392967f818 Removed unused variable. 2015-01-02 09:43:49 +00:00
jules
4d1a63fe3b (Added file missing from last commit) 2014-12-29 09:58:26 +00:00
jules
f57cd7bafd Clarified some badly-defined behaviour in AudioDeviceManager: if a midi callback is added with an empty-string as its target midi input device, it now gets sent incoming events from *all* devices, not just the "default" device (which was never properly defined) 2014-05-08 14:53:11 +01:00
jules
a0c18acb1e Relaxed the requirement for AudioSampleBuffer to have more than zero channels, and gave it a default constructor. 2014-03-26 18:08:10 +00:00
jules
fa21d2ac02 Replaced AudioSampleBuffer::getSampleData with getReadPointer/getWritePointer methods (the old method is still available but deprecated). Apart from making code more explanatory and improving constness, these work with a new flag that keeps track of whether the buffer is clear, so that some operations can be elided when the data is known to be empty. 2014-03-24 14:39:32 +00:00
jules
647ca90460 Added a method AudioDeviceManager::initialiseWithDefaultDevices() 2014-02-26 20:56:54 +00:00
jules
017dbc988d Refactored some AudioIODevice methods to return Arrays of sample rates + buffer sizes. 2013-12-18 10:57:11 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
2623f4d1e1 Added method String::clear(), and used it to replace a few uses of String::empty. 2013-12-01 11:32:39 +00:00
jules
ed220632ed Minor clean-ups. 2013-07-31 13:16:08 +01:00
jules
3861a04197 Some more override decorations. 2013-07-10 14:55:26 +01:00
jules
01e3e4c40c Fixed some coverity warnings. 2013-06-17 22:10:57 +01:00