Modules
| audio.Def | Constructing audio synthesis objects from expression trees |
| audio.driver | Interfacing with and configuring the audio driver |
| audio.util | Audio related utilities |
Functions
| latency(seconds) | set/get the audio thread latency setting. |
| samplerate() | get the audio samplerate |
Functions
- latency(seconds)
-
this will affect how responsive LuaAV's audio synthesis is. A lower value will improve immediacy, but is more likely to suffer underruns that may compromise sample-accurate synthesis and scheduling. Default is 0.05 seconds (50ms).
Parameters:
seconds latency to set; if not given, latency() serves as a getter Return:
- current latency setting