title: How do I loop the queue of sounds in AVQueuePlayer?
body: <p>I know multiple questions concerning the same issue exist, but after following <a href="https://stackoverflow.com/questions/4890087/repeat-avplayeritem-in-avqueueplayer">this one's</a> suggestions, I run into a couple of problems.</p>
  
  <p>I have everything set up but I get to mach errors everytime I use kMTTimeZero.</p>
  
  <pre><code>soundQueue = [AVQueuePlayer queuePlayerWithItems:soundEmotions];
  
      [[NSNotificationCenter defaultCenter] addObserver:self
                                               selector:@selector(playerItemDidReachEnd:)
                                                   name:AVPlayerItemDidPlayToEndTimeNotification
                                                 object:[soundEmotions lastObject]];
  </code></pre>
  
  <p>Here's what I've done .</p>
  
  <pre><code>- (void)playerItemDidReachEnd:(NSNotification *)notification {
      // Do stuff here
      NSLog(@"End has been reached.");
  
      // Set it back to the beginning
      [soundQueue seekToTime:kCMTimeZero];
  
      //Replay
      [soundQueue play];
  
  }
  </code></pre>
  
  <blockquote>
    <p>ERROR: Undefined symbols for architecture armv7:   "_kCMTimeZero",
    referenced from:
          -[ViewController playerItemDidReachEnd:] in ViewController.o ld: symbol(s) not found for architecture armv7 clang: error: linker
    command failed with exit code 1 (use -v to see invocation)</p>
  </blockquote>