Re: What's involved streaming audio to disk as mp3 in iOS
Re: What's involved streaming audio to disk as mp3 in iOS
- Subject: Re: What's involved streaming audio to disk as mp3 in iOS
- From: Chris Adamson <email@hidden>
- Date: Thu, 12 Jul 2012 15:51:29 -0400
Haven't looked, but I wouldn't assume that AudioFileWritePackets is going to write to an MP3 file -- with no MP3 encoder in Core audio, and since .mp3 files can only contain MP3 payloads, there'd be no point in AudioFile supporting MP3 output. Possible that you could write to a .caf, but your other messages in this thread make me think that'll be a nonstarter for you.
--Chris
On Jul 12, 2012, at 12:22 PM, Morgan Packard wrote: I understand I'll have to come up with my own encoder. LAME is an option. Any non-GPL options I should be aware of? Once I get an appropriate encoder, I'll need to write the data to disk. Is AudioFileWritePackets the way to go here? Anything nice like ExtAudioFileWriteAsync that I can use that will handle the ring-buffering of the sound so I'm not writting to disk from my audio thread?
|
_______________________________________________
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