template <>
class WireSyncClientImpl
Defined at line 1397 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_audio::StreamSink>|,
avoiding setting up a client.
Public Methods
::fidl::OneWayStatus PutPacket (::fuchsia_audio::wire::StreamSinkPutPacketRequest StreamSinkPutPacketRequest)
Puts a packet to the sink.
Allocates 464 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus StartSegment (::fuchsia_audio::wire::StreamSinkStartSegmentRequest StreamSinkStartSegmentRequest)
Starts a new segment. Packets following this request and preceding the next such request
are assigned to the segment.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus End ()
Indicates that the end of the stream has been reached. Consumers such as audio renderers
signal their clients when the last packet before end-of-stream has been rendered, so the
client knows when to, for example, change the UI state of a player to let the user know the
content is done playing. This method is logically scoped to the current segment. A
`SetSegment` request and (typically) more packets may follow this request.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus WillClose (::fuchsia_audio::wire::StreamSinkWillCloseRequest StreamSinkWillCloseRequest)
Sent immediately before the producer closes to indicate why the producer is closing the
connection. After sending this request, the producer must refrain from sending any more
messages and close the connection promptly.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.