VoiceUpdate class final
What AudioBackend.update is handed: a playing voice and what it plays at now.
One object for the reason VoiceStart gives, and reused the same way: one per scene, set before every update.
Constructors
Properties
- gain ↔ double
-
How loud it plays now, a linear gain.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- muffle ↔ double
-
As VoiceStart.muffle: a fraction, 0 clear.
getter/setter pair
- pan ↔ double
-
From -1 (hard left) through 0 to 1 (hard right).
getter/setter pair
- rate ↔ double
-
A multiple of the file's own speed. A rate here at all is for a loop
whose speed is the point: an engine note is one file played faster
and slower, through every gear.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- voice ↔ VoiceId
-
The voice AudioBackend.start answered.
getter/setter pair
Methods
-
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