title: How do I set higher priority for audio processing thread, so my RemoteIO Audio Unit would perform without glitches?
body: <p>I noticed there are audible sound gaps with audio units rendering when something heavy happens on UI main thread, for instance, first show of UIAlertView or some heavy ui controller.</p>
  
  <p>Please take a look at the <a href="https://dl.dropbox.com/u/6346350/AudioUnitsGap.zip" rel="nofollow">sample project</a>. There is only one remote IO unit with output render callback, buffer duration is set to maximum possible - 92ms. When loading alert view, there is 200-300ms gap between render callbacks, even if render function is <em>empty.</em></p>
  
  <p><strong>The question is:</strong> how do I reach Apple's MPMusicPlayerController rendering performance with Audio Units? Is that even possible or Apple's player is based on lower API?
  Looking through core-audio mailing lists got me nowhere.</p>
  
  <p>Thanks in advance!</p>