Struct AudioBuffer
Assembly: Glitch9.IO.dll
Syntax
public readonly struct AudioBuffer : IAudioBuffer, IAudioChunk, IEmptiable
Constructors
|
Edit this page
View Source
AudioBuffer(ReadOnlyMemory<float>, SampleRate, int, string)
Declaration
public AudioBuffer(ReadOnlyMemory<float> samples, SampleRate sampleRate, int channels, string purpose = null)
Parameters
|
Edit this page
View Source
AudioBuffer(ReadOnlyMemory<float>, int, int, string)
Declaration
public AudioBuffer(ReadOnlyMemory<float> samples, int sampleRate, int channels, string purpose = null)
Parameters
Properties
|
Edit this page
View Source
Channels
Declaration
public int Channels { get; }
Property Value
|
Edit this page
View Source
IsEmpty
Gets whether this object is empty.
Declaration
public bool IsEmpty { get; }
Property Value
|
Edit this page
View Source
Purpose
Declaration
public string Purpose { get; }
Property Value
|
Edit this page
View Source
SampleRate
Declaration
public int SampleRate { get; }
Property Value
|
Edit this page
View Source
Samples
Declaration
public ReadOnlyMemory<float> Samples { get; }
Property Value
Methods
|
Edit this page
View Source
GetDecoder(StreamingAudioEncoding)
Declaration
public static AudioDecoder GetDecoder(StreamingAudioEncoding encoding)
Parameters
Returns
Implements
Extension Methods