2017-04-23 23:55:37 -07:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-04-23 23:55:37 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
2024-05-09 14:51:30 +04:00
|
|
|
#include <string>
|
|
|
|
#include <string_view>
|
|
|
|
#include <utility>
|
|
|
|
#include <vector>
|
2017-04-23 23:55:37 -07:00
|
|
|
|
|
|
|
struct cubeb;
|
|
|
|
|
|
|
|
namespace CubebUtils
|
|
|
|
{
|
|
|
|
std::shared_ptr<cubeb> GetContext();
|
2024-05-09 14:51:30 +04:00
|
|
|
std::vector<std::pair<std::string, std::string>> ListInputDevices();
|
|
|
|
const void* GetInputDeviceById(std::string_view id);
|
2017-04-23 23:55:37 -07:00
|
|
|
} // namespace CubebUtils
|