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

Unified Diff: media/base/mock_audio_renderer_sink.h

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/base/mock_audio_renderer_sink.h
diff --git a/media/base/mock_audio_renderer_sink.h b/media/base/mock_audio_renderer_sink.h
index 68ba2a46e42ff77fb3bb97e815f036bf0a93ee67..9ee5678d7217721b2c2756fa692dbacb03166449 100644
--- a/media/base/mock_audio_renderer_sink.h
+++ b/media/base/mock_audio_renderer_sink.h
@@ -31,7 +31,8 @@ class MockAudioRendererSink : public SwitchableAudioRendererSink {
MOCK_METHOD1(SetVolume, bool(double volume));
MOCK_METHOD0(CurrentThreadIsRenderingThread, bool());
- OutputDeviceInfo GetOutputDeviceInfo();
+ OutputDeviceInfo GetOutputDeviceInfo(
+ const AudioParameters& preferred_params = AudioParameters());
void SwitchOutputDevice(const std::string& device_id,
const url::Origin& security_origin,

Powered by Google App Engine
This is Rietveld 408576698