• 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: ExtAudioFileSetProperty error number -1027
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFileSetProperty error number -1027


  • Subject: Re: ExtAudioFileSetProperty error number -1027
  • From: Ethan Funk <email@hidden>
  • Date: Thu, 21 May 2009 16:45:45 -0700

Yep, that's it! 

I passed the wrong format variable in, one which had not yet been initialized.

Thanks,
Ethan...

On May 21, 2009, at 4:37 PM, Doug Wyatt wrote:


On May 21, 2009, at 16:00 , Ethan Funk wrote:

Does any one know what an error -1027 means when returned from:

ExtAudioFileSetProperty(audioFileID, kExtAudioFileProperty_ClientDataFormat, sizeof(AudioStreamBasicDescription), &inFormat);

In the big picture, this is related to recording an aac file, based on the AudioFileRecorder example.

You may be truncating a 32-bit OSStatus of -66563 (0xfffefbfd) to its lower 16 bits, -1027 (0xfffffbfd).

kExtAudioFileError_NonPCMClientFormat = -66563,

The format you pass as a client data format must be PCM.

Doug


 _______________________________________________
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: ExtAudioFileSetProperty error number -1027
      • From: Doug Wyatt <email@hidden>
References: 
 >ExtAudioFileSetProperty error number -1027 (From: Ethan Funk <email@hidden>)
 >Re: ExtAudioFileSetProperty error number -1027 (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: ExtAudioFileSetProperty error number -1027
  • Next by Date: iPhone / iPod Touch kAudioSessionProperty_OverrideAudioRoute Issue
  • Previous by thread: Re: ExtAudioFileSetProperty error number -1027
  • Next by thread: Re: ExtAudioFileSetProperty error number -1027
  • Index(es):
    • Date
    • Thread