One stretch of positions the job renders. More...
#include <async_block_worker.hpp>
Public Member Functions | |
| bool | emit (std::uint32_t offset, const Event &event) noexcept |
| Emits an output event at offset within this chunk. | |
Public Attributes | |
| std::uint64_t | start = 0 |
| stream position of frame 0 | |
| std::uint32_t | frames = 0 |
| BufferView< const float > | input |
| BufferView< float > | output |
| zeroed before the job runs | |
| std::span< const TimedEvent > | events |
Friends | |
| class | AsyncBlockWorker |
One stretch of positions the job renders.
Input and output views point into the rings; events carry chunk offsets.
|
inlinenoexcept |
Emits an output event at offset within this chunk.
False (and counted) when the output ring is full.
|
friend |
| std::span<const TimedEvent> pulp::audio::AsyncBlockWorker< Event >::Chunk::events |
| std::uint32_t pulp::audio::AsyncBlockWorker< Event >::Chunk::frames = 0 |
| BufferView<const float> pulp::audio::AsyncBlockWorker< Event >::Chunk::input |
| BufferView<float> pulp::audio::AsyncBlockWorker< Event >::Chunk::output |
zeroed before the job runs
| std::uint64_t pulp::audio::AsyncBlockWorker< Event >::Chunk::start = 0 |
stream position of frame 0