Show / Hide Table of Contents

Struct ChannelLayoutConstList

Represents a read-only list of ChannelLayout_ref instances.

Implements
IReadOnlyList<ChannelLayout_ref>
IReadOnlyCollection<ChannelLayout_ref>
IEnumerable<ChannelLayout_ref>
IEnumerable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
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 Source

Count

Gets the number of ChannelLayout_ref instances in the list.

Declaration
public int Count { get; }
Property Value
Type Description
int
View Source

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 index is less than zero or greater than or equal to Count.

Methods

View Source

GetEnumerator()

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.

Implements

IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
  • View Source
In this article
Back to top Generated by DocFX