true while scheduled audio is audibly playing (playhead ahead of the context clock).
Flushes and releases the underlying audio context.
OPTIONAL: creates an IRealtimeAudioMeter tapping this engine's output — the
AGENT-audio side of the call UI's audio-reactive visuals. Drivers feed it to
BaseRealtimeClient's audio-activity surface. Optional so test fakes (and minimal
implementations) stay valid; callers use playback.CreateMeter?.() ?? null.
Schedules a raw PCM16 mono chunk back-to-back after any already-queued audio.
Stops + clears every scheduled source (barge-in / interruption).
The agent's output audio as a MediaStream, or null when unsupported. Hosts mix this
into a recording: WebRTC drivers get the agent voice from the peer connection, PCM
drivers (which play through Web Audio) must expose it from here. The stream lives on
this engine's own (e.g. 24 kHz) context, so consumers wrap it in a source node on THEIR
context rather than reusing this one.
Web Audio playout scheduler for Gemini's 24 kHz PCM16 model audio.
A thin specialization of the shared RealtimePcmPlayback (playhead-clock scheduling, gapless playout, honest
IsPlaying) fixed at Gemini Live's 24 kHz output rate. Kept as a named export for back-compat with existing consumers.