| 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..e806d29a2e39a2f1fb4634c4e8055ee6fa9356ee 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 IsOptimizedForHardwareParameters() = 0;
|
| +
|
| // 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.
|
|
|