Class DsdInfoHandle
public abstract class DsdInfoHandle : SafeHandle, IDisposable, IEquatable<DsdInfoHandle>
- Inheritance
-
DsdInfoHandle
- Implements
- Derived
- Inherited Members
Constructors
DsdInfoHandle(bool)
protected DsdInfoHandle(bool ownsHandle)
Parameters
ownsHandlebool
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
otherDsdInfoHandleAn 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
objobjectThe 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
valueint
SetFlags(AudioFlags)
public void SetFlags(AudioFlags value)
Parameters
valueAudioFlags
SetFormat(DsdFormat)
public void SetFormat(DsdFormat value)
Parameters
valueDsdFormat
SetLayout(AudioLayout)
public void SetLayout(AudioLayout value)
Parameters
valueAudioLayout
SetPositions(AudioChannelPosition[])
public void SetPositions(AudioChannelPosition[] value)
Parameters
valueAudioChannelPosition[]
SetRate(int)
public void SetRate(int value)
Parameters
valueint
SetReversedBytes(bool)
public void SetReversedBytes(bool value)
Parameters
valuebool
UnownedCopy()
public DsdInfoUnownedHandle UnownedCopy()