class AudioRenderer
Defined at line 2070 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/markers.h
AudioRenderers can be in one of two states at any time: _configurable_ or _operational_. A
renderer is considered operational whenever it has packets queued to be rendered; otherwise it
is _configurable_. Once an AudioRenderer enters the operational state, calls to "configuring"
methods are disallowed and will cause the audio service to disconnect the client's connection.
The following are considered configuring methods: `AddPayloadBuffer`, `SetPcmStreamType`,
`SetStreamType`, `SetPtsUnits`, `SetPtsContinuityThreshold`.
If an AudioRenderer must be reconfigured, the client must ensure that no packets are still
enqueued when these "configuring" methods are called. Thus it is best practice to call
`DiscardAllPackets` on the AudioRenderer (and ideally `Stop` before `DiscardAllPackets`), prior
to reconfiguring the renderer.
Public Members
static Openness kOpenness
static const char[] kDiscoverableName
Records
-
class AddPayloadBuffer -
class BindGainControl -
class DiscardAllPackets -
class DiscardAllPacketsNoReply -
class EnableMinLeadTimeEvents -
class EndOfStream -
class GetMinLeadTime -
class GetReferenceClock -
class OnMinLeadTimeChanged -
class Pause -
class PauseNoReply -
class Play -
class PlayNoReply -
class RemovePayloadBuffer -
class SendPacket -
class SendPacketNoReply -
class SetPcmStreamType -
class SetPtsContinuityThreshold -
class SetPtsUnits -
class SetReferenceClock -
class SetUsage -
class SetUsage2