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

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

Issue 2836293002: Introduce AudioRendererSink::IsOptimizedForHardwareParameters (Closed)
Patch Set: rebase Created 3 years, 7 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') | no next file with comments »
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 2469940b8614557d480ceeb081ed0dc02b3578a9..d46196a9a4bdd18ecf3edfdb33511acd260d0aab 100644
--- a/chromecast/media/service/cast_mojo_media_client.cc
+++ b/chromecast/media/service/cast_mojo_media_client.cc
@@ -43,6 +43,12 @@ class CastAudioRendererSink : public ::media::AudioRendererSink {
::media::OUTPUT_DEVICE_STATUS_OK,
::media::AudioParameters());
}
+
+ bool IsOptimizedForHardwareParameters() final {
+ NOTREACHED();
+ return true;
+ }
+
bool CurrentThreadIsRenderingThread() final {
NOTREACHED();
return false;
« no previous file with comments | « no previous file | media/audio/audio_output_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698