mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
By defining JUCE_IOS_AUDIO_EXPLICIT_SAMPLERATES, the iOS audio device will always use the requested samplerates instead of querying the current audio device for the samplerates it supports. This is useful because certain hardware (such as the Focusrite iTrack Dock) takes a long time to set new samplerates, which can end up freezing the main thread for significant lengths of time. This approach is inspired by the AUM app for iOS, which appears to provide a fixed list of "allowed" samplerates, rather than querying the device for its allowed samplerates. |
||
|---|---|---|
| .. | ||
| audio_io | ||
| midi_io | ||
| native | ||
| sources | ||
| juce_audio_devices.cpp | ||
| juce_audio_devices.h | ||
| juce_audio_devices.mm | ||