Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(723)

Unified Diff: third_party/WebKit/Source/platform/audio/AudioPullFIFO.h

Issue 2384073002: reflow comments in platform/audio (Closed)
Patch Set: comments (heh!) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/AudioPullFIFO.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioPullFIFO.h b/third_party/WebKit/Source/platform/audio/AudioPullFIFO.h
index 6a709570a8e6fa4ba506d230d71b29ff0016f6ae..7f375b2ee596b2b1e8f3ad7ee2a84ddb74345343 100644
--- a/third_party/WebKit/Source/platform/audio/AudioPullFIFO.h
+++ b/third_party/WebKit/Source/platform/audio/AudioPullFIFO.h
@@ -36,27 +36,30 @@
namespace blink {
-// A FIFO (First In First Out) buffer to handle mismatches in buffer sizes between a provider and
-// receiver. The receiver will "pull" data from this FIFO. If data is already available in the
-// FIFO, it is provided to the receiver. If insufficient data is available to satisfy the request,
-// the FIFO will ask the provider for more data when necessary to fulfill a request. Contrast this
-// with a "push" FIFO, where the sender pushes data to the FIFO which will itself push the data to
-// the receiver when the FIFO is full.
+// A FIFO (First In First Out) buffer to handle mismatches in buffer sizes
+// between a provider and receiver. The receiver will "pull" data from this
+// FIFO. If data is already available in the FIFO, it is provided to the
+// receiver. If insufficient data is available to satisfy the request, the FIFO
+// will ask the provider for more data when necessary to fulfill a request.
+// Contrast this with a "push" FIFO, where the sender pushes data to the FIFO
+// which will itself push the data to the receiver when the FIFO is full.
class PLATFORM_EXPORT AudioPullFIFO {
USING_FAST_MALLOC(AudioPullFIFO);
WTF_MAKE_NONCOPYABLE(AudioPullFIFO);
public:
- // Create a FIFO that gets data from |provider|. The FIFO will be large enough to hold
- // |fifoLength| frames of data of |numberOfChannels| channels. The AudioSourceProvider will be
- // asked to produce |providerSize| frames when the FIFO needs more data.
+ // Create a FIFO that gets data from |provider|. The FIFO will be large
+ // enough to hold |fifoLength| frames of data of |numberOfChannels| channels.
+ // The AudioSourceProvider will be asked to produce |providerSize| frames
+ // when the FIFO needs more data.
AudioPullFIFO(AudioSourceProvider& audioProvider,
unsigned numberOfChannels,
size_t fifoLength,
size_t providerSize);
- // Read |framesToConsume| frames from the FIFO into the destination. If the FIFO does not have
- // enough data, we ask the |provider| to get more data to fulfill the request.
+ // Read |framesToConsume| frames from the FIFO into the destination. If the
+ // FIFO does not have enough data, we ask the |provider| to get more data to
+ // fulfill the request.
void consume(AudioBus* destination, size_t framesToConsume);
private:
« no previous file with comments | « third_party/WebKit/Source/platform/audio/AudioProcessor.h ('k') | third_party/WebKit/Source/platform/audio/AudioPullFIFO.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698