3

is there a way to programmatically convert .caf audio files to .mp3 audio files on the iPad platform?

Andrew
  • 31
  • 1
  • 2

2 Answers2

3

There is NO way to encode TO mp3 on the iPhone. Apple does not provide the encoders for mp3, presumably due to licensing.

coneybeare
  • 33,113
  • 21
  • 131
  • 183
0
OSStatus AudioConverterFillComplexBuffer(

   AudioConverterRef                   inAudioConverter,      
   AudioConverterComplexInputDataProc  inInputDataProc,   
   void                                *inInputDataProcUserData,   
   UInt32                              *ioOutputDataPacketSize,  
   AudioBufferList                     *outOutputData,  
   AudioStreamPacketDescription        *outPacketDescription  
);

Still working on an implementation, but this method is meant to be used for this conversion.

It is declared in audiotoolbox -> audioConverter

Aurum Aquila
  • 9,126
  • 4
  • 25
  • 24
pete
  • 1