Re: kAudioFormatFlagIsFloat sample range
Re: kAudioFormatFlagIsFloat sample range
- Subject: Re: kAudioFormatFlagIsFloat sample range
- From: Brian Willoughby <email@hidden>
- Date: Sun, 12 Sep 2010 00:09:07 -0700
On Sep 11, 2010, at 20:49, Stephen F. Booth wrote:
If kAudioFormatFlagIsFloat is set as part of an ExtAudioFile's
client format, should the returned samples be in the range [-1, 1)?
I've always worked under this assumption but I can't find anything
explicit in the documentation. I've recently observed samples
being returned from AAC files with values >= 1 (and < -1), which is
causing clipping on one of my devices. It isn't difficult to
perform hard limiting, but this is something I hadn't noticed before.
I was under the impression that CoreAudio device drivers would always
hard clip before sending data to the DAC. Is that not happening in
your case? I guess hard clipping is not quite as gentle as hard
limiting, though...
Brian Willoughby
Sound Consulting
_______________________________________________
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