| Index: media/base/channel_layout.h
|
| diff --git a/media/base/channel_layout.h b/media/base/channel_layout.h
|
| index 33575882f94e5d37200606893276d59da8cb9755..aaecf6b9ea6e96056a1d8b41d3e7913ac767a89d 100644
|
| --- a/media/base/channel_layout.h
|
| +++ b/media/base/channel_layout.h
|
| @@ -129,6 +129,10 @@ enum Channels {
|
| CHANNELS_MAX = SIDE_RIGHT, // Must always equal the largest value ever logged.
|
| };
|
|
|
| +// The maximum number of concurrently active channels for all possible layouts.
|
| +// ChannelLayoutToChannelCount() will never return a value higher than this.
|
| +constexpr int kMaxConcurrentChannels = 8;
|
| +
|
| // Returns the expected channel position in an interleaved stream. Values of -1
|
| // mean the channel at that index is not used for that layout. Values range
|
| // from 0 to ChannelLayoutToChannelCount(layout) - 1.
|
|
|