Skip to content

Support hidden devices on MacOS #974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matusfaro
Copy link

@matusfaro matusfaro commented May 3, 2025

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 matusfaro changed the title Support hidden devices Support hidden devices on MacOS May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant