OutputOptions Struct
Buffering / sync options for the Output Node. More...
Declaration
Included Headers
Public Member Attributes Index
| int | max_buffers = 4 |
|
Cap on queued samples before back-pressure. 0 = unbounded. More... | |
| bool | drop = false |
|
If true, drop the oldest sample on overflow instead of blocking. More... | |
| bool | sync = false |
|
If true, sync to the pipeline clock (slower, but matches realtime). More... | |
Public Static Functions Index
| static OutputOptions | Latest () |
|
Preset: keep only the most recent sample (drop=true, max_buffers=1). Lowest latency. More... | |
| static OutputOptions | EveryFrame (int max_buffers=30) |
|
Preset: keep up to max_buffers samples; consumer pulls every frame. More... | |
| static OutputOptions | Clocked (int max_buffers=1) |
|
Preset: clocked output (sync=true) — pace samples to wall-clock. More... | |
Description
Buffering / sync options for the Output Node.
The three factory presets cover the common use cases — pick one rather than configuring fields manually.
Definition at line 28 of file Output.h.
Public Member Attributes
drop
|
max_buffers
|
Cap on queued samples before back-pressure. 0 = unbounded.
Definition at line 29 of file Output.h.
sync
Public Static Functions
Clocked()
| static |
EveryFrame()
| static |
Latest()
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.