Struct ChannelLayoutConstList
Represents a read-only list of ChannelLayout_ref instances.
Implements
Inherited Members
Namespace: FFmpeg.Audio
Assembly: FFmpeg.dll
Syntax
public readonly struct ChannelLayoutConstList : IReadOnlyList<ChannelLayout_ref>, IReadOnlyCollection<ChannelLayout_ref>, IEnumerable<ChannelLayout_ref>, IEnumerable
Remarks
This class provides an enumerator to iterate over a collection of ChannelLayout_ref instances. The list is backed by a pointer to an array of FFmpeg.AutoGen._AVChannelLayout and its length.
Properties
View SourceCount
Gets the number of ChannelLayout_ref instances in the list.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets the ChannelLayout_ref at the specified index.
Declaration
public ChannelLayout_ref this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the ChannelLayout_ref to get. |
Property Value
| Type | Description |
|---|---|
| ChannelLayout_ref | The ChannelLayout_ref at the specified index. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when |
Methods
View SourceGetEnumerator()
Returns an enumerator that iterates through the ChannelLayoutConstList.
Declaration
public IEnumerator<ChannelLayout_ref> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ChannelLayout_ref> | An enumerator for the ChannelLayout_ref instances in the list. |