Skip to content
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

Audio Unit initialization fix on macOS #799

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

Conversation

daft-panda
Copy link

The current Audio Unit initialization logic produces errors when trying to use output devices as input Audio Units. This results in only some output devices being present when enumerating the host devices.

Copy link

@ahcm ahcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the error:
Error getting supported output configs: BackendSpecific { err: BackendSpecificError { description: "Invalid property value" } }

Find attached output from the example enumerate, with and without the patch.
Please merge.

Best
Andreas

cpal_enumerate_default_N9_daft-panda.txt
cpal_enumerate_default_N9.txt
cpal_enumerate_default_speaker_daft-panda.txt
cpal_enumerate_default_speakers.txt

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.

2 participants