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

59 commits

Author SHA1 Message Date
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
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
14ec53de2e WASPI: used mix format channel mask. 2013-06-03 11:55:09 +01:00
jules
d117e0adaa Added a small pause when switching between audio device types. 2013-03-27 20:56:18 +00:00
jules
06fcb55ea6 Removed some unnecessary locking from AudioDeviceManager. 2013-03-21 19:08:53 +00:00
jules
2bc8bd1b81 AudioDeviceManager fix for adding custom devices. 2013-03-15 19:05:31 +00:00
jules
5c28d5b214 Tweaks to WASAPI device change handling. 2013-03-03 11:55:02 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
70257e902f Changed the result of MidiMessage::getMidiNoteInHertz to correctly map midi 69 to 440Hz 2012-10-23 12:43:09 +01:00
jules
6d15cc2948 Minor cleanups. 2012-10-20 15:12:37 +01:00
jules
73f5cd92c7 AudioDeviceManager::addAudioDeviceType method. 2012-10-18 14:42:20 +01:00
jules
db06d2af3e Added a missing non-copyable declaration. 2012-10-04 09:59:40 +01:00
jules
01be101f41 Added error callback dispatching to AudioDeviceManager. 2012-09-26 16:30:05 +01:00