audio_buffer_size(3)
okay bestie, we're in the Arcan Lua API docs and this page is audio_buffer_size(3) β yes, section 3, no cap π«Άπ
π NAME π
audio_buffer_size β Change the default audio buffering size β¨
πΈ SYNOPSIS πΈ
the signature vibe is literally this:
oldsz
audio_buffer_size( newsz )
π¦ DESCRIPTION π¦
okay so bestie, some audio sources in combination with some audio outputs may lead to undesirable audio artifacts (noise, cracking or poping) or unbearably long latency when synchronized with a video source π. This can be regulated to some degree by suggesting a different size for chunks being passed to the audio output. This value is applied whenever a frameserver performs a resize operation. And newsz is specified in bytes, periodt.
π NOTES π
- Trying to set a low size may cause a warning in the log and the actual value set being changed somewhat. Same applies to values that do not align with underlying audio sample size π.
- Setting
newszto0will not change the buffer size, only return the current value. zero is a vibe check, not a setter, iykyk π .
π SEE ALSO π
audio β that's the whole see-also, bestie π«Ά
byeee π
β this one comes from audio, dated October 2026, and it's audio_buffer_size(3) signing off π«Άβ¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms