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

Unified Diff: media/filters/audio_renderer_algorithm_base.h

Issue 155695: Replace the guts of AudioRendererBase with calls to scaling algorithm. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/base/mock_filters.h ('k') | media/filters/audio_renderer_algorithm_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_algorithm_base.h
===================================================================
--- media/filters/audio_renderer_algorithm_base.h (revision 22189)
+++ media/filters/audio_renderer_algorithm_base.h (working copy)
@@ -68,6 +68,12 @@
virtual float playback_rate();
virtual void set_playback_rate(float new_rate);
+ // Returns whether |queue_| is empty.
+ virtual bool IsQueueEmpty();
+
+ // Returns true if we have enough data
+ virtual bool IsQueueFull();
+
protected:
// Advances |queue_|'s internal pointer by |bytes|.
void AdvanceInputPosition(size_t bytes);
@@ -76,9 +82,6 @@
// bytes successfully copied.
size_t CopyFromInput(uint8* dest, size_t bytes);
- // Returns whether |queue_| is empty.
- virtual bool IsQueueEmpty();
-
// Returns the number of bytes left in |queue_|.
virtual size_t QueueSize();
« no previous file with comments | « media/base/mock_filters.h ('k') | media/filters/audio_renderer_algorithm_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698