• 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: AudioConverterNew() and 'perm' error on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: AudioConverterNew() and 'perm' error on iPhone
      • From: "Roni Music" <email@hidden>
References: 
 >AudioConverterNew() and 'perm' error on iPhone (From: "Roni Music" <email@hidden>)

  • Prev by Date: CarbonView in Logic 8
  • Next by Date: Re: AudioConverter 8.24 to Float32
  • Previous by thread: AudioConverterNew() and 'perm' error on iPhone
  • Next by thread: Re: AudioConverterNew() and 'perm' error on iPhone
  • Index(es):
    • Date
    • Thread