• 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
Hardware-assisted MP3 decoding on iPad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hardware-assisted MP3 decoding on iPad


  • Subject: Hardware-assisted MP3 decoding on iPad
  • From: "Juan P.Pertierra" <email@hidden>
  • Date: Tue, 11 May 2010 09:55:38 -0400

Hello,

I am trying to decode an MP3 into PCM directly into memory using the MP3 decoder hardware in the iPad.  I have started with the iPhoneExtAudioFileConvert example, which sets the client data format to 16-bit PCM and uses ExtAudioFileRead to read and do the conversion on the fly(if i understand correctly).

This works but even after allocating all the memory for the PCM file, it takes about 20 seconds to convert a 6minute MP3 file.

Is this the best MP3 decoding performance? Or is there a faster method?  I noticed that getting the kAudioConverterPropertyCanResumeFromInterruption returns an error -50, I think this means hardware decoding is not available, so perhaps there is another way?

I need to decode the entire thing, so I can't work in blocks for this part of the app.

I also tried the audioqueue offline render services example but that takes even longer, at least twice as long.

Thanks,
Juan

Sent from my iPad
 _______________________________________________
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

  • Prev by Date: Re: Question about the AudioConverterFillComplexBuffer callback function
  • Next by Date: Re: Maximum iPhone sample rate
  • Previous by thread: Re: USB audio class - kIOAudioControlUsagePassThru implementation
  • Next by thread: writing several parameters at once in touch mode in Logic
  • Index(es):
    • Date
    • Thread