What is AudioServer.lock() used for?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nobuyuki

I read in the documentation exactly what this function does, however I couldn’t find anywhere any use case scenarios where an end-user would want to lock the audio server. I would’ve assumed this would’ve been for direct buffer access, but this is provided through AudioStreamGenerators instead and they don’t require locking to operate.

I’d try asking on the engine development IRC: Kiwi IRC

Calinou | 2020-07-23 08:03