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

Unified Diff: media/base/audio_block_fifo.h

Issue 396263004: Switch the input code to use AudioBlockFifo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed the comments. Created 6 years, 5 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
« no previous file with comments | « media/audio/pulse/pulse_input.cc ('k') | media/base/audio_block_fifo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_block_fifo.h
diff --git a/media/base/audio_block_fifo.h b/media/base/audio_block_fifo.h
index d3d5a8ac240a6e466a0e93d44b50d000480efbd3..fdb5cef6225664dc81974a30764c1bee983813c4 100644
--- a/media/base/audio_block_fifo.h
+++ b/media/base/audio_block_fifo.h
@@ -39,6 +39,9 @@ class MEDIA_EXPORT AudioBlockFifo {
// Number of available block of memory ready to be consumed in the FIFO.
int available_blocks() const { return available_blocks_; }
+ // Number of available frames of data in the FIFO.
+ int GetAvailableFrames() const;
+
// Number of unfilled frames in the whole FIFO.
int GetUnfilledFrames() const;
« no previous file with comments | « media/audio/pulse/pulse_input.cc ('k') | media/base/audio_block_fifo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698