AudioFrame class

Raw audio data.

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Properties

avsyncType → int?
Reserved parameter.
final
buffer → Uint8List?
Audio data buffer (data is interleaved if stereo). Buffer size buffer = samples × channels × bytesPerSample.
final
bytesPerSample → BytesPerSample?
Number of bytes per sample. For PCM, typically 16 bits, i.e., two bytes.
final
channels → int?
Number of channels (data is interleaved if stereo). 1: Mono 2: Stereo
final
hashCode → int
The hash code for this object.
no setterinherited
renderTimeMs → int?
Render timestamp of the external audio frame. You can use this timestamp to restore the audio frame order; in scenarios with video (including external video source), this parameter can be used to achieve audio-video synchronization.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samplesPerChannel → int?
Number of samples per channel.
final
samplesPerSec → int?
Number of samples per second per channel.
final
type → AudioFrameType?
Audio frame type. See AudioFrameType.
final

Methods

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

Operators

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