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

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

Issue 1254293003: MediaCodecPlayer implementation (stage 4 - preroll) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-browserseek
Patch Set: Save the first post-preroll audio buffer and replay it when preroll is done Created 5 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
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..f607c4ba02e0f4e32f75c23d4f2fa89a79914879 100644
--- a/media/base/android/media_codec_bridge.h
+++ b/media/base/android/media_codec_bridge.h
@@ -238,6 +238,9 @@ class AudioCodecBridge : public MediaCodecBridge {
// head position expressed in frames.
int64 PlayOutputBuffer(int index, size_t size);
+ // Same but with explicit memory block.
+ int64 PlayOutputBuffer(uint8* buffer, size_t size);
+
// Set the volume of the audio output.
void SetVolume(double volume);

Powered by Google App Engine
This is Rietveld 408576698