DspBridge class

Direct FFI communication bridge specifically mapped to libbaremetal_dsp.so or baremetal_dsp.dll. Used internally by state managers like BLoC.

Constructors

DspBridge()
Exposes the persistent singleton bridge instance.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFftArray() Pointer<Float>
Requests the hardware memory pointer for spectral rendering.
getMediaTime() double
Queries the synchronized hardware clock.
getRmsLevel() double
Fetches volume magnitude directly from active memory.
getSubtitleIndex() int
Queries the internal C++ struct index for active subtitles.
getSubtitleText(int index) String
Pulls the resolved string back from C++ allocated memory to Dart.
initEngine({int mode = 0, String? filePath}) → void
Triggers engine initialisation mapped to C++ backend.
loadSubtitles(String srtContent) → void
Converts Dart Strings to UTF-8 buffers and executes load on C++.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setGain(double gain) → void
Forces a master volume modification at the native signal stage.
stopEngine() → void
Commands the C++ environment to halt operation safely.
toString() String
A string representation of this object.
inherited

Operators

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