title: recording streaming audio on iphone/ipod touch
body: <p>This application currently plays audio from onine stations.</p>
  
  <p>Basically it has 2 main features:
  Play: 
  On click of a station name or the play button, the fm station starts playing.</p>
  
  <p>Record : 
  On click of the record link, the recorders starts recording. Clicking it again, stops and replays the recorded audio.</p>
  
  <h2>The problem</h2>
  
  <ol>
  <li>The streaming recording is not recording clearly.
  The current recorder using AVAudioRecorder though records the audio, the sound is noisy.
  Could it be because the streaming audio uses audioQueue while the recorder used is AVAudioRecorder which also records from microphone.We want to record only the streaming content.</li>
  </ol>
  
  <p>Note: The AVAudioRecorder when used for voice recording is clear, but not good with recording streaming audio content.</p>
  
  <p>For playing streaming audio, i used code from Mr. Matt Gallagher link is 
  <a href="http://cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.html" rel="nofollow">here</a></p>
  
  <p>Can you please suggest a better way to record streaming audio.
  Is there an existing API like AVAudioRecorder or am I doing something wrong ?</p>