cpal icon indicating copy to clipboard operation
cpal copied to clipboard

Support hidden devices on MacOS

Open matusfaro opened this issue 8 months ago • 0 comments

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.

Example usage:

pub fn create_cpal_mic_from_id(audio_device_id: AudioDeviceID) -> CoreAudioDevice {
    CoreAudioDevice::new(audio_device_id)
}

matusfaro avatar May 03 '25 01:05 matusfaro