DescriptionRemove extra memcpys from AudioPullFifo.
Due to AudioPullFifo always clearing the |fifo_| before reading
another block from |read_cb_| we can actually remove the AudioFifo
object in favor of a plain AudioBus.
Speedup is ~17% over the old version per AudioConverter benchmark
using --audio-converter-iterations=500000:
Old: 430.04ms
New: 355.44ms
BUG=none
TEST=media_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201662
Patch Set 1 #
Total comments: 2
Patch Set 2 : Comments. #Patch Set 3 : Fix includes. #
Messages
Total messages: 8 (0 generated)
|