Chromium Code Reviews
DescriptionReplace 4096 with rendering quantum size
The code for AudioBufferSourceHandler::renderFromBuffer had a magic,
undocumented literal value of 4096. Replace this with
AudioUtilities::kRenderQuantumFrames, because it's clear that the
|numberOfFrames| can't be larger than the quantum size (from the call
tree). The destination bus should also have a maximum length of this
size.
BUG=631074
TEST=none
Committed: https://crrev.com/d2fc3f0348fa4b75175bb1892895dbbe621df417
Cr-Commit-Position: refs/heads/master@{#411437}
Patch Set 1 #
Messages
Total messages: 16 (9 generated)
|
|||||||||||||||||||