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

@@ -19,8 +19,8 @@
#include "common_audio/signal_processing/include/signal_processing_library.h"
enum {
/* We always produce 20ms frames. */
kWebRtcOpusMaxEncodeFrameSizeMs = 20,
/* Maximum supported frame size in WebRTC is 60 ms. */
kWebRtcOpusMaxEncodeFrameSizeMs = 60,
/* The format allows up to 120ms frames. Since we
* don't control the other side, we must allow