Re: adapting "Playing Audio"
Re: adapting "Playing Audio"
- Subject: Re: adapting "Playing Audio"
- From: Brian Willoughby <email@hidden>
- Date: Sun, 13 Jan 2008 15:09:53 -0800
Or, more precisely, the driver will clip the audio to -1.0 <= x < 1.0
Depending upon your algorithm, it may be important to note that -1.0
is legal and valid, but +1.0 is not. The sample value must be one
fixed point unit less than +1.0 in two's complement.
If your float values started out life as fixed point, which they
nearly always do unless you're synthesizing with some algorithm, then
the two's complement limitations will already be met.
Brian Willoughby
Sound Consulting
On Jan 13, 2008, at 13:53, B.J. Buchalter wrote:
I have a question about "clipping level". Since the LinearPCM
signals are in float format they have an enormous range. Is there a
maximum signal value above which the audio output will be clipped?
The driver will clip the audio at +/- 1.0 when it converts to a fixed
point format.
Best regards,
B.J. Buchalter
Metric Halo
http://www.mhlabs.com
_______________________________________________
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