title: AVCaptureSession for audio in simulator
body: <p>I'm trying to capture audio, using the method in <a href="https://stackoverflow.com/q/7796263/1207489">this question</a>; with AVCaptureSession and AVCaptureAudioDataOutput. This seems to work fine with 1 inconvenience: it doesn't work in the simulator. Both AVAudioRecorder, and the good old SpeakHere demo app, work fine in the simulator, using the internal microphone on my MacBook Pro.</p>
  
  <p>Problem is that <code>[AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio]</code> gives <code>null</code> in the simulator, so subsequent code fails with the message (when it tries to add <code>null</code> as input to the AVCaptureSession):</p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** Can't add &lt;AVCaptureDeviceInput: 0x9138b40 [(null)]&gt; because the device does not support AVCaptureSessionPresetHigh.  Use -[AVCaptureDevice supportsAVCaptureSessionPreset:].'
  </code></pre>
  
  <p>Is there an easy way to get this to work in the simulator?</p>