Table of Contents

Class DsdInfoHandle

Namespace
GstAudio.Internal
Assembly
GstAudio-1.0.dll
public abstract class DsdInfoHandle : SafeHandle, IDisposable, IEquatable<DsdInfoHandle>
Inheritance
DsdInfoHandle
Implements
Derived
Inherited Members

Constructors

DsdInfoHandle(bool)

protected DsdInfoHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(DsdInfoHandle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DsdInfoHandle? other)

Parameters

other DsdInfoHandle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetChannels()

public int GetChannels()

Returns

int

GetFlags()

public AudioFlags GetFlags()

Returns

AudioFlags

GetFormat()

public DsdFormat GetFormat()

Returns

DsdFormat

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetLayout()

public AudioLayout GetLayout()

Returns

AudioLayout

GetPositions()

public AudioChannelPosition[] GetPositions()

Returns

AudioChannelPosition[]

GetRate()

public int GetRate()

Returns

int

GetReversedBytes()

public bool GetReversedBytes()

Returns

bool

OwnedCopy()

public DsdInfoOwnedHandle OwnedCopy()

Returns

DsdInfoOwnedHandle

SetChannels(int)

public void SetChannels(int value)

Parameters

value int

SetFlags(AudioFlags)

public void SetFlags(AudioFlags value)

Parameters

value AudioFlags

SetFormat(DsdFormat)

public void SetFormat(DsdFormat value)

Parameters

value DsdFormat

SetLayout(AudioLayout)

public void SetLayout(AudioLayout value)

Parameters

value AudioLayout

SetPositions(AudioChannelPosition[])

public void SetPositions(AudioChannelPosition[] value)

Parameters

value AudioChannelPosition[]

SetRate(int)

public void SetRate(int value)

Parameters

value int

SetReversedBytes(bool)

public void SetReversedBytes(bool value)

Parameters

value bool

UnownedCopy()

public DsdInfoUnownedHandle UnownedCopy()

Returns

DsdInfoUnownedHandle