bodhi-realtime-agent / AUDIO_FORMAT
Variable: AUDIO_FORMAT
constAUDIO_FORMAT:object
Defined in: types/audio.ts:7
PCM 16-bit signed little-endian, 16 kHz mono — Gemini Live API's native audio format. All audio buffers and transport operations assume this format.
Type Declaration
bitDepth
readonlybitDepth:16=16
bytesPerSample
readonlybytesPerSample:2=2
bytesPerSecond
readonlybytesPerSecond:32000=32000
16000 samples/s * 2 bytes/sample = 32 000 bytes/s
channels
readonlychannels:1=1
sampleRate
readonlysampleRate:16000=16000