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

Unified Diff: media/audio/sounds/audio_stream_handler.cc

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove AudioBufferState since ledger code is no longer built in Chrome. Created 6 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/audio/sounds/audio_stream_handler.cc
diff --git a/media/audio/sounds/audio_stream_handler.cc b/media/audio/sounds/audio_stream_handler.cc
index 645fcb366a3fe8d6efa2faf12a366c8fdff102c6..7e48b2d652141e12f462e743bbcb3620d35beeea 100644
--- a/media/audio/sounds/audio_stream_handler.cc
+++ b/media/audio/sounds/audio_stream_handler.cc
@@ -105,7 +105,7 @@ class AudioStreamHandler::AudioStreamContainer
// AudioOutputStream::AudioSourceCallback overrides:
// Following methods could be called from *ANY* thread.
virtual int OnMoreData(AudioBus* dest,
- AudioBuffersState /* state */) OVERRIDE {
+ int /* total_bytes_delay */) OVERRIDE {
base::AutoLock al(state_lock_);
size_t bytes_written = 0;

Powered by Google App Engine
This is Rietveld 408576698