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

83 commits

Author SHA1 Message Date
ed
8b4ba1ff25 Fixed an issue in 9fda031 2020-02-14 10:39:23 +00:00
ed
9fda031414 Check input as well as output devices names when checking if current audio device is still available in AudioDeviceManager::audioDeviceListChanged() 2020-02-13 17:04:35 +00:00
ed
859315fe4f Added a removeAudioDeviceType() method to AudioDeviceManager and made the ownership semantics of addAudioDeviceType() clearer 2019-12-18 09:47:37 +00:00
jules
31e82060f1 Removed dependency on libalchemy for Bela support 2019-12-06 14:18:10 +00:00
ed
e4b3cd80a6 Fixed backwards compatibility of AudioDeviceManager::addMidiInputCallback() when passing an empty string 2019-08-15 15:34:02 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
ed
e26529d5e9 Added identifier-based MIDI input/output methods to AudioDeviceManager and deprecated the old name-based methods 2019-05-22 15:45:15 +01:00
jules
6463529371 Another batch of conversion of methods which returned bare XmlElement* to return unique_ptrs 2019-05-15 11:02:03 +01:00
ed
4fa131f5a7 Delete the current audio device when no inputs or outputs are specified in AudioDeviceManager::setAudioDeviceSetup() and ensure that the AudioDeviceSelectorComponent displays this correctly 2019-04-03 11:55:20 +01:00
ed
e14a183886 Update requested input/output channels whenever AudioDeviceManager::setAudioDeviceSetup() is called 2019-03-06 17:13:54 +00:00
ed
8a66f1f3d3 Don't use default input/output device names when setting up an AudioDeviceManager if no channels have been requested 2019-03-01 13:57:39 +00:00
Tom Poole
7d13b82a10 Fixed a bug attempting to open an audio device with zero channels 2019-02-06 10:38:32 +00:00
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