commit | 32c4a0c96e239bee7623aef8ae592a5c7f7ec753 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | Fri Mar 01 15:18:23 2013 -0500 |
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | Fri Mar 01 15:23:01 2013 -0500 |
tree | a0125b967107e50702851b1bb7007a18ee01e23f | |
parent | 69c3dcd105432a72220478cbde851cc7917e5768 [diff] |
Applies soft-clipping to the int decoder API. opus_decode() and opus_multistream_decode() now apply soft clipping before converting to 16-bit int. This should produce better a higher quality result than hard clipping like we were doing before. The _float() API isn't affected, but the clipping function is exported so users can manually apply the soft clipping.