DescriptionAdds media::AudioPullFifo class to Chrome.
A FIFO (First In First Out) buffer to handle mismatches in buffer sizes
between a provider and consumer. The consumer will pull data from this FIFO.
If data is already available in the FIFO, it is provided to the consumer.
If insufficient data is available to satisfy the request, the FIFO will ask
the provider for more data to fulfill a request.
BUG=none
TEST=--gtest_filter=AudioPullFifoTest.*
Patch Set 1 #Patch Set 2 : Finalized AudioPullFifo and added unit test #
Total comments: 9
Patch Set 3 : AudioFIFO changes based on comments from Andrew #
Total comments: 8
Patch Set 4 : Adds start_frame parameter to AudioFifo::Consume() #Patch Set 5 : Removed read_frames param and improved core implementation #Patch Set 6 : Added TODOs from Dale #
Total comments: 3
Patch Set 7 : Last cleanup and changes based on feedback from Andrew #Patch Set 8 : Now builds on all platforms #
Total comments: 12
Patch Set 9 : More changes proposed by Dale #Patch Set 10 : Added Clear() method #
Total comments: 6
Patch Set 11 : Rebased #Patch Set 12 : Nits #Patch Set 13 : just do it #Patch Set 14 : removed #Patch Set 15 : again #Patch Set 16 : test #
Messages
Total messages: 16 (0 generated)
|