Core: Use extra thread for Cubeb on Windows to not disturb the CoInitialize state of whatever thread happens to call a Cubeb function.

This commit is contained in:
Admiral H. Curtiss 2022-06-18 05:31:14 +02:00
commit e085bf14f9
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
6 changed files with 190 additions and 109 deletions

View file

@ -10,6 +10,5 @@ struct cubeb;
namespace CubebUtils
{
void RunInCubebContext(const std::function<void()>& func);
std::shared_ptr<cubeb> GetContext();
} // namespace CubebUtils