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

Unified Diff: chromecast/media/service/cast_mojo_media_client.cc

Issue 2836293002: Introduce AudioRendererSink::IsOptimizedForHardwareParameters (Closed)
Patch Set: Revise comment Created 3 years, 8 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 | « no previous file | media/audio/audio_output_device.h » ('j') | media/base/audio_renderer_sink.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/service/cast_mojo_media_client.cc
diff --git a/chromecast/media/service/cast_mojo_media_client.cc b/chromecast/media/service/cast_mojo_media_client.cc
index d8e4fbba6dbaecb72a477e15a437e1c183f4fa67..0de458aeff98891ff77e317091ba10aeb61d8f70 100644
--- a/chromecast/media/service/cast_mojo_media_client.cc
+++ b/chromecast/media/service/cast_mojo_media_client.cc
@@ -37,7 +37,8 @@ class CastAudioRendererSink : public ::media::AudioRendererSink {
NOTREACHED();
return false;
}
- ::media::OutputDeviceInfo GetOutputDeviceInfo() final {
+ ::media::OutputDeviceInfo GetOutputDeviceInfo(
+ const ::media::AudioParameters& preferred_params) final {
return ::media::OutputDeviceInfo(device_id_,
::media::OUTPUT_DEVICE_STATUS_OK,
::media::AudioParameters());
« no previous file with comments | « no previous file | media/audio/audio_output_device.h » ('j') | media/base/audio_renderer_sink.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698