• Sam Zackrisson's avatar
    Remove redundant APM render buffer · 9a421fa1
    Sam Zackrisson authored
    This CL removes the render_fifo_ buffer from MediaStreamAudioProcessor
    and DCHECKs that the input audio is 10 ms long.
    
    MediaStreamAudioProcessor currently buffers audio provided to
    OnPlayoutData, to feed frames in 10 ms chunks to the APM. However, the
    caller of OnPlayoutData already DCHECKs that this is the case.
    
    This CL also modifies the unit tests. They use the same
    configuration for capture input as for render input, even though only
    capture needs to support input other than 10 ms.
    
    Bug: 804277
    
    Change-Id: Ia20cf0e0810c59570305f1ca295016e0ca11057e
    Reviewed-on: https://chromium-review.googlesource.com/875862
    Commit-Queue: Sam Zackrisson <saza@chromium.org>
    Reviewed-by: default avatarOlga Sharonova <olka@chromium.org>
    Reviewed-by: default avatarHenrik Grunell <grunell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#533990}
    9a421fa1
webrtc_audio_device_impl.h 9.68 KB