cpal
cpal copied to clipboard
Support hidden devices on MacOS
Allow constructing a CoreAudioDevice (Device on MacOS) given just its ID. This is useful for accessing hidden devices. A hidden device is a device that is not visible to user in system settings, but may be used by applications internally.
pub fn create_cpal_mic_from_id(audio_device_id: AudioDeviceID) -> CoreAudioDevice {
CoreAudioDevice::new(audio_device_id)
}