Original issue's description: > Adding a some checks and switching out a few assert for RTC_[D]CHECK. > These changes are around use of AudioFrame.data_ to help us catch issues earlier since assert() is left out in release builds, including builds with DCHECK enabled. I've also added a few full-on CHECKs to avoid reading past buffer boundaries or continuing on in a failed state. > > BUG=chromium:613482 > NOTRY=true > (using notry due to offline android_arm64_rel bot) > > Committed: https://crrev.com/d36df89d40bde3c62ee5cbff841933e50b3c007b > Cr-Commit-Position: refs/heads/master@{#12870} TBR=henrik.lundin@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=chromium:613482 Review-Url: https://codereview.webrtc.org/2009253004 Cr-Commit-Position: refs/heads/master@{#12907}