IOS/USB: Emulate Wii Speak using cubeb

Based on @noahpistilli (Sketch) PR:
https://github.com/dolphin-emu/dolphin/pull/12567

Fixed the Windows support and the heisenbug caused by uninitialized
members.

Config system integration finalized.
This commit is contained in:
Sepalani
2024-05-09 14:51:30 +04:00
parent 451e36defc
commit 1ac40f25a2
13 changed files with 478 additions and 287 deletions

View File

@ -4,10 +4,16 @@
#pragma once
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
struct cubeb;
namespace CubebUtils
{
std::shared_ptr<cubeb> GetContext();
std::vector<std::pair<std::string, std::string>> ListInputDevices();
const void* GetInputDeviceById(std::string_view id);
} // namespace CubebUtils