Class AudioStreamAlign
- Namespace
- GstAudio
- Assembly
- GstAudio-1.0.dll
public sealed class AudioStreamAlign : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<AudioStreamAlign>, IDisposable
- Inheritance
-
AudioStreamAlign
- Implements
- Inherited Members
Constructors
AudioStreamAlign(AudioStreamAlignOwnedHandle)
public AudioStreamAlign(AudioStreamAlignOwnedHandle handle)
Parameters
handle
AudioStreamAlignOwnedHandle
Properties
Handle
public AudioStreamAlignOwnedHandle Handle { get; }
Property Value
Methods
Copy()
[Version("1.14")]
public AudioStreamAlign Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(AudioStreamAlign?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AudioStreamAlign? other)
Parameters
other
AudioStreamAlignAn 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()
[Version("1.14")]
public void Free()
GetAlignmentThreshold()
[Version("1.14")]
public ClockTime GetAlignmentThreshold()
Returns
GetDiscontWait()
[Version("1.14")]
public ClockTime GetDiscontWait()
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.
GetRate()
[Version("1.14")]
public int GetRate()
Returns
GetSamplesSinceDiscont()
[Version("1.14")]
public ulong GetSamplesSinceDiscont()
Returns
GetTimestampAtDiscont()
[Version("1.14")]
public ClockTime GetTimestampAtDiscont()
Returns
MarkDiscont()
[Version("1.14")]
public void MarkDiscont()
New(int, ClockTime, ClockTime)
[Version("1.14")]
public static AudioStreamAlign New(int rate, ClockTime alignmentThreshold, ClockTime discontWait)
Parameters
Returns
Process(bool, ClockTime, uint, out ClockTime, out ClockTime, out ulong)
[Version("1.14")]
public bool Process(bool discont, ClockTime timestamp, uint nSamples, out ClockTime outTimestamp, out ClockTime outDuration, out ulong outSamplePosition)
Parameters
discont
booltimestamp
ClockTimenSamples
uintoutTimestamp
ClockTimeoutDuration
ClockTimeoutSamplePosition
ulong
Returns
SetAlignmentThreshold(ClockTime)
[Version("1.14")]
public void SetAlignmentThreshold(ClockTime alignmentThreshold)
Parameters
alignmentThreshold
ClockTime
SetDiscontWait(ClockTime)
[Version("1.14")]
public void SetDiscontWait(ClockTime discontWait)
Parameters
discontWait
ClockTime
SetRate(int)
[Version("1.14")]
public void SetRate(int rate)
Parameters
rate
int