template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3454 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Public Methods
::fuchsia_hardware_audio::wire::SupportedEncodings Build ()
Build and return the table. The builder should not be used after this.
bool has_decoded_channel_sets ()
void clear_decoded_channel_sets ()
Clears the decoded_channel_sets field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_hardware_audio::wire::ChannelSet> & decoded_channel_sets ()
Vector of possible `ChannelSets` supported.
A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number
of optional attributes.
Each entry in this vector must describe a unique channel count. For example, this
vector cannot contain two different `ChannelSet` entries that both apply to a
2-channel configuration.
Required.
BuilderImpl & decoded_channel_sets (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio::wire::ChannelSet>>> elem)
Vector of possible `ChannelSets` supported.
A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number
of optional attributes.
Each entry in this vector must describe a unique channel count. For example, this
vector cannot contain two different `ChannelSet` entries that both apply to a
2-channel configuration.
Required.
bool has_decoded_frame_rates ()
void clear_decoded_frame_rates ()
Clears the decoded_frame_rates field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint32_t> & decoded_frame_rates ()
Vector of possible frame rates supported.
If present, must contain at least one value.
Values must be listed in ascending order.
Optional.
BuilderImpl & decoded_frame_rates (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint32_t>>> elem)
Vector of possible frame rates supported.
If present, must contain at least one value.
Values must be listed in ascending order.
Optional.
bool has_min_encoding_bitrate ()
void clear_min_encoding_bitrate ()
Clears the min_encoding_bitrate field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & min_encoding_bitrate ()
The minimum encoding bitrate of the stream in bits per second.
Cannot exceed 'max_encoding_bitrate', if both are present.
Optional.
BuilderImpl & min_encoding_bitrate (uint32_t elem)
The minimum encoding bitrate of the stream in bits per second.
Cannot exceed 'max_encoding_bitrate', if both are present.
Optional.
bool has_max_encoding_bitrate ()
void clear_max_encoding_bitrate ()
Clears the max_encoding_bitrate field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & max_encoding_bitrate ()
The maximum encoding bitrate of the stream in bits per second.
Cannot be less than 'min_encoding_bitrate', if both are present.
Optional.
BuilderImpl & max_encoding_bitrate (uint32_t elem)
The maximum encoding bitrate of the stream in bits per second.
Cannot be less than 'min_encoding_bitrate', if both are present.
Optional.
bool has_encoding_types ()
void clear_encoding_types ()
Clears the encoding_types field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_hardware_audio::wire::EncodingType> & encoding_types ()
The encoder types that support the configurations listed above.
Must contain at least one value. Values in this vector must be unique.
Required.
BuilderImpl & encoding_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio::wire::EncodingType>>> elem)
The encoder types that support the configurations listed above.
Must contain at least one value. Values in this vector must be unique.
Required.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_audio::wire::SupportedEncodings, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::SupportedEncodings>> && frame)