Class AudioInfo
- Namespace
- GstAudio
- Assembly
- GstAudio-1.0.dll
public sealed class AudioInfo : BoxedRecord, IEquatable<AudioInfo>
- Inheritance
-
AudioInfo
- Implements
- Inherited Members
Constructors
AudioInfo()
public AudioInfo()
AudioInfo(AudioInfoOwnedHandle)
public AudioInfo(AudioInfoOwnedHandle handle)
Parameters
handle
AudioInfoOwnedHandle
Properties
Bpf
public int Bpf { get; set; }
Property Value
Channels
public int Channels { get; set; }
Property Value
Flags
public AudioFlags Flags { get; set; }
Property Value
Handle
public AudioInfoOwnedHandle Handle { get; }
Property Value
Layout
public AudioLayout Layout { get; set; }
Property Value
Rate
public int Rate { get; set; }
Property Value
Methods
Convert(Format, long, Format, out long)
public bool Convert(Format srcFmt, long srcVal, Format destFmt, out long destVal)
Parameters
Returns
Copy()
public AudioInfo Copy()
Returns
Equals(AudioInfo?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AudioInfo? other)
Parameters
other
AudioInfoAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEqual(AudioInfo)
[Version("1.2")]
public bool IsEqual(AudioInfo other)
Parameters
other
AudioInfo
Returns
New()
public static AudioInfo New()
Returns
NewFromCaps(Caps)
[Version("1.20")]
public static AudioInfo? NewFromCaps(Caps caps)
Parameters
caps
Caps
Returns
ToCaps()
public Caps ToCaps()