Skip to content
Snippets Groups Projects
Commit 3e60b53d authored by Cosmic Linden's avatar Cosmic Linden
Browse files

SL-16182: Offload audio decoding from the main thread to the general work queue.

The work queue callback binds "this". This is deemed safe due to current dependencies, but see the associated comment in the return callback. There was some trial and error to get a this-binded lambda to compile.

Due to LLVorbisDecodeState writing to disk off-thread, limit audio decodes proportional to general worker thread count. Guess the thread count for now.
parent 14ea7303
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment