Class AudioConverter
- Namespace
- GstAudio
- Assembly
- GstAudio-1.0.dll
public sealed class AudioConverter : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<AudioConverter>, IDisposable
- Inheritance
-
AudioConverter
- Implements
- Inherited Members
Constructors
AudioConverter(AudioConverterOwnedHandle)
public AudioConverter(AudioConverterOwnedHandle handle)
Parameters
handle
AudioConverterOwnedHandle
Properties
Handle
public AudioConverterOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(AudioConverter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AudioConverter? other)
Parameters
other
AudioConverterAn 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
Free()
public void Free()
GetConfig(out int, out int)
public Structure GetConfig(out int inRate, out int outRate)
Parameters
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInFrames(nuint)
public nuint GetInFrames(nuint outFrames)
Parameters
outFrames
nuint
Returns
GetMaxLatency()
public nuint GetMaxLatency()
Returns
GetOutFrames(nuint)
public nuint GetOutFrames(nuint inFrames)
Parameters
inFrames
nuint
Returns
IsPassthrough()
[Version("1.16")]
public bool IsPassthrough()
Returns
New(AudioConverterFlags, AudioInfo, AudioInfo, Structure?)
public static AudioConverter? New(AudioConverterFlags flags, AudioInfo inInfo, AudioInfo outInfo, Structure? config)
Parameters
flags
AudioConverterFlagsinInfo
AudioInfooutInfo
AudioInfoconfig
Structure
Returns
Reset()
public void Reset()
Samples(AudioConverterFlags, nint, nuint, nint, nuint)
public bool Samples(AudioConverterFlags flags, nint @in, nuint inFrames, nint @out, nuint outFrames)
Parameters
flags
AudioConverterFlagsin
nintinFrames
nuintout
nintoutFrames
nuint
Returns
SupportsInplace()
[Version("1.12")]
public bool SupportsInplace()
Returns
UpdateConfig(int, int, Structure?)
public bool UpdateConfig(int inRate, int outRate, Structure? config)