Chromium Code Reviews| Index: media/audio/audio_parameters.h |
| diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h |
| index 2735d79af927889eef786b9acd907140230fd3ac..d7d730b91497b1a6bd145961c5ce7b6e0ec6f2c1 100644 |
| --- a/media/audio/audio_parameters.h |
| +++ b/media/audio/audio_parameters.h |
| @@ -177,6 +177,9 @@ class MEDIA_EXPORT AudioParameters { |
| AudioParameters(const AudioParameters&); |
| AudioParameters& operator=(const AudioParameters&); |
| + // Creates reasonable dummy parameters in case no device is available. |
|
DaleCurtis
2016/03/29 19:57:43
Hmm, this meaning is a bit unclear. It seems to im
o1ka
2016/03/30 14:02:42
Not quite in one place, it's actuallly freshly bor
|
| + static AudioParameters UnavailableDeviceParams(); |
| + |
| private: |
| Format format_; // Format of the stream. |
| ChannelLayout channel_layout_; // Order of surround sound channels. |