The rationale is that there's always an AudioStreamBasicDescription telling you 
what kind of data you have. Assumptions involving AudioSampleType are fragile. 
sizeof(AudioSampleType) can always be replaced by a calculation involving bytes 
per frame (being careful of interleavedness). If you are touching the samples 
yourself, it's not very useful (and probably dangerous) to rely on 
AudioSampleType instead of int16_t, int32_t, or float.

HTH,
Doug


> On Jan 9, 2015, at 12:01 , Robert Carroll <[email protected]> wrote:
> 
> Is there a way to replay the deprecated audiounitsampletype with something 
> that will work on both ios 8 and pre-ios 8? I had gone through my code and 
> replaced audiounitsampletype with SInt 32, which works for ios 6 & 7, but 
> fails with ios8.
> 
> any suggestions would be appreciated
> 
> thanks,
> 
> 
> Robert Carroll
> RSM Records
> Toronto
> http://www.rsmrecords.com
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/coreaudio-api/dwyatt%40apple.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to