MpAudioData class final

MediaPipe audio data.

Inheritance
Implemented types
Available extensions

Constructors

MpAudioData()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
audio_data ↔ Pointer<Float>
The audio data in a row-major matrix, where rows contain the samples with a column for each channel.
getter/setter pair
audio_data_size ↔ int
The size of the audio data buffer.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
num_channels ↔ int
The number of channels.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sample_rate ↔ double
The sample rate.
getter/setter pair

Methods

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

Static Methods

$allocate(Allocator $allocator, {required int num_channels, required double sample_rate, required Pointer<Float> audio_data, required int audio_data_size}) → Pointer<MpAudioData>