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

Unified Diff: media/base/android/media_codec_bridge.h

Issue 1285733002: Pass buffer offset to PlayOutputBuffer() call (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/android/media_codec_bridge.h
diff --git a/media/base/android/media_codec_bridge.h b/media/base/android/media_codec_bridge.h
index 8de5c4b24e0f33c6fb11fab661e2691a22175e09..df918bd30d888f301a812c78a9aa5a832f00dc98 100644
--- a/media/base/android/media_codec_bridge.h
+++ b/media/base/android/media_codec_bridge.h
@@ -236,7 +236,7 @@ class AudioCodecBridge : public MediaCodecBridge {
// Play the output buffer. This call must be called after
// DequeueOutputBuffer() and before ReleaseOutputBuffer. Returns the playback
// head position expressed in frames.
- int64 PlayOutputBuffer(int index, size_t size);
+ int64 PlayOutputBuffer(int index, size_t size, size_t offset);
// Set the volume of the audio output.
void SetVolume(double volume);

Powered by Google App Engine
This is Rietveld 408576698