| Index: webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.h b/webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| index a707f2565c5db31261b84e3ca136fdf614f45406..495cdcd94b244de3d48de4e298dd911245827308 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| @@ -210,7 +210,9 @@ class NetEqImpl : public webrtc::NetEq {
|
| static const int kOutputSizeMs = 10;
|
| static const size_t kMaxFrameSize = 5760; // 120 ms @ 48 kHz.
|
| // TODO(hlundin): Provide a better value for kSyncBufferSize.
|
| - static const size_t kSyncBufferSize = 2 * kMaxFrameSize;
|
| + // Current value is kMaxFrameSize + 60 ms * 48 kHz, which is enough for
|
| + // calculating correlations of current frame against history.
|
| + static const size_t kSyncBufferSize = kMaxFrameSize + 60 * 48;
|
|
|
| // Inserts a new packet into NetEq. This is used by the InsertPacket method
|
| // above. Returns 0 on success, otherwise an error code.
|
|
|