Table of Contents

Class AudioCdSrc

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

Constructors

AudioCdSrc(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 AudioCdSrc(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

AudioCdSrc(CreationData)

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

Parameters

data CreationData

AudioCdSrc(AudioCdSrcHandle)

protected AudioCdSrc(AudioCdSrcHandle handle)

Parameters

handle AudioCdSrcHandle

Fields

DevicePropertyDefinition

public static readonly Property<string?, AudioCdSrc> DevicePropertyDefinition

Field Value

Property<string, AudioCdSrc>

ModePropertyDefinition

public static readonly Property<AudioCdSrcMode, AudioCdSrc> ModePropertyDefinition

Field Value

Property<AudioCdSrcMode, AudioCdSrc>

TrackPropertyDefinition

public static readonly Property<uint, AudioCdSrc> TrackPropertyDefinition

Field Value

Property<uint, AudioCdSrc>

Properties

Device

public string? Device { get; set; }

Property Value

string

Mode

public AudioCdSrcMode Mode { get; set; }

Property Value

AudioCdSrcMode

Track

public uint Track { get; set; }

Property Value

uint

Methods

AddTrack(AudioCdSrcTrack)

public bool AddTrack(AudioCdSrcTrack track)

Parameters

track AudioCdSrcTrack

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetProtocols()

public string[]? GetProtocols()

Returns

string[]

GetUri()

public string? GetUri()

Returns

string

GetUriType()

public URIType GetUriType()

Returns

URIType

NewFromPointer(nint, bool)

Creates a new managed AudioCdSrc instance for a given pointer.

public static AudioCdSrc NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AudioCdSrc

NewWithProperties(ConstructArgument[])

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

public static AudioCdSrc NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AudioCdSrc

SetUri(string)

public bool SetUri(string uri)

Parameters

uri string

Returns

bool