Re: Subscription problem
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