audio_buffer_size(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

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 πŸ’–

  1. 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 πŸ™ˆ.
  2. Setting newsz to 0 will 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