AudioData class

The interface of the WebCodecs API represents an audio sample.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

AudioData(AudioDataInit init)
factory

Properties

duration int

Available on AudioData, provided by the PropsAudioData extension

no setter
format AudioSampleFormat?

Available on AudioData, provided by the PropsAudioData extension

no setter
hashCode int
The hash code for this object.
no setterinherited
numberOfChannels int

Available on AudioData, provided by the PropsAudioData extension

no setter
numberOfFrames int

Available on AudioData, provided by the PropsAudioData extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate double

Available on AudioData, provided by the PropsAudioData extension

no setter
timestamp int

Available on AudioData, provided by the PropsAudioData extension

no setter

Methods

allocationSize(AudioDataCopyToOptions options) int

Available on AudioData, provided by the PropsAudioData extension

clone() AudioData

Available on AudioData, provided by the PropsAudioData extension

close() → void

Available on AudioData, provided by the PropsAudioData extension

copyTo(dynamic destination, AudioDataCopyToOptions options) → void

Available on AudioData, provided by the PropsAudioData extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited