Best practice for checking 64-bit AU support?
Best practice for checking 64-bit AU support?
- Subject: Best practice for checking 64-bit AU support?
- From: Charles Constant <email@hidden>
- Date: Mon, 07 Mar 2016 10:32:42 -0800
Is there anything in the AudioUnit API that lets you query for a list of, or just the maximum, supported bitdepth for an AU?
I'm working on an AUGraph to preview audio from my own vectors*
(my render proc for input) -> FxAudioUnit -> MatrixMixerAudioUnit -> SystemOutputAudioUnit
I'm muddled over how to query the FxAudioUnit (it won't be the same unit every time, the user can choose from their plugins) in terms of "capable settings", rather than just "current settings".
In order for me to intelligently choose a bitdepth, I want to know what the maximum of each unit is. But when I check the ASBD with AudioUnitGetProperty, it's showing me 32bit for everything... I thought Apple's stock Filters supported 64Bit (maybe I was confused over 64bit audio vs 64bit code).
Is the correct way to do this, to try setting the ASBD with AudioUnitSetProperty to 64Bit, and just seeing if it fails? That seems a bit ugly.
A simple question, but I can't find a satisfactory answer in the Apple Docs, or duckducking.
Thanks!
*yes, that's the arrangement I used after discussing it on the list a couple months ago.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden