title: Transitioning Audio Unit code to ARC
body: <p>Apologies if this is too vague... this is my first post here and I'm well and truly stumped on this issue!</p>
  
  <p>I've been attempting to transition an iOS Xcode project using Audio Units to ARC, but it appears to have broken the functionality of the audio unit processing class. Some symptoms... When I attempt referencing 'self' in AUProcessor.mm, the AUProcessor class is referred to as 'const*', whereas in the pre-ARC version, there was no 'const*' mentioned.</p>
  
  <p>This pointer to 'self' produces the following error:</p>
  
  <p><code>callbackStruct.inputProcRefCon = self;</code></p>
  
  <p><code>[error] Assigning to 'void *' from incompatible type 'AUProcessor *const __strong'.</code></p>
  
  <p>I can remove the error by adding (__bridge void*) ahead of self, which allows the project to compile. However, the Audio Unit processor doesn't work in the app.</p>
  
  <p>I can't see anything elsewhere in the code that is significantly different from the pre-ARC version in terms of how the class is referenced.</p>
  
  <p>Let me know if more context is required.</p>
  
  <p>Thanks in advance!!</p>
  
  <p>(BTW, thank you to all contributors to these forums... they are truly a wonderful resource for keen yet inexperienced programmers!)</p>