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... | |
| CombinePolicy | combine_policy = CombinePolicy::None |
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 57 of file Output.h.
Public Member Attributes
combine_policy
|
drop
|
If true, drop the oldest sample on overflow instead of blocking.
Definition at line 59 of file Output.h.
max_buffers
|
Cap on queued samples before back-pressure. 0 = unbounded.
Definition at line 58 of file Output.h.
sync
|
If true, sync to the pipeline clock (slower, but matches realtime).
Definition at line 60 of file Output.h.