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
       undesirable audio artifacts (noise, cracking or poping)	or  unbearably
       long  latency  when synchronized	with a video source. This can be regu-
       lated to	some degree by suggesting a different size  for	 chunks	 being
       passed  to  the	audio  output. This value is applied whenever a	frame-
       server performs a resize	operation.  newsz  is specified	in bytes.

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.

SEE ALSO:
audio				  April	2025		  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+14.3.quarterly>

home | help