DiveAudioMeterSource class

A class for the audio meter data and processing.

Constructors

DiveAudioMeterSource(DivePointer pointer)

Properties

hashCode int
The hash code for this object.
no setterinherited
pointer → DivePointer
final
provider → StateProvider<DiveAudioMeterState>
A Riverpod StateProvider that provides DiveAudioMeterState state updates.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clamp(num value, num lowerLimit, num upperLimit) num
Returns this num clamped to be in the range lowerLimit-uppperLimit. This method ensures lowerLimit is not greater than upperLimit.
dispose() → void
initialize() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

create({required DiveSource source}) Future<DiveAudioMeterSource?>
Creat an audio meter for a source.
destroy(DivePointer pointer) → void

Constants

audioMinLevel → const double
Audio meter minumum level (dB)
initialLevel → const double
inputPeakHoldDuration → const double
peakHoldDuration → const double