Table of Contents

Class DiscovererAudioInfo

Namespace
GstPbutils
Assembly
GstPbutils-1.0.dll
public class DiscovererAudioInfo : DiscovererStreamInfo, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
DiscovererAudioInfo
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

DiscovererAudioInfo(CreationData)

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

Parameters

data CreationData

DiscovererAudioInfo(DiscovererAudioInfoHandle)

protected DiscovererAudioInfo(DiscovererAudioInfoHandle handle)

Parameters

handle DiscovererAudioInfoHandle

Methods

GetBitrate()

public uint GetBitrate()

Returns

uint

GetChannelMask()

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

Returns

ulong

GetChannels()

public uint GetChannels()

Returns

uint

GetDepth()

public uint GetDepth()

Returns

uint

GetGType()

public static Type GetGType()

Returns

Type

GetLanguage()

public string? GetLanguage()

Returns

string

GetMaxBitrate()

public uint GetMaxBitrate()

Returns

uint

GetSampleRate()

public uint GetSampleRate()

Returns

uint

NewFromPointer(nint, bool)

Creates a new managed DiscovererAudioInfo instance for a given pointer.

public static DiscovererAudioInfo NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DiscovererAudioInfo

NewWithProperties(ConstructArgument[])

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

public static DiscovererAudioInfo NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DiscovererAudioInfo