GeneratorMock class

Constructors

GeneratorMock()

Properties

availableFloatCount int
no setteroverride
bufferLenS double
getter/setter pair
channels int
getter/setter pair
format SoundFormat?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isStarted bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
getter/setter pair
volume double
getter/setter pairoverride

Methods

dispose() → void
override
getBuffer(int floatsToRead) Float32List
override
init({required SoundFormat format, required int channels, required int sampleRate, required double bufferLenS}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setNoise({required GeneratorNoiseType type, required int seed, required double amplitude}) → void
override
setPulsewave({required double frequency, required double amplitude, required double dutyCycle}) → void
override
setWaveform({required GeneratorWaveformType type, required double frequency, required double amplitude}) → void
override
start() → void
override
stop() → void
override
toString() String
A string representation of this object.
inherited

Operators

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