title: Setting a time limit when recording an audio clip?
body: <p>I looked for search terms along the lines of the post title, but alas..</p>
  
  <p>I am building an iPhone app using AVFoundation.</p>
  
  <p>Is there a correct procedure to limit the amount of audio that will be recorded? I would like a maximum of 10 seconds.</p>
  
  <p>Thanks for any help/advice/tips/pointers..</p>