Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2 years ago
Anthony Nicholls
158220ddfa
Formatting: Use nested namespace definitions
2 years ago
Tom Poole
4153d59e39
Formatting
2 years ago
reuk
1f90ecf6e3
WASAPI: Allow querying default layouts
2 years ago
Oliver James
7d9cdd3016
Audio: Add AudioWorkgroup support
This allows real-time threads to join an audio workgroup on Apple platforms.
2 years ago
Tom Poole
ff835be2ac
Doxygen: Fix some Doxygen issues
2 years ago
reuk
26a872ba9f
AudioDeviceManager: Send changeNotification when MIDI devices change
This patch also updates the MidiDemo to automatically refresh the device
lists when the set of available devices changes.
2 years ago
reuk
238fbfca94
AudioIODeviceType: Fix typo
2 years ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
3 years ago
attila
c97864d7f3
Remove AudioIODeviceCallback::audioDeviceIOCallback
3 years ago
attila
f075de78fa
AudioIODeviceCallback, AudioBuffer, AudioFormatReader: Use const T* const* for multi-channel data
3 years ago
attila
3323c68f96
AudioDeviceManager: Take sample rate compatibility into account during default device selection
3 years ago
attila
5ec536f13f
CoreAudio: Forward errors to callback during device initialisation
3 years ago
Oli
2bca60e52c
AudioDeviceManager: Fix MidiOutput dangling pointer
Changed the lifetime of the default MIDI oputput.
Removed the need for Timer workaround in AudioDeviceSelectorComponent.
3 years ago
reuk
cfa289d943
AudioProcessor: Allow querying of the host timestamp in processBlock
3 years ago
reuk
19ddbe2368
Warnings: Fix missing-prototypes warnings
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
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.
4 years ago
reuk
4011c2e898
AudioDeviceManager: Compute output level after all IO callbacks have run
4 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.
4 years ago
reuk
58be21d6dc
AudioProcessLoadMeasurer: Allow specifying number of samples per-block
4 years ago
reuk
fb09a97be4
AudioDeviceManager: Fix and test preferredDeviceName lookup
4 years ago
reuk
22f0f2b433
AudioDeviceManager: Refactor to avoid repetition
4 years ago
reuk
34bda5d75b
AudioDeviceManager: Always try to pick an initial device type that has some connected devices
4 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
5 years ago
ed
21e4522891
Ensure that audio device is always stopped before modifying in AudioDeviceManager::setAudioDeviceSetup()
5 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
6 years ago
ed
e4b3cd80a6
Fixed backwards compatibility of AudioDeviceManager::addMidiInputCallback() when passing an empty string
6 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