Agents 0.0.2
Edge AI Agents SDK
Loading...
Searching...
No Matches
agents::AudioFormat Struct Reference

Audio format specification for live AI sessions. More...

#include <ilive_client.h>

Public Attributes

int sample_rate_hz = 16000
 Sample rate in Hz (typically 16000 or 24000)
 
int channels = 1
 Number of channels (1 = mono, 2 = stereo)
 
int bits_per_sample = 16
 Bits per sample (16, 24, 32)
 
bool is_float = false
 true for float samples, false for integer
 
bool is_signed = true
 true for signed samples, false for unsigned
 
bool is_little_endian = true
 Byte order (true = little endian)
 

Detailed Description

Audio format specification for live AI sessions.

Defines the audio format for both input and output streams. All live AI providers support PCM16 mono as the primary format.