DiveAudioMeterSource class
A class for the audio meter data and processing.
Constructors
- DiveAudioMeterSource(DivePointer pointer)
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- pointer → DivePointer
-
final
-
provider
→ StateProvider<
DiveAudioMeterState> -
A Riverpod
StateProvider
that providesDiveAudioMeterState
state updates.final - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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)
DiveBaseObslib.audioMinLevel
- initialLevel → const double
-
-10000.0
- inputPeakHoldDuration → const double
-
1.0
- peakHoldDuration → const double
-
20.0