DescriptionIntroduce media::AudioPushFifo and a couple of use cases (and clean-ups).
The media::AudioPushFifo is yet another FIFO for audio data. It is the
"push" version of the existing media::AudioPullFifo.
Two audio-handling implementations are switched over to using the new
AudioPushFifo in this change, with a few more to follow in later
changes:
1. Cast Receiver glue: While there was no FIFO before, one will be
required due to future refactoring work in the MediaStream audio
framework. In addition, a time value calculation was fixed, to adhere
to the media::AudioCapturerSource interface contract.
2. content::WebAudioCapturerSource: The code using the AudioFifo
implementation was simplified by using AudioPushFifo instead.
BUG=577881, 577874
Committed: https://crrev.com/7e920b99ed879f2b08393ff0e5664f60281e274e
Cr-Commit-Position: refs/heads/master@{#377457}
Patch Set 1 : #Patch Set 2 : Fix Win compile issue. #
Total comments: 24
Patch Set 3 : Addressed all review comments. Now called AudioPushFifo. REBASED #
Total comments: 10
Patch Set 4 : Address dale's 2nd round comments. Added Flush() with more unit testing. #
Total comments: 8
Patch Set 5 : addressed last round of comments #Patch Set 6 : Fix unittest compile breakage caused by recent method rename. #
Messages
Total messages: 32 (15 generated)
|