template <>
class WireWeakSyncClientImpl
Defined at line 24864 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::fuchsia_media::AudioCore::GetVolumeFromDb> GetVolumeFromDb (::fuchsia_media::wire::Usage usage, float gain_db)
Queries the volume percentage [0, 1] that maps to a `gain_db` value for a particular
`usage`. This is the same mapping as used by the VolumeControl from
`BindUsageVolumeControl`.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_media::AudioCore::GetVolumeFromDb2> GetVolumeFromDb2 (::fuchsia_media::wire::Usage2 usage, float gain_db)
Queries the volume percentage [0, 1] that maps to a `gain_db` value for a particular
`usage`. This is the same mapping as used by the VolumeControl from
`BindUsageVolumeControl`.
Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_media::AudioCore::GetDbFromVolume> GetDbFromVolume (::fuchsia_media::wire::Usage usage, float volume)
Queries the decibel value that maps to a volume percentage [0, 1] for a particular `usage`.
This is the same mapping as used by the VolumeControl from `BindUsageVolumeControl`.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_media::AudioCore::GetDbFromVolume2> GetDbFromVolume2 (::fuchsia_media::wire::Usage2 usage, float volume)
Queries the decibel value that maps to a volume percentage [0, 1] for a particular `usage`.
This is the same mapping as used by the VolumeControl from `BindUsageVolumeControl`.
Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.