Expose native reservoir C ABI
This commit is contained in:
parent
b4d50860df
commit
2bf5abbd57
9 changed files with 320 additions and 11 deletions
|
|
@ -27,9 +27,9 @@ Ownership:
|
|||
- Faust owns hot audio DSP and program stem generation.
|
||||
- OBS owns broadcast controls.
|
||||
- Python remains tooling, not the stream hot path.
|
||||
- `native/reservoir` is the first native crate. It owns shared-edge five-second sample retention for typed rings and is the seed of the Aquarium/Faust runtime boundary.
|
||||
- `native/reservoir` is the first native crate. It owns shared-edge five-second sample retention for typed rings and exposes the small C ABI in `native/reservoir/include/localcast_reservoir.h`: opaque reservoir lifetime, sample-handle push, edge/window queries, ring counts, and latest-by-sensor lookup.
|
||||
|
||||
Invariant: the five-second spatiotemporal reservoir is the live authority. Producers append, optimizers refine, Aquarium/Faust sample. No private history outlives the reservoir.
|
||||
Invariant: the five-second spatiotemporal reservoir is the live authority. Producers append sample handles, optimizers refine, Aquarium/Faust sample and interpret the pointed-to payloads. No private history outlives the reservoir, and the reservoir does not pretend to own GPU image memory or Faust audio buffers.
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
|
|
|
|||
Loading…
Reference in a new issue