objective c play audio as it is downloading
<p>I have an iphone design question regarding downloading and playing an audio file.  Thanks to Matt Gallagher's AudioStreamer sample I can stream audio and play it back, bu that does not save it locally on the phone for later.  Using an NSURLConnection I can download and save the audio files, but I have to wait until I have downloaded them to init my AVAudioPlayer given the data property is read only.  I can not add to the buffer.</p>

<p>My question is how can I start the download, but then start playing the file after "enough" of it is downloaded, but before it is finished?  Is there another audio player other then AVAudioPlayer that I can feed data into as it is being downloaded.</p>

<p>The only way I can see to do it now would be to do both in different threads, but then of course I would be pulling down the data twice.</p>

<p>Thoughts?</p>
