Roll opus to 172355 and delete opus_demo from webrtc opus

opus_demo has been inlucded in opus in chromium.

BUG=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/973013

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3317 4adac7df-926f-26a2-2b94-8c16560cd09d
Fixed a missed initialization (found by valgrind FYI bot).

http://webrtc-cb-linux-master.cbf.corp.google.com:8011/builders/LinuxLargeTests/builds/327/steps/memory%20test%3A%20memcheck_voe_auto_test/logs/stdio

BUG=
TEST=Reproduced valgrind error, verified gone after fixing.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3318 4adac7df-926f-26a2-2b94-8c16560cd09d
Adding AUDIO application as default for Opus stereo

The Opus audio codec targets applications for pure conversations as well as other types of audio (e.g. music), and there are two different settings to use for this (VoIP and AUDIO). In the current implementation of Opus in WebRTC we use VoIP only.

I this CL I have changed default setting to AUDIO in the case of stereo, and kept VoIP as default in case of mono.

Next step is to add an API to choose application mode.

BUG=issue1239

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3319 4adac7df-926f-26a2-2b94-8c16560cd09d
Changed assert to log.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3320 4adac7df-926f-26a2-2b94-8c16560cd09d
Added possibility to repeat frames. Also added unittest for that feature.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3321 4adac7df-926f-26a2-2b94-8c16560cd09d
Bugfix for NACK behavior. Current code sends a number of duplicate NACK requests.

Landing of 573005 On behalf of an1kumar@gmail.com

TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/1002008

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3322 4adac7df-926f-26a2-2b94-8c16560cd09d
Reformatted thread and static_instance.

BUG=
TEST=Trybots.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3324 4adac7df-926f-26a2-2b94-8c16560cd09d
Replace voice engine utility functions with system wrapper variants.

SLEEP -> SleepMs
GET_TIME_IN_MS -> TickTime::MillisecondTimestamp

These could cause unused function errors on some compilers.

BUG=1228

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3326 4adac7df-926f-26a2-2b94-8c16560cd09d
Further relax thresholds in mixing test.

TBR=mikhal

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3327 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix implicit conversion error in mixing test.

TBR=mikhal

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3328 4adac7df-926f-26a2-2b94-8c16560cd09d
Reformatted trace* files.

BUG=
TEST=Trybots.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3329 4adac7df-926f-26a2-2b94-8c16560cd09d
Reformatted tick_util.

BUG=
TEST=Trybots.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3330 4adac7df-926f-26a2-2b94-8c16560cd09d
Reverting two mixing test patches: seems to introduce a persistent problem for win voe_auto_test (wrapping problem?)

Revert "Further relax thresholds in mixing test."

This reverts commit 53c7e973a02d65e0b4981129e7ccfc145d955eda.

Revert "Fix implicit conversion error in mixing test."

This reverts commit 68d7e2258082d7d2b9461061e03e2f2d6ae78c4f.

TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3331 4adac7df-926f-26a2-2b94-8c16560cd09d
Addressing webrtc issue 1237, http://code.google.com/p/webrtc/issues/detail?id=1237.

Code compared to C. Bit-exact.
Review URL: https://webrtc-codereview.appspot.com/1021004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3333 4adac7df-926f-26a2-2b94-8c16560cd09d
.gitignore: Add *.mk, created as part of ChromiumOS build

Contributed by Josh Triplett <josh.triplett@intel.com>

BUG=None
TEST=Build Chromium and ChromiumOS from source, and run "repo status",
     with and without this change.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3334 4adac7df-926f-26a2-2b94-8c16560cd09d
Change Sleep() comment in test fixture.

TBR=phoglund

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3335 4adac7df-926f-26a2-2b94-8c16560cd09d
Refactor receiver.h/.cc.

TEST=video_coding_unittests, vie_auto_test --automated

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3336 4adac7df-926f-26a2-2b94-8c16560cd09d
Removed spaces from full stack test labels, consolidated graphs

NOTE TO SELF: save history on master when deploying!

BUG=
TEST=Ran locally

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3337 4adac7df-926f-26a2-2b94-8c16560cd09d
Reformatted RTPReceiver.

This is a pure reformat patch, with the exception that I also fixed all comments and moved a constant. I did not change the types in this patch since I
though that is more risky, so I'll do that in a separate patch later (perhaps
we could purge the types from the whole module in one go?)

BUG=
TEST=Trybots, vie_ & voe_auto_test --automated

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3338 4adac7df-926f-26a2-2b94-8c16560cd09d
Updated version number to 3.20
Review URL: https://webrtc-codereview.appspot.com/1023008

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3341 4adac7df-926f-26a2-2b94-8c16560cd09d