kAudioFormatFlagsAudioUnitCanonical
kAudioFormatFlagsAudioUnitCanonical
- Subject: kAudioFormatFlagsAudioUnitCanonical
- From: Chris Adamson <email@hidden>
- Date: Thu, 26 Feb 2009 14:40:04 -0500
So, the format of kAudioFormatFlagsAudioUnitCanonical is 8.24 fixed point (mentioned in some doc, as well as in CoreAudioTypes.h).
Pardon the "still getting my C sensibilities back" question, but are there any utilities in the iPhone SDK for working with 8.24 fixed, like the Fixed data type or FloatToFixed function from the Mac SDK? There's a AudioUnitSampleType in CoreAudioTypes.h, but it's just defined as SFloat32. Do I need to plan on doing my own bit-shifting? So far, I'm generating square waves by setting the high eight bits of each sample to either 0x80 to 0x00.
--Chris
|
_______________________________________________
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