Audio progressive download
Audio progressive download
- Subject: Audio progressive download
- From: Fernando Valente <email@hidden>
- Date: Sat, 7 Aug 2010 09:03:52 -0300
I'm using Matt Gallagher's audio streamer on my radio app. How may I do progressive download?
Tried this:
length = CFReadStreamRead(stream, bytes, kAQDefaultBufSize); if(!data) data =[[NSMutableData alloc] initWithLength:0]; [data appendData:[NSData dataWithBytes:bytes length:kAQDefaultBufSize]];
Now I can save the audio data using writeToFile:atomically: NSData
method, but the audio won't play. Also, if I try to load it on a
AVAudioPlayer, I get an error.
Fernando Valente Chiaro Software
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden