HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::win32_wave_device Class Reference

Public Member Functions

 win32_wave_device (UINT id, audio_direction direction)
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.

Static Public Member Functions

static UINT num_devices (audio_direction direction) noexcept
static generator< win32_wave_device > enumerate (audio_direction direction) noexcept
static win32_wave_device find_matching_end_point (audio_direction direction, std::string end_point_id)

Member Function Documentation

◆ end_point_id()

std::string hi::v1::win32_wave_device::end_point_id ( ) const
inlinenodiscard

The end-point-id matching end-point ids of the modern Core Audio MMDevice API.

◆ open_device_interface()

win32_device_interface hi::v1::win32_wave_device::open_device_interface ( ) const
inlinenodiscard

Open the audio device.

Returns
A file handle to the audio device.

The documentation for this class was generated from the following file: