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

#include <TTauri/Audio/AudioDevice_win32.hpp>

Inheritance diagram for tt::AudioDevice_win32:
tt::AudioDevice

Public Member Functions

 AudioDevice_win32 (void *device)
 
std::string name () const noexcept override
 
std::string deviceName () const noexcept override
 
std::string endPointName () const noexcept override
 
AudioDevice_state state () const noexcept override
 

Static Public Member Functions

static std::string getIdFromDevice (void *device) noexcept
 

Additional Inherited Members

- Data Fields inherited from tt::AudioDevice
std::string id
 

Detailed Description

A class representing an audio device on the system.

Member Function Documentation

◆ deviceName()

std::string tt::AudioDevice_win32::deviceName ( ) const
overridevirtualnoexcept

Get a user friendly name of the audio device. This is the name of the audio device itself, such as "Realtek High Definition Audio".

Implements tt::AudioDevice.

◆ endPointName()

std::string tt::AudioDevice_win32::endPointName ( ) const
overridevirtualnoexcept

Get a user friendly name of the audio end-point device. This is the name of the end point, such as "Microphone".

Implements tt::AudioDevice.

◆ name()

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

Get a identfier for this device which can be stored into a preferences file and be used after a reboot to get the same device.

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. Such as

Implements tt::AudioDevice.

◆ state()

AudioDevice_state tt::AudioDevice_win32::state ( ) const
overridevirtualnoexcept

Get the current state of the audio device.

Implements tt::AudioDevice.


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