Adding three frame sizes to Opus

Adding support for 10, 40 and 60 ms packet sizes for Opus.

BUG=issue1015

Review URL: https://webrtc-codereview.appspot.com/1086004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3454 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tina.legrand@webrtc.org
2013-02-01 14:20:06 +00:00
parent d087789b9c
commit 46d90dcd74
6 changed files with 52 additions and 36 deletions

View File

@ -108,7 +108,8 @@ ACMOpus::ACMOpus(int16_t codec_id)
bitrate_(20000), // Default bit-rate.
channels_(1) { // Default mono
codec_id_ = codec_id;
// Opus has internal DTX, but we dont use it for now.
// Opus has internal DTX, but we don't use it for now.
has_internal_dtx_ = false;
if (codec_id_ != ACMCodecDB::kOpus) {