MoritzBrueckner / aura

A fast and lightweight 3D audio engine for Kha.
42 stars 3 forks source link

Fix readme #1

Closed tong closed 2 years ago

tong commented 2 years ago

Think this is the proper way to add a filter.

/// + Thx7000 for this library already!

MoritzBrueckner commented 2 years ago

Oops, when adding differentiation for the main and audio thread to the API* I accidentally moved the whole insert effect handling to sound handles only so you're right. Actually it should be available for mixer channels as well but that isn't the case right now. I will try to find a good API solution for that soon, thanks! :)

*Each channel in the audio thread has a handle in the main thread that then sends the data with a lock free queue to the audio thread for less audible clicks in the output.

MoritzBrueckner commented 2 years ago

It should work now for both regular sound handles and mixer channels (c55680b01d44221cb311693f768a8fbc5e15269b). Eventually there needs to be some kind of handle for mixer channels and DSP effects as well but I haven't yet decided how exactly that should look like.