AU Wrapper - should member variable "prepared" be default initialized?


#1

I’ve recently been updating some plugins from JUCE 4.1 to 4.3.1. While applying some custom patches to juce_AU_Wrapper.mm, I noticed that the JuceAU member variable prepared is no longer default initialized. Given that prepared's value is checked in the Reset() function, which is sometimes called (e.g. by auvaltool) before prepared can be set in either the Initialize() or Cleanup() functions, should it be default initialized? Or was it purposefully removed? Seems like something that could inadvertently cause problems…

I also checked the latest tip and it seems to be removed there, as well.

Thanks!