Class AudioFormatInfoHandle
public abstract class AudioFormatInfoHandle : SafeHandle, IDisposable
- Inheritance
-
AudioFormatInfoHandle
- Implements
- Derived
- Inherited Members
Constructors
AudioFormatInfoHandle(bool)
protected AudioFormatInfoHandle(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(AudioFormatInfoHandle?)
public bool Equals(AudioFormatInfoHandle? other)
Parameters
other
AudioFormatInfoHandle
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
GetDepth()
public int GetDepth()
Returns
GetDescription()
public IntPtr GetDescription()
Returns
GetEndianness()
public int GetEndianness()
Returns
GetFlags()
public AudioFormatFlags GetFlags()
Returns
GetFormat()
public AudioFormat GetFormat()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetName()
public IntPtr GetName()
Returns
GetPackFunc()
public AudioFormatPack GetPackFunc()
Returns
GetSilence()
public byte[] GetSilence()
Returns
- byte[]
GetUnpackFormat()
public AudioFormat GetUnpackFormat()
Returns
GetUnpackFunc()
public AudioFormatUnpack GetUnpackFunc()
Returns
GetWidth()
public int GetWidth()
Returns
SetDepth(int)
public void SetDepth(int value)
Parameters
value
int
SetDescription(IntPtr)
public void SetDescription(IntPtr value)
Parameters
value
IntPtr
SetEndianness(int)
public void SetEndianness(int value)
Parameters
value
int
SetFlags(AudioFormatFlags)
public void SetFlags(AudioFormatFlags value)
Parameters
value
AudioFormatFlags
SetFormat(AudioFormat)
public void SetFormat(AudioFormat value)
Parameters
value
AudioFormat
SetName(IntPtr)
public void SetName(IntPtr value)
Parameters
value
IntPtr
SetPackFunc(AudioFormatPack)
public void SetPackFunc(AudioFormatPack value)
Parameters
value
AudioFormatPack
SetSilence(byte[])
public void SetSilence(byte[] value)
Parameters
value
byte[]
SetUnpackFormat(AudioFormat)
public void SetUnpackFormat(AudioFormat value)
Parameters
value
AudioFormat
SetUnpackFunc(AudioFormatUnpack)
public void SetUnpackFunc(AudioFormatUnpack value)
Parameters
value
AudioFormatUnpack
SetWidth(int)
public void SetWidth(int value)
Parameters
value
int