Table of Contents

Class AudioBaseSrc

Namespace
GstAudio
Assembly
GstAudio-1.0.dll
public class AudioBaseSrc : PushSrc, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
AudioBaseSrc
Implements
Derived
Inherited Members

Constructors

AudioBaseSrc(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public AudioBaseSrc(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

AudioBaseSrc(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected AudioBaseSrc(CreationData data)

Parameters

data CreationData

AudioBaseSrc(AudioBaseSrcHandle)

protected AudioBaseSrc(AudioBaseSrcHandle handle)

Parameters

handle AudioBaseSrcHandle

Fields

ActualBufferTimePropertyDefinition

public static readonly Property<long, AudioBaseSrc> ActualBufferTimePropertyDefinition

Field Value

Property<long, AudioBaseSrc>

ActualLatencyTimePropertyDefinition

public static readonly Property<long, AudioBaseSrc> ActualLatencyTimePropertyDefinition

Field Value

Property<long, AudioBaseSrc>

BufferTimePropertyDefinition

public static readonly Property<long, AudioBaseSrc> BufferTimePropertyDefinition

Field Value

Property<long, AudioBaseSrc>

LatencyTimePropertyDefinition

public static readonly Property<long, AudioBaseSrc> LatencyTimePropertyDefinition

Field Value

Property<long, AudioBaseSrc>

ProvideClockPropertyDefinition

public static readonly Property<bool, AudioBaseSrc> ProvideClockPropertyDefinition

Field Value

Property<bool, AudioBaseSrc>

SlaveMethodPropertyDefinition

public static readonly Property<AudioBaseSrcSlaveMethod, AudioBaseSrc> SlaveMethodPropertyDefinition

Field Value

Property<AudioBaseSrcSlaveMethod, AudioBaseSrc>

Properties

ActualBufferTime

public long ActualBufferTime { get; }

Property Value

long

ActualLatencyTime

public long ActualLatencyTime { get; }

Property Value

long

BufferTime

public long BufferTime { get; set; }

Property Value

long

LatencyTime

public long LatencyTime { get; set; }

Property Value

long

ProvideClock

public bool ProvideClock { get; set; }

Property Value

bool

SlaveMethod

public AudioBaseSrcSlaveMethod SlaveMethod { get; set; }

Property Value

AudioBaseSrcSlaveMethod

Methods

CreateRingbuffer()

public AudioRingBuffer? CreateRingbuffer()

Returns

AudioRingBuffer

GetGType()

public static Type GetGType()

Returns

Type

GetProvideClock()

public bool GetProvideClock()

Returns

bool

GetSlaveMethod()

public AudioBaseSrcSlaveMethod GetSlaveMethod()

Returns

AudioBaseSrcSlaveMethod

NewFromPointer(nint, bool)

Creates a new managed AudioBaseSrc instance for a given pointer.

public static AudioBaseSrc NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AudioBaseSrc

NewWithProperties(ConstructArgument[])

Creates a new AudioBaseSrc and sets the properties specified by the construct arguments.

public static AudioBaseSrc NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AudioBaseSrc

SetProvideClock(bool)

public void SetProvideClock(bool provide)

Parameters

provide bool

SetSlaveMethod(AudioBaseSrcSlaveMethod)

public void SetSlaveMethod(AudioBaseSrcSlaveMethod method)

Parameters

method AudioBaseSrcSlaveMethod