title: Looping Sound Has Clicking Noise At The End Of The Loop
body: <p>I have the music looped and everything is working as it should, but for some reason the looping background music has a clicking noise and a stutter at the end of the loop. Has anyone else had this issue and if so how did you rectify the situation?</p>
  
  <p>I used Logic Studio 8 for the sound file with no open mics, So I know it's not the sound file.</p>
  
  <pre><code>NSURL *url = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/theeye3.caf", [[NSBundle mainBundle] resourcePath]]];
  
  audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:NULL];
  audioPlayer.numberOfLoops = -1;
  [audioPlayer play]
  </code></pre>
  
  <p>Thanks.</p>