Skip to content

Architecture diagrams

These diagrams summarize the pinned Treefall SDK architecture. They separate host policy and control-side preparation from the one non-reentrant audio consumer, and they show where bounded refusal or silence is intentional. The diagrams are explanatory views of the public contracts; they do not add an application scheduler, analyzer owner, or device backend.

  • Layer topology keeps host applications and optional adapters above the host-neutral SDK and platform providers below it.
  • Bounded command flow shows control producers publishing into the fixed ingress pool while the audio thread consumes without allocation, locks, or I/O. Message-thread code drains callback events.
  • Prepared-source streaming shows control-side preparation and worker-fed pages. A cache miss renders silence and reports BufferUnderrun; the callback never waits for file I/O.