title: iPhone, record sounds from speaker and microphone simultaneously
body: <p>I'm trying to record sounds from a speaker and microphone simultaneously in iPhone. I used AVAudioRecorder and AVAudioSession to do this, but it doesn't work: the only sound recorded is from the microphone.</p>
  
  <p>I've already read articles about this on stackoverflow, like <a href="https://stackoverflow.com/questions/970416/record-avaudioplayer-output-using-avaudiorecorder?rq=1">Record AVAudioPlayer output using AVAudioRecorder</a> and similar questions and answers.</p>
  
  <p>Are there any good references or classes to implement this? Thanks in advance!</p>