SilentWave class

A silent wave.

This class does nothing.

Implemented types

Constructors

SilentWave({required double gain})
Create an instance.

Properties

gain double
The gain for this sound.
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelFade() → void
Cancel any fade that has begun for this sound.
override
destroy() → void
Destroy this sound.
override
fade({required double length, double endGain = 0.0, double? startGain, double preFade = 0.0}) → void
Fade this sound.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
Pause this sound.
override
setFrequency(double frequency, {double? time}) → void
Set the frequency for this wave.
override
toString() String
A string representation of this object.
inherited
unpause() → void
Unpause this sound.
override

Operators

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