• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What's involved streaming audio to disk as mp3 in iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: tahome izwah <email@hidden>
  • Date: Fri, 13 Jul 2012 11:58:25 +0200


CA / iOS has no support for MP3 encoding, so you will have to use a 3rd party library such as L.A.M.E. (lame.sourceforge.net) which appears to be free.

HTH
--th

2012/7/12 Chris Adamson <email@hidden>
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


 _______________________________________________
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

  • Follow-Ups:
    • Re: What's involved streaming audio to disk as mp3 in iOS
      • From: Paul Davis <email@hidden>
References: 
 >What's involved streaming audio to disk as mp3 in iOS (From: Morgan Packard <email@hidden>)
 >Re: What's involved streaming audio to disk as mp3 in iOS (From: Chris Adamson <email@hidden>)

  • Prev by Date: Re: AULab sees my AudioUnit but Logic doesn't
  • Next by Date: Re: AULab sees my AudioUnit but Logic doesn't
  • Previous by thread: Re: What's involved streaming audio to disk as mp3 in iOS
  • Next by thread: Re: What's involved streaming audio to disk as mp3 in iOS
  • Index(es):
    • Date
    • Thread