HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
hi::v1::audio_device_win32 Class Reference

#include <hikogui/audio/audio_device_win32.hpp>

Inheritance diagram for hi::v1::audio_device_win32:
hi::v1::audio_device

Public Member Functions

 audio_device_win32 (IMMDevice *device)
 
- Public Member Functions inherited from hi::v1::audio_device
std::string const & id () const noexcept
 The nonephemeral unique id that for an audio device on the system.
 
std::string name () const noexcept
 Get a user friendly name of the audio device.
 

Static Public Member Functions

static std::string get_device_id (IMMDevice *device)
 Get the device id for the given win32 audio end-point.
 

Detailed Description

A class representing an audio device on the system.

Member Function Documentation

◆ get_device_id()

static std::string hi::v1::audio_device_win32::get_device_id ( IMMDevice * device)
inlinestatic

Get the device id for the given win32 audio end-point.

Parameters
deviceThe win32 device instance to get the device id from.
Returns
A device id as string, to differentiate with asio it will start with "win32:"
Exceptions
io_errorWhen the device id could not be retrieved.

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