should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
- Subject: should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
- From: "Andrew E. Davidson" <email@hidden>
- Date: Thu, 23 Jul 2009 14:53:51 -0700
Hi
My app needs to convert audio file from various formats
(mp3, m4a, … ) to linear PCM format. Can anyone suggest which approach I
should use?
Some back ground on my application. I have a player app that
needs to convert the audio samples into PCM, manipulate the sample, then play
them. I want to create the best possible user experience. I do not want
the user to have to press the play back button, then wait a couple of min for the
sample to be converted to PCM before playback begins. Ideally the things would
work something like
While ( !done ) {
Get buffer from file
Convert buffer to PCM
Process buffer
Enqueue buffer
}
Anyone know what kind of performance I am likely to get
using each of these approaches?
My understanding is AudioQueueOfflineRender() uses a
software codec. Is there a way to leverage the hardware codec?
Thanks
Andy
|
_______________________________________________
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