Class AudioBuffer
- Namespace
- GstAudio
- Assembly
- GstAudio-1.0.dll
public sealed class AudioBuffer
- Inheritance
-
AudioBuffer
- Inherited Members
Constructors
AudioBuffer()
public AudioBuffer()
AudioBuffer(AudioBufferOwnedHandle)
public AudioBuffer(AudioBufferOwnedHandle handle)
Parameters
handle
AudioBufferOwnedHandle
Properties
Handle
public AudioBufferOwnedHandle Handle { get; }
Property Value
NPlanes
public int NPlanes { get; set; }
Property Value
NSamples
public nuint NSamples { get; set; }
Property Value
Methods
Clip(Buffer, Segment, int, int)
public static Buffer? Clip(Buffer buffer, Segment segment, int rate, int bpf)
Parameters
Returns
Equals(AudioBuffer?)
public bool Equals(AudioBuffer? other)
Parameters
other
AudioBuffer
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Map(out AudioBuffer, AudioInfo, Buffer, MapFlags)
[Version("1.16")]
public static bool Map(out AudioBuffer buffer, AudioInfo info, Buffer gstbuffer, MapFlags flags)
Parameters
buffer
AudioBufferinfo
AudioInfogstbuffer
Bufferflags
MapFlags
Returns
Truncate(Buffer, int, nuint, nuint)
[Version("1.16")]
public static Buffer Truncate(Buffer buffer, int bpf, nuint trim, nuint samples)
Parameters
Returns
Unmap()
[Version("1.16")]
public void Unmap()