Chromium Code Reviews| Index: content/renderer/media/audio_device_factory.cc |
| diff --git a/content/renderer/media/audio_device_factory.cc b/content/renderer/media/audio_device_factory.cc |
| index dea30f5864dcee2a29f6d0fbebd28a0d85993611..0780083fd667ec33ceb9b85e8cf9b006de87cfaa 100644 |
| --- a/content/renderer/media/audio_device_factory.cc |
| +++ b/content/renderer/media/audio_device_factory.cc |
| @@ -24,7 +24,11 @@ namespace content { |
| AudioDeviceFactory* AudioDeviceFactory::factory_ = NULL; |
| namespace { |
| +#if defined(OS_WIN) |
| const int64_t kMaxAuthorizationTimeoutMs = 900; |
|
Guido Urdaneta
2016/06/30 09:11:02
Add a comment explaining why the timeout is necess
|
| +#else |
| +const int64_t kMaxAuthorizationTimeoutMs = 0; // No timeout. |
| +#endif // defined(OS_WIN) |
| media::AudioLatency::LatencyType GetSourceLatencyType( |
| AudioDeviceFactory::SourceType source) { |