A bounded list of occurrences from one audio block.
More...
#include <value_source.hpp>
A bounded list of occurrences from one audio block.
Fixed capacity keeps the payload trivially copyable for TripleBuffer. Publishers call publish() only for blocks they want the UI to observe; an empty frame is valid but carries no occurrence to dispatch.
◆ count
| int pulp::dataplane::EventFrame::count = 0 |
◆ events
◆ kMaxEvents
| int pulp::dataplane::EventFrame::kMaxEvents = 1024 |
|
staticconstexpr |
◆ publication
| std::uint32_t pulp::dataplane::EventFrame::publication = 0 |
Source-owned generation used by a reader to identify this exact block.
Unlike PublishCounter, this travels atomically with the payload, so a publish racing the UI snapshot cannot duplicate the newest block.
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/dataplane/include/pulp/dataplane/value_source.hpp