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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1565623002: Replace WebAudio MediaCodec usage with FFmpeg. A ~4x improvement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete expectations. Created 4 years, 11 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
« no previous file with comments | « content/renderer/media/android/audio_decoder_android.cc ('k') | media/base/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 391a2a4827698dc770fa2280d0b7752b75df451a..4d69f7e07ab8d51b9d5a52d02a766b424e84f284 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -98,7 +98,6 @@
#if defined(OS_ANDROID)
#include "content/renderer/android/synchronous_compositor_factory.h"
-#include "content/renderer/media/android/audio_decoder_android.h"
#include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h"
#endif
@@ -753,17 +752,6 @@ WebAudioDevice* RendererBlinkPlatformImpl::createAudioDevice(
return new RendererWebAudioDeviceImpl(params, callback, session_id);
}
-#if defined(OS_ANDROID)
-bool RendererBlinkPlatformImpl::loadAudioResource(
- blink::WebAudioBus* destination_bus,
- const char* audio_file_data,
- size_t data_size) {
- return DecodeAudioFileData(destination_bus,
- audio_file_data,
- data_size,
- thread_safe_sender_);
-}
-#else
bool RendererBlinkPlatformImpl::loadAudioResource(
blink::WebAudioBus* destination_bus,
const char* audio_file_data,
@@ -771,7 +759,6 @@ bool RendererBlinkPlatformImpl::loadAudioResource(
return DecodeAudioFileData(
destination_bus, audio_file_data, data_size);
}
-#endif // defined(OS_ANDROID)
//------------------------------------------------------------------------------
« no previous file with comments | « content/renderer/media/android/audio_decoder_android.cc ('k') | media/base/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698