class DriverClient
Defined at line 1912 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h
The protocol channel used to configure and observe a device.
# Deprecation
Codec drivers are not supported anymore, instead use an
[Audio Composite](https://fuchsia.dev/fuchsia-src/development/audio/drivers/composite), see
[Audio Drivers Architecture](https://fuchsia.dev/fuchsia-src/development/audio/drivers/architecture)
Public Methods
void DriverClient (DriverClient && other)
DriverClient & operator= (DriverClient && other)
bool IsUnknown ()
::fuchsia_audio_device::DriverClient::Tag Which ()
DriverClient WithCodec (::fidl::ClientEnd< ::fuchsia_hardware_audio::Codec> val)
const ::fidl::internal::UnionMemberView<1, Storage_> codec ()
::fidl::internal::UnionMemberView<1, Storage_> codec ()
DriverClient & codec (::fidl::ClientEnd< ::fuchsia_hardware_audio::Codec> value)
Populated for drivers that use the `fuchsia_hardware_audio.Codec` interface.
DriverClient WithComposite (::fidl::ClientEnd< ::fuchsia_hardware_audio::Composite> val)
const ::fidl::internal::UnionMemberView<2, Storage_> composite ()
::fidl::internal::UnionMemberView<2, Storage_> composite ()
DriverClient & composite (::fidl::ClientEnd< ::fuchsia_hardware_audio::Composite> value)
Populated for drivers that use the `fuchsia_hardware_audio.Composite` interface.
void DriverClient (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kCodec | 1 |
| kComposite | 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 1922 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits