Processes a PCM chunk and fires VAD events if a state transition occurs.
Float32 PCM samples in the range [-1, 1].
Returns true if the VAD currently considers the stream to be voiced.
Active speech state.
Registers a callback to receive VadEvent notifications. Replaces any previously registered callback.
Invoked synchronously when a VAD event fires.
Resets internal state (energy history and hold-off timer). Call this when starting a fresh utterance.
Detects the start and end of voiced speech in a PCM audio stream.