mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

AUDIO_FORMAT_S16 is still used by MediaPipeline and fake microphones. The shadowing of offsetSamples, which would lead to incorrect offsets when down-mixing multiple chunks, is removed. The code now checks for down-mixing after up-mixing, as intended by the up-mixing design, even though this is not necessary for the current up-mixing tables since https://hg.mozilla.org/mozilla-central/rev/7ed8524e54f5c3d740780d52cc73510ae6e80337#l1.18 Depends on D193522 Differential Revision: https://phabricator.services.mozilla.com/D193523