Index: content/renderer/media/android/webmediaplayer_android.cc |
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc |
index dfad9db0f2f7f4c036516947b9cc7b0bb02ac0e1..4564d52d7f8c1be394cc62ad9511d7cc0633dbb5 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.cc |
+++ b/content/renderer/media/android/webmediaplayer_android.cc |
@@ -759,6 +759,34 @@ unsigned WebMediaPlayerAndroid::videoDecodedByteCount() const { |
return 0; |
} |
+size_t WebMediaPlayerAndroid::getAudioBufferSize() const { |
+ if (media_source_delegate_) |
+ return media_source_delegate_->getAudioBufferSize(); |
+ NOTIMPLEMENTED(); |
ddorwin
2015/06/17 21:02:27
As mentioned in https://codereview.chromium.org/11
servolk
2015/06/17 22:20:58
See my comments on other CLs: this could make sens
|
+ return 0; |
+} |
+ |
+void WebMediaPlayerAndroid::setAudioBufferSize(size_t size) { |
+ if (media_source_delegate_) |
+ media_source_delegate_->setAudioBufferSize(size); |
+ else |
+ NOTIMPLEMENTED(); |
+} |
+ |
+size_t WebMediaPlayerAndroid::getVideoBufferSize() const { |
+ if (media_source_delegate_) |
+ return media_source_delegate_->getVideoBufferSize(); |
+ NOTIMPLEMENTED(); |
+ return 0; |
+} |
+ |
+void WebMediaPlayerAndroid::setVideoBufferSize(size_t size) { |
+ if (media_source_delegate_) |
+ media_source_delegate_->setVideoBufferSize(size); |
+ else |
+ NOTIMPLEMENTED(); |
+} |
+ |
void WebMediaPlayerAndroid::OnMediaMetadataChanged( |
const base::TimeDelta& duration, int width, int height, bool success) { |
DCHECK(main_thread_checker_.CalledOnValidThread()); |