DescriptionDefer changes to the channel count mode to the pre or post-render phase
In some situations, the channel count mode is updated just before the
audio rendering starts. During audio processing, the channel count
mode is used to set the number of channels for processing. However,
for AudioBasicProcessor's, the number of kernels has not yet been
updated to the correct number of channels, so the incorrect number of
channels is accessed.
We delay the setting of the channel count mode until the pre or post
rendering phase of the audio thread where it is safe to change things
since the audio graph is not being pulled.
BUG=407489
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181573
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add ASSERT #
Messages
Total messages: 10 (3 generated)
|