SilentSoundBackend class
A silent sound backend.
This backend is used primarily for testing.
- Implemented types
Constructors
- SilentSoundBackend({DefaultPannerStrategy defaultPannerStrategy = DefaultPannerStrategy.stereo, ListenerOrientation listenerOrientation = const ListenerOrientation(0, 0, 0, 0, 0, 0), ListenerPosition listenerPosition = const ListenerPosition(0, 0, 0)})
- Create an instance.
Properties
- defaultPannerStrategy ↔ DefaultPannerStrategy
-
Get the default panner strategy.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- listenerOrientation ↔ ListenerOrientation
-
Get the listener orientation.
getter/setter pairoverride
- listenerPosition ↔ ListenerPosition
-
Get the listener position.
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createEcho(
Iterable< EchoTap> taps) → SilentBackendEcho -
Create an echo.
override
-
createReverb(
ReverbPreset preset) → SilentBackendReverb -
Create a reverb.
override
-
createSoundChannel(
{SoundPosition position = unpanned, double gain = 0.7}) → SilentSoundChannel -
Get a channel with the given options.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → void -
Shut down this sound backend.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited