• 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 ClientDataFormat error on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFileSetProperty ClientDataFormat error on iPhone


  • Subject: Re: ExtAudioFileSetProperty ClientDataFormat error on iPhone
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 12 Oct 2009 12:26:58 -0700


On Oct 12, 2009, at 12:03 , tahome izwah wrote:

Thanks, but why does the documentation ( http://bit.ly/yKBDB ) say
that kAudioFormatFlagIsFloat is "Available in iPhone OS 2.0 and later"
??

That's just a constant; formats are described exactly the same way on the desktop and phone. Availability of the constant is not the same thing as API features described by the constant.


Another way to put this: It's possible to describe some pretty esoteric PCM formats with an AudioStreamBasicDescription, but AudioConverter only supports a certain subset of those.


And secondly, is there a reason why the simulator behaves differently
than the device?

There are a lot of ways in which the simulator behaves differently form the device. In this case it's because even though the simulator is running all of the audio units etc. in integer/fixed-point formats, at some point AudioToolbox has to talk to the HAL in floating point, and it likes to use AudioConverter for those conversions. Sorry that we didn't find a way to hide that.


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 ClientDataFormat error on iPhone
      • From: tahome izwah <email@hidden>
References: 
 >ExtAudioFileSetProperty ClientDataFormat error on iPhone (From: tahome izwah <email@hidden>)
 >Re: ExtAudioFileSetProperty ClientDataFormat error on iPhone (From: Doug Wyatt <email@hidden>)
 >Re: ExtAudioFileSetProperty ClientDataFormat error on iPhone (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: ExtAudioFileRead Crash
  • Next by Date: Re: ExtAudioFileRead Crash
  • Previous by thread: Re: ExtAudioFileSetProperty ClientDataFormat error on iPhone
  • Next by thread: Re: ExtAudioFileSetProperty ClientDataFormat error on iPhone
  • Index(es):
    • Date
    • Thread