Frames handed to the sink so far.
True while paused.
True between Start and the pump ending (including while paused).
How much already-sent audio is still ahead of real time, in ms: the pump keeps the sink up to LeadMs ahead, so
after the last frame is sent the room is still playing this much. Zero once real time has caught up.
Samples per frame at the pump's rate.
Plays pcm over the music: the music fades down to the duck level, the clip plays, the music fades back up.
Clips queue behind one another.
Mono PCM16 at the pump's sample rate.
Resolves true once the clip has been sent in full, false if the pump stopped first or the clip is empty.
Stops sending frames until Resume. Playback position, ducking and queued clips are kept.
Continues after Pause from where it left off, on a fresh timeline (so nothing bursts).
Starts playback: sends the lead immediately, then paces in real time. A second call is a no-op.
Stops the pump for good. Idempotent; pending clips resolve false.
Paces mono PCM16 out to a sink in real time. See the file overview.