Tom Poole
1f29416fd0
AudioDeviceManager: Improve device sample rate handling
3 years ago
reuk
df206371ff
AudioDeviceManager: Ensure device settings are up to date before notifying callbacks
3 years ago
reuk
2fc254b72e
AudioDeviceManager: Avoid overwriting user-specified devices in initialise unless absolutely necessary
This fixes an issue where specifying an audio device type before calling
initialise could cause a different device to become active, even if the
requested device type had usable devices.
With this change in place, a new device type will only be selected if
the current device type has no devices.
3 years ago
reuk
4011c2e898
AudioDeviceManager: Compute output level after all IO callbacks have run
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
reuk
58be21d6dc
AudioProcessLoadMeasurer: Allow specifying number of samples per-block
3 years ago
reuk
fb09a97be4
AudioDeviceManager: Fix and test preferredDeviceName lookup
3 years ago
reuk
22f0f2b433
AudioDeviceManager: Refactor to avoid repetition
3 years ago
reuk
34bda5d75b
AudioDeviceManager: Always try to pick an initial device type that has some connected devices
3 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
4cefb3707c
AudioDeviceManager: Ensure current state is updated correctly when device settings are updated
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
ed
240089bcbc
AudioDeviceManager: Fixed backwards compatibility when passing an empty string to removeMidiInputCallback()
4 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
4 years ago
ed
b235b8de09
Updated some old docs
4 years ago
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
4 years ago
ed
21e4522891
Ensure that audio device is always stopped before modifying in AudioDeviceManager::setAudioDeviceSetup()
4 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
8b4ba1ff25
Fixed an issue in 9fda031
5 years ago
ed
9fda031414
Check input as well as output devices names when checking if current audio device is still available in AudioDeviceManager::audioDeviceListChanged()
5 years ago
ed
859315fe4f
Added a removeAudioDeviceType() method to AudioDeviceManager and made the ownership semantics of addAudioDeviceType() clearer
5 years ago
jules
31e82060f1
Removed dependency on libalchemy for Bela support
5 years ago
ed
9ea9a97e50
Fixed backwards compatibility of AudioDeviceManager::addMidiInputCallback() when passing an empty string
5 years ago
ed
e4b3cd80a6
Fixed backwards compatibility of AudioDeviceManager::addMidiInputCallback() when passing an empty string
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
e26529d5e9
Added identifier-based MIDI input/output methods to AudioDeviceManager and deprecated the old name-based methods
6 years ago
jules
6463529371
Another batch of conversion of methods which returned bare XmlElement* to return unique_ptrs
6 years ago
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
6 years ago
ed
e14a183886
Update requested input/output channels whenever AudioDeviceManager::setAudioDeviceSetup() is called
6 years ago
ed
8a66f1f3d3
Don't use default input/output device names when setting up an AudioDeviceManager if no channels have been requested
6 years ago
Tom Poole
7d13b82a10
Fixed a bug attempting to open an audio device with zero channels
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
Tom Poole
d81ce3ce03
Fixed an issue falling back to an incompatible audio device configuration after a disconnection
6 years ago
Tom Poole
faf7fb1960
Fixed a bug in the AudioDeviceSelectorComponent when selecting zero channels
6 years ago
Tom Poole
578022d011
Allowed the AudioDeviceManager to fall back to the default device on device disconnection
6 years ago
Tom Poole
aab3926820
Fixed a documentation typo
6 years ago
jules
93ea3d922f
Added class AudioProcessLoadMeasurer, and a new version of the method AudioDeviceManager::getAudioDeviceSetup()
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
jules
aa7d7aee78
Tweaked AudioDeviceManager::getXRunCount() to take into account xruns from both the device and the manager's measurements
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
5a122e124a
Added support for Bela in the form of an AudioIODeviceType
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
hogliux
60a3798536
Fixed an issue in the audio device manager which made it impossible to switch the number of channels
7 years ago
Lukasz Kozakiewicz
c859b4af1d
Android: add support for Google Oboe (developer preview).
7 years ago
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
7 years ago
jules
1f770cc7c8
Made AudioDeviceManager reset its cpu counter when the device is disabled. (Also did a bit of cleanup inside the class)
7 years ago
ed
19ae4c884b
Added operator!= to AudioDeviceManager::AudioDeviceSetup
7 years ago