template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4629 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::PcmSupportedFormats Build ()
Build and return the table. The builder should not be used after this.
bool has_channel_sets ()
void clear_channel_sets ()
Clears the 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> & channel_sets ()
Vector of possible `ChannelSets` supported.
A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number
of optional attributes.
Only one `ChannelSet` is allowed for each unique channel-count. As a result, no two entries
in `channel_sets` can contain `attributes` vectors with the same length.
Required.
BuilderImpl & 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.
Only one `ChannelSet` is allowed for each unique channel-count. As a result, no two entries
in `channel_sets` can contain `attributes` vectors with the same length.
Required.
bool has_sample_formats ()
void clear_sample_formats ()
Clears the sample_formats 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::SampleFormat> & sample_formats ()
Vector of possible `SampleFormat`s supported.
Required.
BuilderImpl & sample_formats (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio::wire::SampleFormat>>> elem)
Vector of possible `SampleFormat`s supported.
Required.
bool has_bytes_per_sample ()
void clear_bytes_per_sample ()
Clears the bytes_per_sample field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint8_t> & bytes_per_sample ()
Vector of possible bytes allocated for each sample. Values must be listed in ascending
order. All values listed in `valid_bits_per_sample` must fit into at least the largest
`bytes_per_sample` value.
Required.
BuilderImpl & bytes_per_sample (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)
Vector of possible bytes allocated for each sample. Values must be listed in ascending
order. All values listed in `valid_bits_per_sample` must fit into at least the largest
`bytes_per_sample` value.
Required.
bool has_valid_bits_per_sample ()
void clear_valid_bits_per_sample ()
Clears the valid_bits_per_sample field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint8_t> & valid_bits_per_sample ()
Vector of possible number of bits containing valid data, within the sample container defined
by `bytes_per_sample`. Values must be listed in ascending order. All values listed must fit
into the largest `bytes_per_sample` value. The valid data bits must be most-significant
(left-justified) within the sample container, and any additional bits will be ignored.
Required.
BuilderImpl & valid_bits_per_sample (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)
Vector of possible number of bits containing valid data, within the sample container defined
by `bytes_per_sample`. Values must be listed in ascending order. All values listed must fit
into the largest `bytes_per_sample` value. The valid data bits must be most-significant
(left-justified) within the sample container, and any additional bits will be ignored.
Required.
bool has_frame_rates ()
void clear_frame_rates ()
Clears the 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> & frame_rates ()
Vector of possible frame rates supported. Values must be listed in ascending order.
Required.
BuilderImpl & frame_rates (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint32_t>>> elem)
Vector of possible frame rates supported. Values must be listed in ascending order.
Required.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_audio::wire::PcmSupportedFormats, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PcmSupportedFormats>> && frame)