AudioFrames class abstract

AudioFrames is a base class of audio buffers. You can call lock to request internal lock and retrieve the AudioBuffer. When you call lock, you must call unlock when the raw buffer operations is not necessary. Memory will be used internal buffer allocations.

Implementers
Available extensions

Constructors

AudioFrames.new()
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
const

Properties

format AudioFormat
format of pBuffer.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes int
size of pBuffer in bytes.
no setter
sizeInFrames int
size of pBuffer in frames.
no setter

Methods

acquireBuffer<T>(T callback(AudioBuffer buffer)) → T

Available on AudioFrames, provided by the AudioFrameExtension extension

Locks the AudioFrames and returns the internal buffer.
lock() AudioBuffer
lock the internal buffer and returns AudioBuffer. You are responsible for calling unlock when you don't need it. You can use the acquireBuffer method to safely acquiring AudioBuffer instead.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unlock() → void
unlock the internal buffer.

Operators

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