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

#include <ttauri/audio/audio_device_win32.hpp>

Inheritance diagram for tt::audio_device_win32:
tt::audio_device

Public Member Functions

 audio_device_win32 (IMMDevice *device)
 
std::string id () const noexcept override
 The nonephemeral unique id that for an audio device on the system.
 
std::string name () const noexcept override
 Get a user friendly name of the audio device.
 
tt::label label () const noexcept override
 Get a user friendly label of the audio device.
 
audio_device_state state () const noexcept override
 Get the current state of the audio device.
 
audio_device_flow_direction direction () const noexcept override
 

Static Public Member Functions

static std::string get_id_from_device (IMMDevice *device) noexcept
 

Detailed Description

A class representing an audio device on the system.

Member Function Documentation

◆ direction()

audio_device_flow_direction tt::audio_device_win32::direction ( ) const
overridevirtualnoexcept

Implements tt::audio_device.

◆ id()

std::string tt::audio_device_win32::id ( ) const
overridevirtualnoexcept

The nonephemeral unique id that for an audio device on the system.

Implements tt::audio_device.

◆ label()

tt::label tt::audio_device_win32::label ( ) const
overridevirtualnoexcept

Get a user friendly label of the audio device.

This is a combination of the name of the device and the name of the end-point, plus an icon for the driver architecture.

Implements tt::audio_device.

◆ name()

std::string tt::audio_device_win32::name ( ) const
overridevirtualnoexcept

Get a user friendly name of the audio device.

This is a combination of the name of the device and the name of the end-point.

Implements tt::audio_device.

◆ state()

audio_device_state tt::audio_device_win32::state ( ) const
overridevirtualnoexcept

Get the current state of the audio device.

Implements tt::audio_device.


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