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

Unified Diff: media/audio/audio_io.cc

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix silly build buster 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/audio_io.cc
diff --git a/media/audio/audio_io.cc b/media/audio/audio_io.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b26760ca13fc04bb46d333b20be77d9f38e98e6c
--- /dev/null
+++ b/media/audio/audio_io.cc
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "media/audio/audio_io.h"
+
+namespace media {
+
+int AudioOutputStream::AudioSourceCallback::OnMoreData(AudioBus* dest,
+ int total_bytes_delay) {
+ return OnMoreData(dest, AudioBuffersState(0, total_bytes_delay));
+}
+
+int AudioOutputStream::AudioSourceCallback::OnMoreData(
+ AudioBus* dest,
+ AudioBuffersState buffers_state) {
+ return 0;
+};
+
+}

Powered by Google App Engine
This is Rietveld 408576698