mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Core: Abide by COM MTA requirement for cubeb on Windows. Partially based on https://github.com/dolphin-emu/dolphin/pull/8920#discussion_r459746604
Co-authored-by: Michael M <mchtly@gmail.com>
This commit is contained in:
parent
59b1419a8e
commit
ca10e92ab9
4 changed files with 124 additions and 37 deletions
|
@ -3,11 +3,13 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
struct cubeb;
|
||||
|
||||
namespace CubebUtils
|
||||
{
|
||||
void RunInCubebContext(const std::function<void()>& func);
|
||||
std::shared_ptr<cubeb> GetContext();
|
||||
} // namespace CubebUtils
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue