template <>

class WireSyncBufferClientImpl

Defined at line 1432 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_messaging.h

Public Methods

::fidl::OneWayStatus PutPacket (::fuchsia_audio::wire::StreamSinkPutPacketRequest StreamSinkPutPacketRequest)

Puts a packet to the sink.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.