• zijiehe's avatar
    [Chromoting] Implement down mixing in AudioPump · c3315986
    zijiehe authored
    This change implements down mixing logic in AudioPump.
    It adds 3 / 4 / 5 / 6 / 7 / 8 channels support in AudioPacket and down mixes the
    packet into stereo before encoding. The newly added logic will only be executed
    once multichannel output is returned by Windows API.
    R=SergeyU@chromium.org, JoeDow@chromium.org
    Review-Url: https://codereview.chromium.org/2903153004
    Cr-Commit-Position: refs/heads/master@{#478488}
audio_pump.cc 8.54 KB