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

Unified Diff: media/audio/audio_output_stream_sink.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 | « media/audio/audio_output_stream_sink.h ('k') | media/audio/clockless_audio_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_stream_sink.cc
diff --git a/media/audio/audio_output_stream_sink.cc b/media/audio/audio_output_stream_sink.cc
index 17ad0735397ff0c3a2c0a4bdb4fabd0a99c76c6f..609995dd3a1fc68303150e814858663998235e36 100644
--- a/media/audio/audio_output_stream_sink.cc
+++ b/media/audio/audio_output_stream_sink.cc
@@ -79,6 +79,10 @@ OutputDeviceInfo AudioOutputStreamSink::GetOutputDeviceInfo() {
return OutputDeviceInfo();
}
+bool AudioOutputStreamSink::IsOptimizedForHardwareParameters() {
+ return true;
+}
+
bool AudioOutputStreamSink::CurrentThreadIsRenderingThread() {
NOTIMPLEMENTED();
return false;
« no previous file with comments | « media/audio/audio_output_stream_sink.h ('k') | media/audio/clockless_audio_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698