Comments on: iOS: encoding to AAC with the Extended Audio File Services gotchas /2012/04/30/ios-encoding-to-aac-with-the-extended-audio-file-services-gotchas/ Mon, 03 Jun 2024 12:54:19 +0000 hourly 1 https://wordpress.org/?v=6.5.7 By: Henrik S /2012/04/30/ios-encoding-to-aac-with-the-extended-audio-file-services-gotchas/comment-page-1/#comment-3828 Tue, 31 Oct 2017 14:12:24 +0000 http://michaelchinen.com/?p=319#comment-3828 Great! This is the simplest implementation of AAC conversion with ExtAudio I have seen. Using the software encoder is a good choice to avoid having to deal with interrupts from the hardware encoder, although it uses more CPU. It could be noted that writeBuffer.mBuffers[0].mData should point to a single buffer of interleaved samples of SInt16, so any other PCM format has to be converted first (similar to what [s writeToBuffer:(SInt16*)audio_buf->buffer samples:kSaveWavBufferSamples] does).

]]>
By: Lee /2012/04/30/ios-encoding-to-aac-with-the-extended-audio-file-services-gotchas/comment-page-1/#comment-588 Mon, 06 May 2013 15:53:49 +0000 http://michaelchinen.com/?p=319#comment-588 Does this solution also work on iPhone 4S and Ipad 2, Ipad 3 ?

]]>