(Auto)update libjingle 70343444-> 70394475

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6581 4adac7df-926f-26a2-2b94-8c16560cd09d
Possibly fix deadlock happening due to unregister/register modules as switching between AST and TSO estimators.

I think this does not introduces any contention or new deadlocks. But that is hard to verify at the moment.

BUG=chromium:388191
R=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6582 4adac7df-926f-26a2-2b94-8c16560cd09d
Make deadlock suppressions less generic.

Previously they were enabled on all webrtc and talk primitives directly when TSAN config changed to enable deadlock detections.

BUG=3509
R=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6583 4adac7df-926f-26a2-2b94-8c16560cd09d
Implement BUILD.gn for desktop_capture.

BUG=3441
R=brettw@chromium.org, kjellander@webrtc.org

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

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

The script to update the resources before we used the .sha1 files
was moved out in r4277 and later deleted in r5099.
This dir serves no purpose, so let's remove it.

BUG=
R=phoglund@webrtc.org

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6586 4adac7df-926f-26a2-2b94-8c16560cd09d
WebRTCDemo: set local SSRC for loopback test, otherwise receiver would reset it due to ssrc clash, which would cause delayed remote rendering.
(Including another fix here, https://review.webrtc.org/16779004/, to make the test run)

BUG=3500
TEST=Manual Test
R=glaznev@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6587 4adac7df-926f-26a2-2b94-8c16560cd09d
Removed old code and default implementations.

R=mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6588 4adac7df-926f-26a2-2b94-8c16560cd09d
Add Tsan2 to .gitignore

R=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6589 4adac7df-926f-26a2-2b94-8c16560cd09d
EchoCancellationImpl::ProcessRenderAudio: Use float samples directly

This patch lets EchoCancellationImpl::ProcessRenderAudio ask the given
AudioBuffer for float sample data directly, instead of asking for
int16 samples and then converting manually.

Since EchoCancellationImpl::ProcessRenderAudio takes a const
AudioBuffer*, it was necessary to add some const accessors for float
data to AudioBuffer.

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6590 4adac7df-926f-26a2-2b94-8c16560cd09d
common_audio: Removes macro WEBRTC_SPL_SHIFT_W16

We should avoid macros in general (see style guide). This shift macro is not a severe one, since there is a check for negativity.

BUG=3348,3353
TESTED=trybots and manually
R=kwiberg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6591 4adac7df-926f-26a2-2b94-8c16560cd09d
Make experimental NS API not purely virtual

Because not all subclasses will want to bother overriding these methods.

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6592 4adac7df-926f-26a2-2b94-8c16560cd09d
delay_estimator: Allows dynamically used history sizes

Gives the user a possibility to dynamically change the history size. The main advantage is, for example, that you now can start with a wide delay range and over time decrease the search window to lower complexity.

Adds
- two new APIs.
- and updates unit tests.
- a history_size member variable to BinaryDelayEstimator.
- two help function re-allocating buffer memory.

One thing that makes this a little complicated is that you are allowed to have multiple delay estimators with the same reference, so changing the buffer sizes at one place will automatically give you a mismatch at other places.

BUG=3532, 3504
TESTED=trybots and manually
R=aluebs@webrtc.org, kwiberg@webrtc.org

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

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