7#include "audio_direction.hpp"
8#include "win32_device_interface.hpp"
9#include "../generator.hpp"
12namespace hi::inline
v1 {
16 win32_wave_device(UINT
id, audio_direction direction) : _id(
id), _direction(direction)
18 hi_assert(_direction == audio_direction::input or _direction == audio_direction::output);
31 [[nodiscard]]
static UINT num_devices(audio_direction direction)
noexcept;
39 audio_direction _direction;
41 [[nodiscard]]
std::wstring message_wstring(UINT message_id, UINT size_message_id)
const;
42 [[nodiscard]]
std::string message_string(UINT message_id, UINT size_message_id)
const;
#define hi_assert(expression,...)
Assert if expression is true.
Definition assert.hpp:184
DOXYGEN BUG.
Definition algorithm.hpp:13
Definition win32_device_interface.hpp:16
Definition win32_wave_device.hpp:14
std::string end_point_id() const
The end-point-id matching end-point ids of the modern Core Audio MMDevice API.
win32_device_interface open_device_interface() const
Open the audio device.
A return value for a generator-function.
Definition generator.hpp:29