summaryrefslogtreecommitdiff
path: root/common/shaders/common_uniforms.wgsl
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-15 11:52:14 +0100
committerskal <pascal.massimino@gmail.com>2026-02-15 11:52:14 +0100
commit6899cc35addc43acb04bb04bcb60e88cb66ab1de (patch)
treedf2d8240e2484327c7aba754405bc3be119a308d /common/shaders/common_uniforms.wgsl
parentaa58489ffb597fc981fd779e9ce8b54f32e48197 (diff)
fix(audio): eliminate startup delay with automatic buffer pre-fill
Added audio_get_required_prefill_time() to query ring buffer lookahead (400ms) and audio_is_prefilled() to check buffer state. audio_start() now warns if buffer under-filled. Replaced hardcoded 100ms pre-fill with automatic target-based pre-fill in main.cc and test_demo.cc. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'common/shaders/common_uniforms.wgsl')
0 files changed, 0 insertions, 0 deletions