class ProducerNode
Defined at line 27 of file ../../src/media/audio/services/mixer/fidl/producer_node.h
This is an ordinary node that wraps a ProducerStage.
Public Methods
std::shared_ptr<ProducerNode> Create (Args args)
static
Defined at line 25 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc
bool Start (ProducerStage::StartCommand cmd)
Starts this producer. The command is forwarded to the underlying ProducerStage.
Returns false if there is already a pending Start or Stop command. Otherwise, returns true.
Defined at line 113 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc
bool Stop (ProducerStage::StopCommand cmd)
Stops this producer. The command is forwarded to the underlying ProducerStage.
Returns false if there is already a pending Start or Stop command. Otherwise, returns true.
Defined at line 117 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc
void CancelStartOrStop ()
Cancels pending Start or Stop command.
Defined at line 121 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc
void BindLeadTimeWatcher (fidl::ServerEnd<fuchsia_audio::DelayWatcher> server_end)
Binds a new lead time watcher.
REQUIRED: `pipeline_direction() == kOutput`
Defined at line 127 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc
std::optional<std::pair<ThreadId, fit::closure>> SetMaxDelays (Delays delays)
Implements `Node`.
Defined at line 132 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc
zx::duration PresentationDelayForSourceEdge (const Node * source)
Defined at line 148 of file ../../src/media/audio/services/mixer/fidl/producer_node.cc