Chromium Code Reviews| Index: media/base/audio_renderer_sink.h |
| diff --git a/media/base/audio_renderer_sink.h b/media/base/audio_renderer_sink.h |
| index 4052112bab555b6703c90962422323f5cbeff0e4..3c9f0c2c8daa70b4da8083039ae3bae55e4bb0a6 100644 |
| --- a/media/base/audio_renderer_sink.h |
| +++ b/media/base/audio_renderer_sink.h |
| @@ -73,6 +73,9 @@ class AudioRendererSink |
| // Must never be called on the IO thread. |
| virtual OutputDeviceInfo GetOutputDeviceInfo() = 0; |
| + // Returns |true| if a source with hardware parameters is preferable. |
| + virtual bool OptimizedForHardwareParameters() = 0; |
|
DaleCurtis
2017/05/01 22:55:08
Sorry, this should be IsOptimizedForHardwareParame
flim-chromium
2017/05/15 15:15:57
Done.
|
| + |
| // If DCHECKs are enabled, this function returns true if called on rendering |
| // thread, otherwise false. With DCHECKs disabled, it returns true. Thus, it |
| // is intended to be used for DCHECKing. |