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

@mdwn
Copy link

mdwn commented Dec 18, 2024

This looks to me to be a pretty benign one-liner change -- I'd love to get this merged. @abique, @est31, would it be possible to get this merged?

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.

3 participants