class RampFunctionLinearSlope
Defined at line 1357 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
Gain follows a linear slope over a linear domain.
For example, a ramp from gain -2.3dB to -1.6dB is a ramp in the linear
domain from 0.1 to 0.5. If this is applied over 4ms, then the sequence of
gain updates is:
* At 0ms, gain = 0.1 = -2.3dB
* At 1ms, gain = 0.2 = -2.0dB
* At 2ms, gain = 0.3 = -1.8dB
* At 3ms, gain = 0.4 = -1.7dB
* At 4ms, gain = 0.5 = -1.6dB
Note that the changes in dB follow a logarithmic (not linear) curve.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_audio::wire::RampFunctionLinearSlope> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_audio::wire::RampFunctionLinearSlope> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio::wire::RampFunctionLinearSlope>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void RampFunctionLinearSlope ()
Defined at line 1359 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
void RampFunctionLinearSlope (const RampFunctionLinearSlope & other)
Defined at line 1360 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
RampFunctionLinearSlope & operator= (const RampFunctionLinearSlope & other)
Defined at line 1361 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
void RampFunctionLinearSlope (RampFunctionLinearSlope && other)
Defined at line 1362 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
RampFunctionLinearSlope & operator= (RampFunctionLinearSlope && other)
Defined at line 1363 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
void ~RampFunctionLinearSlope ()
Defined at line 1365 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder