class GainUpdateMethod
Defined at line 754 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Supported types of gain updates.
Public Methods
void GainUpdateMethod (GainUpdateMethod && other)
GainUpdateMethod & operator= (GainUpdateMethod && other)
void GainUpdateMethod (const GainUpdateMethod & other)
GainUpdateMethod & operator= (const GainUpdateMethod & other)
bool operator== (const GainUpdateMethod & other)
bool operator!= (const GainUpdateMethod & other)
bool IsUnknown ()
::fuchsia_audio::GainUpdateMethod::Tag Which ()
GainUpdateMethod WithGainDb (float val)
const ::fidl::internal::UnionMemberView<1, Storage_> gain_db ()
::fidl::internal::UnionMemberView<1, Storage_> gain_db ()
GainUpdateMethod & gain_db (float value)
Immediately set the gain to this value.
GainUpdateMethod WithRamped (::fuchsia_audio::RampedGain val)
const ::fidl::internal::UnionMemberView<2, Storage_> ramped ()
::fidl::internal::UnionMemberView<2, Storage_> ramped ()
GainUpdateMethod & ramped (::fuchsia_audio::RampedGain value)
Change the gain gradually using a ramp.
void GainUpdateMethod (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kGainDb | 1 |
| kRamped | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 762 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits