From 45d2840623957ad636935a923cc299fbc95ae7f4 Mon Sep 17 00:00:00 2001 From: "turaj@webrtc.org" Date: Fri, 30 Aug 2013 15:37:08 +0000 Subject: [PATCH] Zero comfort noise for stereo insted of assertion. R=henrik.lundin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2084004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4645 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_coding/neteq4/comfort_noise.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_coding/neteq4/comfort_noise.cc b/webrtc/modules/audio_coding/neteq4/comfort_noise.cc index 219a587891..a55f13082f 100644 --- a/webrtc/modules/audio_coding/neteq4/comfort_noise.cc +++ b/webrtc/modules/audio_coding/neteq4/comfort_noise.cc @@ -54,7 +54,7 @@ int ComfortNoise::Generate(size_t requested_length, // TODO(hlundin): Change to an enumerator and skip assert. assert(fs_hz_ == 8000 || fs_hz_ == 16000 || fs_hz_ == 32000 || fs_hz_ == 48000); - assert(output->Channels() == 1); // Not adapted for multi-channel yet. + // Not adapted for multi-channel yet. if (output->Channels() != 1) { return kMultiChannelNotSupported; }