Canonical format max amp limits?
Canonical format max amp limits?
- Subject: Canonical format max amp limits?
- From: Carlos Eduardo Mello <email@hidden>
- Date: Tue, 13 Jul 2004 15:28:16 -0300
Hi,
A few days ago I asked about how to set a default output unit to
playback my finished audio buffers.
It is working right now, exept for one thing - I couldn't find anywhere
in the docs (headers, etc). what is the maximum amplitude value
expected for the canonical format. Docs say every sample is a float,
but not how big they can be. So I tried the greatest float value for
the system, then I tried 32767 (thinking the float was just a way of
filling the gaps between 16 bit integers, and I also tried other
arbitrary constants. They all produced distortion. The only way it
works properly is if I normalize the signal to 1.0 before sending my
floats throught the input callback. Is this the expected thing to do?
If so, shouldn't it be clearly explained in the docs?
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.