AudioDevice class

An audio device on the system.

Constructors

AudioDevice(Sdl sdl, int index, bool isCapture)
Create a device.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
The index of this audio device.
final
isCapture bool
Whether or not this device is a capture device.
final
name String
Get the name of this device.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdl Sdl
The SDL bindings to use.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({AudioSpec? settings}) OpenAudioDevice
Open this device.
toString() String
A string representation of this object.
inherited

Operators

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