Audio Unit initialization fix on macOS#799
Audio Unit initialization fix on macOS#799daft-panda wants to merge 1 commit intoRustAudio:masterfrom
Conversation
ahcm
left a comment
There was a problem hiding this comment.
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
|
I can confirm that this fixes the issues already mentioned for me I have also been experiencing an issue where I can only use certain output devices if they are also selected as the system's output device. By applying this same change in the I'd be happy to put in a separate PR, if that's necessary, but it seems like this change could simply be tacked on to this one |
|
All, I think this was fixed by #946 in a similar fashion. @daft-panda would you be able to confirm? |
|
If this fix is merged, do we have a visibility on when it would be deployed? I'm seeing last version was a year ago and I'm starting to feel concerned for my project that relies a lot on cpal |
|
@AxelMolina1 |
|
@etsuko-io Oh okay thanks I'll try this ! |
|
closing as we've merged #946 instead. |
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.