Class DsdInfoHandle
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
Methods
Equals(DsdInfoHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DsdInfoHandle? other)
Parameters
other
DsdInfoHandleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetChannels()
public int GetChannels()
Returns
GetFlags()
public AudioFlags GetFlags()
Returns
GetFormat()
public DsdFormat GetFormat()
Returns
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
GetPositions()
public AudioChannelPosition[] GetPositions()
Returns
GetRate()
public int GetRate()
Returns
GetReversedBytes()
public bool GetReversedBytes()
Returns
OwnedCopy()
public DsdInfoOwnedHandle OwnedCopy()
Returns
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()