MiniAudioOutputPlatformInterface class abstract
Abstract interface for audio output (playback / speaker) functionality.
This is a first-party PCM sink: it accepts interleaved float32 PCM and
plays it through the system output device, on native (miniaudio via FFI)
and web (miniaudio compiled to WASM) alike. Compressed-audio decode lives
in miniav_tools (WebCodecs / FFmpeg) which already emits the canonical
interleaved-f32 layout consumed here.
Constructors
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
-
addDeviceChangeListener(
MiniAVDeviceChangeListener listener) → void Function() - Subscribe to audio output device add/remove notifications.
-
createContext(
) → Future< MiniAudioOutputContextPlatformInterface> - Create an audio output (playback) context.
-
enumerateDevices(
) → Future< List< MiniAVDeviceInfo> > - Enumerate available audio output (speaker/headphone) devices.
-
getDefaultFormat(
String deviceId) → Future< MiniAVAudioInfo> -
Native default output format for a device (
deviceIdempty = default). -
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