class Gain

Defined at line 1736 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h

Parameters for an `Element` with `type` equal to `GAIN`.

Public Methods

void Gain ()

Defined at line 1741 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h

void Gain (Gain && )

Defined at line 1742 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h

void Gain (Storage_ storage)
void Gain (const Gain & other)
Gain & operator= (const Gain & other)
bool operator== (const Gain & other)
bool operator!= (const Gain & other)
bool IsEmpty ()
const std::optional< ::fuchsia_hardware_audio_signalprocessing::GainType> & type ()

Specifies what the numbers for gain represent, e.g. a percentage.

Required.

::std::optional< ::fuchsia_hardware_audio_signalprocessing::GainType> & type ()

Specifies what the numbers for gain represent, e.g. a percentage.

Required.

Gain & type (std::optional< ::fuchsia_hardware_audio_signalprocessing::GainType> value)

Specifies what the numbers for gain represent, e.g. a percentage.

Required.

const std::optional< ::fuchsia_hardware_audio_signalprocessing::GainDomain> & domain ()

If included, the gain is applied in the specified `GainDomain`.

If not included, the gain domain is unspecified.

Optional.

::std::optional< ::fuchsia_hardware_audio_signalprocessing::GainDomain> & domain ()

If included, the gain is applied in the specified `GainDomain`.

If not included, the gain domain is unspecified.

Optional.

Gain & domain (std::optional< ::fuchsia_hardware_audio_signalprocessing::GainDomain> value)

If included, the gain is applied in the specified `GainDomain`.

If not included, the gain domain is unspecified.

Optional.

const std::optional<float> & min_gain ()

Minimum gain in `GainType` format.

Required. Must be finite.

::std::optional<float> & min_gain ()

Minimum gain in `GainType` format.

Required. Must be finite.

Gain & min_gain (std::optional<float> value)

Minimum gain in `GainType` format.

Required. Must be finite.

const std::optional<float> & max_gain ()

Maximum gain in `GainType` format.

Required. Must be finite.

::std::optional<float> & max_gain ()

Maximum gain in `GainType` format.

Required. Must be finite.

Gain & max_gain (std::optional<float> value)

Maximum gain in `GainType` format.

Required. Must be finite.

const std::optional<float> & min_gain_step ()

Minimum gain step in `GainType` format, this value must not be negative, but may be zero to

convey an effectively continuous range of values. Must not exceed `max_gain` - `min_gain`.

The actual gain set may be queried by the client with a `WatchElementState` call.

Required. Must be finite.

::std::optional<float> & min_gain_step ()

Minimum gain step in `GainType` format, this value must not be negative, but may be zero to

convey an effectively continuous range of values. Must not exceed `max_gain` - `min_gain`.

The actual gain set may be queried by the client with a `WatchElementState` call.

Required. Must be finite.

Gain & min_gain_step (std::optional<float> value)

Minimum gain step in `GainType` format, this value must not be negative, but may be zero to

convey an effectively continuous range of values. Must not exceed `max_gain` - `min_gain`.

The actual gain set may be queried by the client with a `WatchElementState` call.

Required. Must be finite.

void Gain (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Gain & operator= (Gain && )

Defined at line 1743 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h

Friends

class MemberVisitor
class NaturalTableCodingTraits