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

Unified Diff: media/audio/null_audio_sink.cc

Issue 2836293002: Introduce AudioRendererSink::IsOptimizedForHardwareParameters (Closed)
Patch Set: 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
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..3cd92d17854e80cd26a262da02c32902176607bd 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -75,7 +75,8 @@ bool NullAudioSink::SetVolume(double volume) {
return volume == 0.0;
}
-OutputDeviceInfo NullAudioSink::GetOutputDeviceInfo() {
+OutputDeviceInfo NullAudioSink::GetOutputDeviceInfo(
+ const AudioParameters& preferred_params) {
return OutputDeviceInfo(OUTPUT_DEVICE_STATUS_OK);
}

Powered by Google App Engine
This is Rietveld 408576698