OfflineAudioContextOptions Class
The options of an OfflineAudioContext (https://webaudio.github.io/web-audio-api/#OfflineAudioContextOptions).
public sealed class OfflineAudioContextOptionsConstructors
| Name | Description |
|---|---|
| OfflineAudioContextOptions() |
OfflineAudioContextOptions()
OfflineAudioContext.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 OfflineAudioContextOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Length | Gets the length of the rendering in sample frames, or null for a rendering of undefined length (rendered by chunks). |
| NumberOfChannels | Gets the number of channels of the rendered buffers. |
| RenderSizeHint | Gets the render quantum size: an AudioContextRenderSizeCategory, or a number of sample frames (a UInt32). |
| SampleRate | Gets the sample rate in Hz. |
Length
OfflineAudioContext.csGets the length of the rendering in sample frames, or null for a rendering of undefined length (rendered by chunks).
public uint? Length { get; init; }Property value
See also
NumberOfChannels
OfflineAudioContext.csGets the number of channels of the rendered buffers.
public uint NumberOfChannels { get; init; }RenderSizeHint
OfflineAudioContext.csGets the render quantum size: an AudioContextRenderSizeCategory, or a number of sample frames (a UInt32).
public AudioContextRenderSizeHint RenderSizeHint { get; init; }