Initializes the startTime
and options
.
Optional settings to pass to the test.
Raised upon completion of the test.
A callback that expects the following parameters: An AudioInputTest.Report that summarizes the test.
This AudioInputTest instance.
Raised by the test when encountering an error with a parameter of type DiagnosticError.
A callback that expects the following parameters: A DiagnosticError that the test encountered.
This AudioInputTest instance.
Raised by the test every Options.volumeEventIntervalMs amount of
milliseconds with a parameter of type number
that represents the
current volume of the audio stream.
A callback that expects the following parameters:
A number
that represents the audio source's current volume.
This AudioInputTest instance.
Raised by the test when the test encounters a non-fatal warning during its run-time.
A callback that expects the following parameters: A WarningName.
This AudioInputTest instance.
Raised by the test when the test clears a previously encountered non-fatal warning during its run-time.
A callback that expects the following parameters: A WarningName name.
This AudioInputTest instance.
Active warnings to keep track of.
Name of the test.
This event is emitted with a test report when the test ends.
This event is emitted with a DiagnosticError when the test encounters an error, fatal or not.
The DiagnosticError that was encountered.
This event is emitted with a volume level every AudioInputTest.Options.volumeEventIntervalMs after the test starts succesfully.
The current volume of the audio source.
This event is emitted when the test encounters a non-fatal warning during its run-time.
The warning that the test encountered.
This event is emitted when the test clears a previously encountered non-fatal warning during its run-time.
The warning that the test encountered that should be cleared.
Stop the currently running AudioInputTest.
Generated using TypeDoc
AudioInputTest class that parses options and starts an audio input device test.
Please see testAudioInputDevice for details and recommended practices.