Table of Contents

Class AudioStreamAlign

Namespace
GstAudio
Assembly
GstAudio-1.0.dll
public sealed class AudioStreamAlign : BoxedRecord, IEquatable<AudioStreamAlign>
Inheritance
AudioStreamAlign
Implements
Inherited Members

Constructors

AudioStreamAlign(AudioStreamAlignOwnedHandle)

public AudioStreamAlign(AudioStreamAlignOwnedHandle handle)

Parameters

handle AudioStreamAlignOwnedHandle

Properties

Handle

public AudioStreamAlignOwnedHandle Handle { get; }

Property Value

AudioStreamAlignOwnedHandle

Methods

Copy()

[Version("1.14")]
public AudioStreamAlign Copy()

Returns

AudioStreamAlign

Equals(AudioStreamAlign?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(AudioStreamAlign? other)

Parameters

other AudioStreamAlign

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

[Version("1.14")]
public void Free()

GetAlignmentThreshold()

[Version("1.14")]
public ClockTime GetAlignmentThreshold()

Returns

ClockTime

GetDiscontWait()

[Version("1.14")]
public ClockTime GetDiscontWait()

Returns

ClockTime

GetGType()

public static Type GetGType()

Returns

Type

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

int

GetSamplesSinceDiscont()

[Version("1.14")]
public ulong GetSamplesSinceDiscont()

Returns

ulong

GetTimestampAtDiscont()

[Version("1.14")]
public ClockTime GetTimestampAtDiscont()

Returns

ClockTime

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

rate int
alignmentThreshold ClockTime
discontWait ClockTime

Returns

AudioStreamAlign

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 bool
timestamp ClockTime
nSamples uint
outTimestamp ClockTime
outDuration ClockTime
outSamplePosition ulong

Returns

bool

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