Fix type conversion warning.

Use abs(sweep_bps) instead of fabs(). "sweep_bps" is an integer,
and on some compilers this line generates a warning.

Patch from Tina le Grand.
Reviewed by Jean-Marc Valin
Adds SIG2WORD16() to fixed_debug.h
Fixes a bug in silk_sum_sqr_shift() that was causing issues with Burg.

When an overflow happened in silk_sum_sqr_shift(), the sample pair causing
the overflow would be counted twice. This would lead to the C0 in
silk_burg_modified() being too large and cause problems on loud, tonal
signals. Thanks to Marcello Caramma for tracking down the problem.
MIPS optimizations

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Using Makefile.mips to buidl the MIPS code
Whitespace fixes
Fixes CNG to address the DTX issue reported by Gonzalo Mariano

- Bug fix: the CNG synthesis filter output consisted of only the prediction
  values, now added the input to that.
- CNG excitation level now takes into account the level from the PLC (since
  both PLC and CNG can be active at the same time).
- CNG is now called before PLC_glue() to smoothen the transition out of CNG.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Fixes CNG overflows from the previous commit

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Merge branch 'exp_mips_opt'
multi-stream fix when setting bitrate to AUTO, MAX, or small values

OPUS_AUTO should now work fine, while using OPUS_BITRATE_MAX would still
be a bad idea for controlling CBR rate for multistream. The encoder should
now throw an error early on if max_data_bytes is just too small to do anything.
Update Opus RTP payload

Addresses comments from several months ago
RTP draft: avoiding confusion with 2119 language
Using 64-bit acculumation for C0 in silk_burg_modified()

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Add ~ to the arguments of genversion.bat

genversion.bat would fail if an argument was passed with quotations.
This is because the quotations were not being stripped before using
them as variables, causing the _temp files not being created.

Adding ~ to the arguments causes windows to strip the quotations,
enabling it to be used with path names containing spaces and the
MSVS pre-build event.

Signed-off-by: Ralph Giles <giles@mozilla.com>
RTP draft edits (no normative changes).

This is the result of an editing pass for clarity and consistency.
RTP draft edits (normative changes).

Here are my proposals to resolve a few issues with the current
 draft.
See the corresponding message to the list for details.
Merge remote-tracking branch 'origin/master' into derf_rtp_edits

Conflicts:
	doc/draft-ietf-payload-rtp-opus.xml
Ogg Opus Draft: apply some clarifications from derf.
Ogg Opus Draft: Add R128_ALBUM_GAIN.

Patch from Greg Maxwell in response to implementor feedback.
https://www.ietf.org/mail-archive/web/codec/current/msg03053.html
Ogg Opus Draft: Fix a typo.

Thanks to Calvin Walton for pointing this out.