• 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: Subscription problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subscription problem


  • Subject: Re: Subscription problem
  • From: Juan Pertierra <email@hidden>
  • Date: Mon, 17 May 2010 17:58:45 -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 pre-allocating all the memory for the PCM
file, it takes about 17-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 which sounds
like I am doing something wrong. Perhaps there is another way?

I need to decode the entire file at once.

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

Thanks,
Juan

PS: Apologies if this gets posted multiple times, I've had problems posting.
 _______________________________________________
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: Subscription problem
      • From: Steven Winston <email@hidden>
  • Prev by Date: Re: Converted audio file, bit rate reported with afinfo
  • Next by Date: AU: interpreting kAudioUnitProperty_SupportedNumChannels & _BusCount in modular hosts?
  • Previous by thread: iPhone "SpeakHere" sample and kAudioFormatMPEG4AAC
  • Next by thread: Re: Subscription problem
  • Index(es):
    • Date
    • Thread