Hello all!I develop an audio player application and am encountering a crash with an audio plug-in from a different developer.My question is:May AudioUnitReset() be called in the main thread (in response to a seek event) while an audio unit is processing audio in the render thread?From my understanding, -[AUAudioUnit reset] and AudioUnitReset() are only suppose to clear memory and not perform any type of resource allocation (that's the role of AudioUnitInitialize/AudioUnitUninitialize). Hence, a reset while audio is playing may cause a audible glitch, it shouldn't crash the application.That said, the documentation also mentions that "typically, this call is made when an audio unit was previously rendering, and was taken out of the render chain" – implying that normally a unit wouldn't be rendering when reset is called.Thank you for any insight into this issue.Ricci Adams
_______________________________________________ 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]
