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
parent ca10e92ab9
commit e085bf14f9
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