Removed NetEQ Test compile error.
BUG=443 TEST=Compiles using clang version 3.1 (trunk 153589) Review URL: https://webrtc-codereview.appspot.com/493005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2029 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -556,7 +556,7 @@ int decoder_GSMFR::loadToNetEQ(NETEQTEST_NetEQClass & neteq)
|
|||||||
decoder_SPEEX::decoder_SPEEX(WebRtc_UWord8 pt, WebRtc_UWord16 fs)
|
decoder_SPEEX::decoder_SPEEX(WebRtc_UWord8 pt, WebRtc_UWord16 fs)
|
||||||
:
|
:
|
||||||
NETEQTEST_Decoder(fs == 8000 ? kDecoderSPEEX_8 : kDecoderSPEEX_16,
|
NETEQTEST_Decoder(fs == 8000 ? kDecoderSPEEX_8 : kDecoderSPEEX_16,
|
||||||
fs, "SPEEX " + fs/1000, pt)
|
fs, "SPEEX", pt)
|
||||||
{
|
{
|
||||||
if (fs != 8000 && fs != 16000)
|
if (fs != 8000 && fs != 16000)
|
||||||
throw std::exception("Wrong sample rate for SPEEX");
|
throw std::exception("Wrong sample rate for SPEEX");
|
||||||
@@ -653,7 +653,7 @@ int decoder_AVT::loadToNetEQ(NETEQTEST_NetEQClass & neteq)
|
|||||||
#include "webrtc_cng.h"
|
#include "webrtc_cng.h"
|
||||||
decoder_CNG::decoder_CNG(WebRtc_UWord8 pt, WebRtc_UWord16 fs)
|
decoder_CNG::decoder_CNG(WebRtc_UWord8 pt, WebRtc_UWord16 fs)
|
||||||
:
|
:
|
||||||
NETEQTEST_Decoder(kDecoderCNG, fs, "CNG " + fs/1000, pt)
|
NETEQTEST_Decoder(kDecoderCNG, fs, "CNG", pt)
|
||||||
{
|
{
|
||||||
if (fs != 8000 && fs != 16000 && fs != 32000 && fs != 48000)
|
if (fs != 8000 && fs != 16000 && fs != 32000 && fs != 48000)
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|||||||
Reference in New Issue
Block a user