AudioDecoderInit Class

The callbacks of an AudioDecoder (https://w3c.github.io/webcodecs/#dictdef-audiodecoderinit).

public sealed class AudioDecoderInit

Constructors

NameDescription
AudioDecoderInit()

AudioDecoderInit()

  • 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 AudioDecoderInit()

No documentation is available.

Properties

NameDescription
ErrorGets the callback that receives the error that closes the decoder.
OutputGets the callback that receives the decoded audio.

Gets the callback that receives the error that closes the decoder.

public required WebCodecsErrorCallback Error { get; init; }

Gets the callback that receives the decoded audio.

public required AudioDataOutputCallback Output { get; init; }