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
constructArgumentsConstructArgument[]
AudioBaseSrc(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected AudioBaseSrc(CreationData data)
Parameters
dataCreationData
AudioBaseSrc(AudioBaseSrcHandle)
protected AudioBaseSrc(AudioBaseSrcHandle handle)
Parameters
handleAudioBaseSrcHandle
Fields
ActualBufferTimePropertyDefinition
public static readonly Property<long, AudioBaseSrc> ActualBufferTimePropertyDefinition
Field Value
ActualLatencyTimePropertyDefinition
public static readonly Property<long, AudioBaseSrc> ActualLatencyTimePropertyDefinition
Field Value
BufferTimePropertyDefinition
public static readonly Property<long, AudioBaseSrc> BufferTimePropertyDefinition
Field Value
LatencyTimePropertyDefinition
public static readonly Property<long, AudioBaseSrc> LatencyTimePropertyDefinition
Field Value
ProvideClockPropertyDefinition
public static readonly Property<bool, AudioBaseSrc> ProvideClockPropertyDefinition
Field Value
SlaveMethodPropertyDefinition
public static readonly Property<AudioBaseSrcSlaveMethod, AudioBaseSrc> SlaveMethodPropertyDefinition
Field Value
Properties
ActualBufferTime
public long ActualBufferTime { get; }
Property Value
ActualLatencyTime
public long ActualLatencyTime { get; }
Property Value
BufferTime
public long BufferTime { get; set; }
Property Value
LatencyTime
public long LatencyTime { get; set; }
Property Value
ProvideClock
public bool ProvideClock { get; set; }
Property Value
SlaveMethod
public AudioBaseSrcSlaveMethod SlaveMethod { get; set; }
Property Value
Methods
CreateRingbuffer()
public AudioRingBuffer? CreateRingbuffer()
Returns
GetGType()
public static Type GetGType()
Returns
GetProvideClock()
public bool GetProvideClock()
Returns
GetSlaveMethod()
public AudioBaseSrcSlaveMethod GetSlaveMethod()
Returns
NewFromPointer(nint, bool)
Creates a new managed AudioBaseSrc instance for a given pointer.
public static AudioBaseSrc NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new AudioBaseSrc and sets the properties specified by the construct arguments.
public static AudioBaseSrc NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetProvideClock(bool)
public void SetProvideClock(bool provide)
Parameters
providebool
SetSlaveMethod(AudioBaseSrcSlaveMethod)
public void SetSlaveMethod(AudioBaseSrcSlaveMethod method)
Parameters
methodAudioBaseSrcSlaveMethod