separate audio thread?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By grol
:warning: Old Version Published before Godot 3 was released.

Hey there,

i tried to find some infos about the audio features of godot but couldn’t.
What lib is godot using and can it run the audio in a separate thread to get more precise timing acuracy?

Are there infos about that?

It’s exactly what I want to know,too

eaglecat | 2016-05-06 17:14

here is info on how godot architects separate threads

Why does Godot use Servers and RIDs?

hungrymonkey | 2017-11-11 19:22

:bust_in_silhouette: Reply From: Freeman

From the code it looks like RTAudio is used in Windows and I could not find an answer about other platforms,

but I can confirm that by default audio playback is already in a thread.

And about accuracy, of course not even close to real-time, but still quite usable time precision accuracy can be achieved with AudioServer that gives low level audio access.