MockingbirdFfiPlatform class abstract

The dart:ffi implementation; a platform package supplies the library.

Inheritance

Constructors

MockingbirdFfiPlatform()

Properties

bindings → MockingbirdBindings
The generated bindings, created once.
no setter
hashCode → int
The hash code for this object.
no setterinherited
nativeLibrary → DynamicLibrary
The library containing the Mockingbird C ABI.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(MockingbirdNativeConfig config) → MockingbirdCreateResult
Creates an engine for config.
override
destroy(MockingbirdEngineHandle handle) → void
Destroys an engine; stops it first if needed.
override
drainPacket(MockingbirdEngineHandle handle) → MockingbirdPacketResult
Takes the next packet, copied, or queueEmpty.
override
initialize() → Future<void>
Prepares the platform; the web implementation loads its module.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pollEvent(MockingbirdEngineHandle handle) → MockingbirdEventResult
Takes the next event, or queueEmpty.
override
pushPcm(MockingbirdEngineHandle handle, Int16List samples, int captureTsUs) → int
Pushes mono int16 samples for a host-PCM engine.
override
readPcm(MockingbirdEngineHandle handle, int maxSamples) → MockingbirdPcmResult
Reads up to maxSamples from the ungated PCM tap.
override
start(MockingbirdEngineHandle handle) → int
Starts capture or accepting pushed PCM.
override
stats(MockingbirdEngineHandle handle) → MockingbirdStatsResult
Reads a stats snapshot.
override
statusName(int status) → String
The engine's own name for a status code.
override
stop(MockingbirdEngineHandle handle) → int
Stops the engine after processing every pushed frame.
override
toString() → String
A string representation of this object.
inherited
updateConfig(MockingbirdEngineHandle handle, MockingbirdNativeConfig config) → int
Retunes a running engine; the structure must match.
override
version() → String
The linked engine version, X.Y.Z.
override

Operators

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