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

Unified Diff: media/base/audio_renderer_mixer.h

Issue 1809093003: Moving SwitchOutputDevice out of OutputDevice interface, eliminating OutputDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/base/BUILD.gn ('k') | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer_mixer.h
diff --git a/media/base/audio_renderer_mixer.h b/media/base/audio_renderer_mixer.h
index 042c4bebf2b031c4b6bc13a44816c33dc5c996c4..9c712105d98a9eef490f3e650a83643e77942802 100644
--- a/media/base/audio_renderer_mixer.h
+++ b/media/base/audio_renderer_mixer.h
@@ -46,11 +46,7 @@ class MEDIA_EXPORT AudioRendererMixer
pause_delay_ = delay;
}
- // TODO(guidou): remove this method. The output device of a mixer should
- // never be switched, as it may result in a discrepancy between the output
- // parameters of the new device and the output parameters with which the
- // mixer was initialized. See crbug.com/506507
- OutputDevice* GetOutputDevice();
+ OutputDeviceInfo GetOutputDeviceInfo();
private:
// Maps input sample rate to the dedicated converter.
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698