setPreferredSampleRate returns yes or no depending on if it worked or not. Perhaps you could put it inside a loop which checks the sample rate if an error is reported? I'm assuming this is a situation where you want the program to respond, not the hardware sample rate of the iOS device.
On Thu, Aug 30, 2018 at 4:53 PM AI Developer <[email protected]> wrote: > What is the proper way for an AudioUnit (v3) to report the fact that it > does not support specific sample rates. > > We have some AudioUnits that we do not want to support above 96K. > > Thanks. > Devendra. > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Coreaudio-api mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/coreaudio-api/krusete%40gmail.com > > This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
