| 1 |
This directory contains the resampler code that comes with the opus-tools |
| 2 |
package from the Opus codec distribution: |
| 3 |
|
| 4 |
http://www.opus-codec.org |
| 5 |
|
| 6 |
Version of opus-tools: 0.2 |
| 7 |
|
| 8 |
The Opus resampler is a modified version of the resampler that comes with the |
| 9 |
Speex codec. Although you can substitute this resampler with the one from Speex, |
| 10 |
the results will be less than satisfactory, since the version provided by Opus |
| 11 |
contains bugfixes for audio quality problems in the original Speex code. |
| 12 |
Therefore, it is not recommended to "unbundle" the code provided here and link |
| 13 |
against the Speex resampler, as this will result in very audible distortion when |
| 14 |
resampling audio from/to specific sample rates (44.1kHz to 96kHz, for example.) |
| 15 |
|
| 16 |
The resampler code is subject to the following license: |
| 17 |
|
| 18 |
Redistribution and use in source and binary forms, with or without |
| 19 |
modification, are permitted provided that the following conditions |
| 20 |
are met: |
| 21 |
|
| 22 |
- Redistributions of source code must retain the above copyright |
| 23 |
notice, this list of conditions and the following disclaimer. |
| 24 |
|
| 25 |
- Redistributions in binary form must reproduce the above copyright |
| 26 |
notice, this list of conditions and the following disclaimer in the |
| 27 |
documentation and/or other materials provided with the distribution. |
| 28 |
|
| 29 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 30 |
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 31 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 32 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER |
| 33 |
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 34 |
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 35 |
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 36 |
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 37 |
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 38 |
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 39 |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |