AudioBufferOptions Class
The options of an AudioBuffer (https://webaudio.github.io/web-audio-api/#AudioBufferOptions).
public sealed class AudioBufferOptionsConstructors
| Name | Description |
|---|---|
| AudioBufferOptions() |
AudioBufferOptions()
AudioBuffer.cs- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public AudioBufferOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Length | Gets the length of the buffer in sample frames. |
| NumberOfChannels | Gets the number of channels. |
| SampleRate | Gets the sample rate of the buffer in Hz. |
Length
AudioBuffer.csGets the length of the buffer in sample frames.
public required uint Length { get; init; }NumberOfChannels
AudioBuffer.csSampleRate
AudioBuffer.csGets the sample rate of the buffer in Hz.
public required float SampleRate { get; init; }