• 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
ExtAudioFileSetProperty fails with bizarre error code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ExtAudioFileSetProperty fails with bizarre error code


  • Subject: ExtAudioFileSetProperty fails with bizarre error code
  • From: Stevo Brock <email@hidden>
  • Date: Fri, 28 Oct 2011 15:43:43 -0700

We're trying to convert simple uncompressed audio to AAC using CoreAudio.  All iPhones, iPod Touches, and iPad 1s work great.  We're only seeing an issue on an iPad 2 running iOS 4.3.5 when running an iPhone app.


mFileFormat is:
sample rate = 11025
format ID = aac
bytes per packet = 0
frames per packet = 0
bytes per frame = 0
channels per frame = 1
bits per channel = 8
reserved = 0
		status = ExtAudioFileCreateWithURL((CFURLRef) URL, kAudioFileM4AType, &mFileFormat, nil,
				kAudioFileFlags_EraseFile, &mExtAudioFileRef);


transferFormat is:
sample rate = 11025
format ID = lpcm
format flags = 12
bytes per packet = 1
frames per packet = 1
bytes per frame = 1
channels per frame = 1
bits per channel = 8
		status = ExtAudioFileSetProperty(mExtAudioFileRef, kExtAudioFileProperty_ClientDataFormat,
				sizeof(AudioStreamBasicDescription), transferFormat);

returns status of -536870212


What does this code mean and how do we get this to work?

-Stevo

 _______________________________________________
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

  • Prev by Date: Re: AUSampler
  • Next by Date: ExtAudioFileDispose locks on iOS 5
  • Previous by thread: Re: kAudioSessionProperty_InputGainScalar default value?
  • Next by thread: ExtAudioFileDispose locks on iOS 5
  • Index(es):
    • Date
    • Thread