Add DelayBuffer utility class for later loopback functionality.
The DelayBuffer records and maintains a recent history of an audio signal, then allows read-back of any part of the recording. While this looks a lot like "yet another FIFO," it is not because the reads will typically be somewhere in the middle, not the end, of the circular queue. This will be used in a later change to support loopback functionality in the Audio Service. Bug: 824019 Change-Id: I5321724ac3a55929318d411a08d33344a39c2272 Reviewed-on: https://chromium-review.googlesource.com/1029617Reviewed-by:Olga Sharonova <olka@chromium.org> Reviewed-by:
Xiangjun Zhang <xjz@chromium.org> Reviewed-by:
Yuri Wiitala <miu@chromium.org> Commit-Queue: Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#556334}
Showing
Please register or sign in to comment