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

Unified Diff: media/base/audio_pull_fifo.h

Issue 10918098: Introduce AudioOutputResampler for browser side resampling. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unittests! Bugs! Created 8 years, 3 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: media/base/audio_pull_fifo.h
diff --git a/media/base/audio_pull_fifo.h b/media/base/audio_pull_fifo.h
index 886b1ed2eda3a205ea19a422787ceb469e29aad2..e98db596bbe24247f29d31df131dd4c40c81267c 100644
--- a/media/base/audio_pull_fifo.h
+++ b/media/base/audio_pull_fifo.h
@@ -36,6 +36,8 @@ class MEDIA_EXPORT AudioPullFifo {
// data to fulfill the request using the ReadCB implementation.
void Consume(AudioBus* destination, int frames_to_consume);
+ void Clear() { fifo_->Clear(); }
scherkus (not reviewing) 2012/09/10 12:47:47 docs + de-inline (it's not a simple getter)
DaleCurtis 2012/09/10 14:05:51 Not my change, will be removed by rebase against h
+
private:
// Attempt to fulfill the request using what is available in the FIFO.
// Append new data to the |destination| starting at |write_pos|.

Powered by Google App Engine
This is Rietveld 408576698