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.
2023-01-25 17:07:24 +00:00
reuk
238fbfca94
AudioIODeviceType: Fix typo
2023-01-25 17:07:24 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2022-12-01 11:41:50 +00:00
attila
c97864d7f3
Remove AudioIODeviceCallback::audioDeviceIOCallback
2022-09-22 07:50:18 +00:00
attila
f075de78fa
AudioIODeviceCallback, AudioBuffer, AudioFormatReader: Use const T* const* for multi-channel data
2022-09-22 07:50:18 +00:00
attila
3323c68f96
AudioDeviceManager: Take sample rate compatibility into account during default device selection
2022-08-25 15:20:24 +02:00
attila
5ec536f13f
CoreAudio: Forward errors to callback during device initialisation
2022-08-25 15:18:26 +02:00
Oli
2bca60e52c
AudioDeviceManager: Fix MidiOutput dangling pointer
...
Changed the lifetime of the default MIDI oputput.
Removed the need for Timer workaround in AudioDeviceSelectorComponent.
2022-05-10 16:32:36 +01:00
reuk
cfa289d943
AudioProcessor: Allow querying of the host timestamp in processBlock
2022-04-22 14:18:49 +01:00
reuk
19ddbe2368
Warnings: Fix missing-prototypes warnings
2022-04-22 14:18:48 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
Tom Poole
1f29416fd0
AudioDeviceManager: Improve device sample rate handling
2022-04-01 14:31:46 +01:00
reuk
df206371ff
AudioDeviceManager: Ensure device settings are up to date before notifying callbacks
2022-01-17 10:58:18 +00:00
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.
2021-11-24 11:51:12 +00:00
reuk
4011c2e898
AudioDeviceManager: Compute output level after all IO callbacks have run
2021-11-19 16:35:21 +00:00
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.
2021-09-29 16:14:00 +01:00
reuk
58be21d6dc
AudioProcessLoadMeasurer: Allow specifying number of samples per-block
2021-09-28 14:04:11 +01:00
reuk
fb09a97be4
AudioDeviceManager: Fix and test preferredDeviceName lookup
2021-09-28 11:31:47 +01:00
reuk
22f0f2b433
AudioDeviceManager: Refactor to avoid repetition
2021-09-28 11:31:47 +01:00
reuk
34bda5d75b
AudioDeviceManager: Always try to pick an initial device type that has some connected devices
2021-09-28 11:31:47 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
...
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
reuk
4cefb3707c
AudioDeviceManager: Ensure current state is updated correctly when device settings are updated
2021-04-14 14:31:43 +01:00
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
2021-03-29 14:16:46 +01:00
ed
240089bcbc
AudioDeviceManager: Fixed backwards compatibility when passing an empty string to removeMidiInputCallback()
2021-02-18 08:47:42 +00:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
2021-01-28 20:14:11 +00:00
ed
b235b8de09
Updated some old docs
2021-01-06 17:16:52 +00:00
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
2020-09-04 16:51:39 +01:00
ed
21e4522891
Ensure that audio device is always stopped before modifying in AudioDeviceManager::setAudioDeviceSetup()
2020-07-21 15:51:15 +01:00
ed
b5214a341e
Normalised lambda whitespace
2020-06-05 09:37:56 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
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
ed
a234721110
Added various clang-tidy modernize-* fixes
2019-01-31 15:15:31 +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
Tom Poole
aab3926820
Fixed a documentation typo
2018-10-11 10:50:16 +01:00
jules
93ea3d922f
Added class AudioProcessLoadMeasurer, and a new version of the method AudioDeviceManager::getAudioDeviceSetup()
2018-09-10 11:46:47 +01:00
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
2018-06-13 17:11:37 +01:00
jules
38295f332b
Converted some old typedefs to using declarations
2018-05-03 09:59:05 +01:00