AudioDataCopyToOptions Class
The options of AudioData.CopyTo and AudioData.AllocationSize (https://w3c.github.io/webcodecs/#dictdef-audiodatacopytooptions).
public sealed class AudioDataCopyToOptionsConstructors
| Name | Description |
|---|---|
| AudioDataCopyToOptions() |
AudioDataCopyToOptions()
- 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 AudioDataCopyToOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Format | Gets the format of the copied samples (the format of the data by default). |
| FrameCount | Gets the number of frames to copy (the frames from the offset by default). |
| FrameOffset | Gets the index of the first frame to copy. |
| PlaneIndex | Gets the index of the plane to copy: 0 for an interleaved format, the channel for a planar format. |
Format
AudioData.csGets the format of the copied samples (the format of the data by default).
public AudioSampleFormat? Format { get; init; }Property value
See also
FrameCount
AudioData.csGets the number of frames to copy (the frames from the offset by default).
public uint? FrameCount { get; init; }FrameOffset
AudioData.csGets the index of the first frame to copy.
public uint FrameOffset { get; init; }PlaneIndex
AudioData.csGets the index of the plane to copy: 0 for an interleaved format, the channel for a planar format.
public required uint PlaneIndex { get; init; }