Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
audio_buffer_size(3)		  Arcan Lua API 	    audio_buffer_size(3)

NAME
     audio_buffer_size - Change the default audio buffering size

SYNOPSIS
     oldsz
     audio_buffer_size( newsz )

DESCRIPTION
     Some audio sources in combination with some audio outputs may lead to unde-
     sirable  audio artifacts (noise, cracking or poping) or unbearably long la-
     tency 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  op-
     eration.  newsz  is specified in bytes.

NOTES
     1	    Trying  to set a low size may cause a warning in the log and the ac-
	    tual 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.

SEE ALSO:
audio				   August 2026		    audio_buffer_size(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=audio_buffer_size&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help