Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjustment to float conversion routines
We originally made the conversion routines use a symmetrical range of -32767 - 32767 which always cause -32768 to be clipped to -1.0. However, SSE clipping code changed that behaviour making the C-code conversion routine behave differently to SSE code. Converting S16 samples wouldn't always be in the -1.0 .. 1.0 range causing clipping later on. Also, due to the forthcoming change to the transcoder, S16 -> Float -> S16 needed to be lossless which the previous code didn't abide to.
- Loading branch information
Showing
1 changed file
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters