sample data types (iOS)
sample data types (iOS)
- Subject: sample data types (iOS)
- From: Schell Scivally <email@hidden>
- Date: Mon, 7 Feb 2011 19:21:17 -0800
Hi all. I'd like some information on using different data types as
sample values. I've read that using 8.24 fixed-point samples
(AudioUnitSampleType) is fastest, though I admit I don't quite know
what 8.24 means in terms of bits (I'm guessing it means 24 bit
precision right of the decimal and 8 bits left of the decimal). Is
this a 32 bit signed float? It is confusing that then the canonical
input/output type (AudioSampleType) is a 16 bit signed integer. Can
anyone provide some clarification on how and when to use which type?
Now, in a render callback if my ASBD needs float values, should I be
generating values between +-1.0 or +-CGFLOAT_MAX or neither?
--
Schell Scivally
email@hidden (email@hidden)
http://blog.efnx.com
http://github.com/efnx
_______________________________________________
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