GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
audio_buffer_size(3) Arcan Lua API audio_buffer_size(3)

audio_buffer_size - Change the default audio buffering size

oldsz
audio_buffer_size( newsz )

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. newsz is specified in bytes.

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.

June 2022 audio

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.