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

Unified Diff: media/audio/null_audio_sink.cc

Issue 2836293002: Introduce AudioRendererSink::IsOptimizedForHardwareParameters (Closed)
Patch Set: Rename to IsOptimizedForHardwareParameters and set some to false 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
Index: media/audio/null_audio_sink.cc
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc
index 78dfbc90d9913888b3f7541eb0d8fcfed5a0414f..151f387e08bc17e4aaa9f4c89722cf9cdd0ec717 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -79,6 +79,10 @@ OutputDeviceInfo NullAudioSink::GetOutputDeviceInfo() {
return OutputDeviceInfo(OUTPUT_DEVICE_STATUS_OK);
}
+bool NullAudioSink::IsOptimizedForHardwareParameters() {
+ return false;
+}
+
bool NullAudioSink::CurrentThreadIsRenderingThread() {
return task_runner_->BelongsToCurrentThread();
}

Powered by Google App Engine
This is Rietveld 408576698