Refactor audio conversion functions.

Use a consistent naming scheme that can be understood at the callsite
without having to refer to documentation.

Remove hacks in AudioBuffer intended to maintain bit-exactness with the
float path. The conversions etc. are now all natural, and instead we
enforce close but not bit-exact output between the two paths.

Output of ApmTest.Process:
https://paste.googleplex.com/5931055831842816

R=aluebs@webrtc.org, bjornv@webrtc.org, kwiberg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7561 4adac7df-926f-26a2-2b94-8c16560cd09d
adding default rates

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

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

git-svn-id: http://webrtc.googlecode.com/svn@7564 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert 7564 "to submit" due to wrong submission

> to submit

TBR=minyue@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7565 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert 7563 "before rebase" due to wrong submission

> before rebase

TBR=minyue@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7566 4adac7df-926f-26a2-2b94-8c16560cd09d
(Auto)update libjingle 78822708-> 78823675

git-svn-id: http://webrtc.googlecode.com/svn@7567 4adac7df-926f-26a2-2b94-8c16560cd09d
Cleaning up r7562-7567.

Wrongly used git svn dcommit for committing a CL.

Then two reverts were applied.

Still something needs to be cleaned.

BUG=

TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7568 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert part of r7561, "Refactor audio conversion functions."

Specifically, revert this part:

  "Remove hacks in AudioBuffer intended to maintain bit-exactness with
   the float path. The conversions etc. are now all natural, and
   instead we enforce close but not bit-exact output between the two
   paths."

But keep the conversion function rename, since that doesn't seem to be
causing problems.

R=tina.legrand@webrtc.org, bjornv@webrtc.org
TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7569 4adac7df-926f-26a2-2b94-8c16560cd09d
Creating a C++ wrapper class for VAD

Also adding a mock. This work is part of an ongoing effort to
encapsulate encoders in AudioEncoder classes. The CNG encoder will also
be implemented as an AudioEncoder class, and will also contain a VAD
C++ wrapper.

BUG=3926
R=bjornv@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7570 4adac7df-926f-26a2-2b94-8c16560cd09d
Add 15 fps support for Android devices with missing 15 fps
camera mode.

Some latest Android devices support only 30 fps for front camera,
but HW VP8 encoder performance is not enough for 720p 30 fps
encoding. Add 15 fps support for these devices by allowing
frame drop in Android camera wrapper.

BUG=
R=tkchin@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7571 4adac7df-926f-26a2-2b94-8c16560cd09d
Improve the logging when a TCP connection is deleted.

BUG=
R=juberti@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7572 4adac7df-926f-26a2-2b94-8c16560cd09d
arm64 iOS build.

Allows successful build of arm64 libraries using
GYP_DEFINES="OS=ios target_arch=arm64 target_subarch=arm64".
Note that not all libraries will be NEON optimized (eg common_audio),
however most importantly libvpx will be. WEBRTC_ARCH_ARM needs to be
defined so that libvpx doesn't post-process, which is significantly
detrimental to performance.

BUG=3898
R=kjellander@webrtc.org, pthatcher@webrtc.org

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

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