Re: AudioConverterNew() and 'perm' error on iPhone
Re: AudioConverterNew() and 'perm' error on iPhone
- Subject: Re: AudioConverterNew() and 'perm' error on iPhone
- From: William Stewart <email@hidden>
- Date: Tue, 11 Nov 2008 14:05:53 -0800
Currently, decoders such as aac, mp3 and alac are only supported
through the audio queue API - you cannot access them directly through
the audio converter. We've changed the simulator to reflect this
restriction (as you point out, it doesn't currently)
On Nov 11, 2008, at 2:15 AM, Roni Music wrote:
I'm trying to playback a mp3 file on an iPhone and when creating a
converter using
AudioConverterNew() it always returns error 0x70657256d ('perm'),
same for m4a and 'alac' files
but works fine for 'lpcm' (aiff) files.
When running in the simulator all file types works OK.
When using the AudioQueue API everything also works OK.
Isn't it possible to decode non pcm files on the iPhone?
yes, with the exception of the above (currently)
I need to get access to the decoded audio data for further DSP
processing so I can't use the AudioQueue API.
Or is it possible to do this using the AudioQueue API?
AudioQueueRenderOffline is meant to enable this, but we are still
looking at some issues here - I don't have any update to this at this
stage
Bill
Thanks,
Rolf
_______________________________________________
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
_______________________________________________
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