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
constructArgumentsConstructArgument[]
DiscovererAudioInfo(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DiscovererAudioInfo(CreationData data)
Parameters
dataCreationData
DiscovererAudioInfo(DiscovererAudioInfoHandle)
protected DiscovererAudioInfo(DiscovererAudioInfoHandle handle)
Parameters
handleDiscovererAudioInfoHandle
Methods
GetBitrate()
public uint GetBitrate()
Returns
GetChannelMask()
[Version("1.14")]
public ulong GetChannelMask()
Returns
GetChannels()
public uint GetChannels()
Returns
GetDepth()
public uint GetDepth()
Returns
GetGType()
public static Type GetGType()
Returns
GetLanguage()
public string? GetLanguage()
Returns
GetMaxBitrate()
public uint GetMaxBitrate()
Returns
GetSampleRate()
public uint GetSampleRate()
Returns
NewFromPointer(nint, bool)
Creates a new managed DiscovererAudioInfo instance for a given pointer.
public static DiscovererAudioInfo NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new DiscovererAudioInfo and sets the properties specified by the construct arguments.
public static DiscovererAudioInfo NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.