vllm_omni.model_executor.common.audio.pcm ¶
Little-endian float32 PCM (pcm_f32le) helpers.
Plain audio plumbing every model that takes raw PCM needs: decode a base64 chunk, check it is whole finite samples, count and materialise them. No duplex vocabulary lives here.
decode_pcm_f32le_base64 ¶
Decode base64 pcm_f32le into raw bytes, refusing partial or non-finite samples.
model names the caller in error messages so a client sees which model rejected its audio.