Re: adapting "Playing Audio"
Re: adapting "Playing Audio"
- Subject: Re: adapting "Playing Audio"
- From: "B.J. Buchalter" <email@hidden>
- Date: Sun, 13 Jan 2008 18:14:15 -0500
On Jan 13, 2008, at 6:09 PM, Brian Willoughby wrote:
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.
Right -- but it will clip it to the maximum fixed point value.
You should not be doing anything to account for that asymmetry in your
fixed <-> float <-> fixed code, as handling the positive and negative
sides asymmetrically will introduce distortion.
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