Skip to main content

AudioChunk

Type Alias AudioChunk 

Source
pub type AudioChunk = Vec<i16>;
Expand description

16 kHz mono signed 16-bit PCM samples, in capture order.

Chunk size is up to the AudioInput implementation; a Transcriber drains every chunk before running inference. Empty chunks are permitted and treated as “more is coming”.

Aliased Type§

pub struct AudioChunk { /* private fields */ }