template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 6253 of file fidling/gen/sdk/fidl/fuchsia.audio.mixer/fuchsia.audio.mixer/cpp/fidl/fuchsia.audio.mixer/cpp/wire_types.h
Public Methods
::fuchsia_audio_mixer::wire::StreamSinkConsumer Build ()
Build and return the table. The builder should not be used after this.
bool has_client_end ()
void clear_client_end ()
Clears the client_end field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::ClientEnd< ::fuchsia_audio::StreamSink> & client_end ()
Channel to send packets.
Required.
BuilderImpl & client_end (::fidl::ClientEnd< ::fuchsia_audio::StreamSink> elem)
Channel to send packets.
Required.
bool has_format ()
void clear_format ()
Clears the format field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_audio::wire::Format & format ()
Encoding of this audio stream.
Required.
BuilderImpl & format (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_audio::wire::Format>> elem)
Encoding of this audio stream.
Required.
bool has_reference_clock ()
void clear_reference_clock ()
Clears the reference_clock field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_audio_mixer::wire::ReferenceClock & reference_clock ()
Clock for this node's source stream.
Required.
BuilderImpl & reference_clock (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_audio_mixer::wire::ReferenceClock>> elem)
Clock for this node's source stream.
Required.
bool has_payload_buffer ()
void clear_payload_buffer ()
Clears the payload_buffer field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & payload_buffer ()
Payload buffer used by packets on this StreamSink.
Required.
BuilderImpl & payload_buffer (::zx::vmo elem)
Payload buffer used by packets on this StreamSink.
Required.
bool has_media_ticks_per_second ()
void clear_media_ticks_per_second ()
Clears the media_ticks_per_second field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_math::wire::RatioU64 & media_ticks_per_second ()
Packet timestamps use "media time", which has
`media_ticks_per_second.numerator` ticks every
`media_ticks_per_second.denominator` seconds.
Required.
BuilderImpl & media_ticks_per_second (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::RatioU64>> elem)
Packet timestamps use "media time", which has
`media_ticks_per_second.numerator` ticks every
`media_ticks_per_second.denominator` seconds.
Required.
bool has_frames_per_packet ()
void clear_frames_per_packet ()
Clears the frames_per_packet field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & frames_per_packet ()
Numer of frames to produce in each packet.
Optional.
BuilderImpl & frames_per_packet (uint32_t elem)
Numer of frames to produce in each packet.
Optional.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_audio_mixer::wire::StreamSinkConsumer, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_mixer::wire::StreamSinkConsumer>> && frame)