class BufferType
Defined at line 21 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
Types of buffer ownership/transfer supported by the stream.
Multiple values can be supported by the driver.
|BufferType| is flexible, hence may contain unknown members not
defined in the FIDL schema.
Public Members
static BufferType kClientOwned
static BufferType kDriverOwned
static BufferType kInline
static BufferType kMask
Public Methods
void BufferType ()
Defined at line 23 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
void BufferType (uint64_t value)
Constructs an instance of |BufferType| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 27 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
uint64_t operator unsigned long ()
Defined at line 33 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
bool operator bool ()
Defined at line 34 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
bool operator== (const BufferType & other)
Defined at line 35 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
bool operator!= (const BufferType & other)
Defined at line 36 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
std::optional<BufferType> TryFrom (uint64_t value)
Constructs an instance of |BufferType| from an underlying primitive value
if the primitive does not contain any unknown members not defined in the
FIDL schema. Otherwise, returns |std::nullopt|.
Defined at line 50 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType TruncatingUnknown (uint64_t value)
Constructs an instance of |BufferType| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 59 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType unknown_bits ()
Defined at line 62 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
bool has_unknown_bits ()
Defined at line 65 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType operator~ ()
Defined at line 78 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType operator| (const BufferType & other)
Defined at line 82 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType operator& (const BufferType & other)
Defined at line 87 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType operator^ (const BufferType & other)
Defined at line 92 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
BufferType operator- (const BufferType & other)
Defined at line 97 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
void operator|= (const BufferType & other)
Defined at line 102 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
void operator&= (const BufferType & other)
Defined at line 107 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
void operator^= (const BufferType & other)
Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h
void operator-= (const BufferType & other)
Defined at line 117 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h