HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
tt::audio_device Class Referenceabstract

#include <ttauri/audio/audio_device.hpp>

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

Public Member Functions

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

Detailed Description

A set of audio channels which can be rendered and/or captures at the same time.

On win32 this would be Audio Endpoint gui_device, which can either render or capture but not at the same time.

On MacOS this would contain all the inputs and outputs of either a physical or aggregate device that can run in the same clock domain, with both render and capture at the same time.

Member Function Documentation

◆ id()

virtual std::string tt::audio_device::id ( ) const
pure virtualnoexcept

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

Implemented in tt::audio_device_win32.

◆ label()

virtual label tt::audio_device::label ( ) const
pure virtualnoexcept

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.

Implemented in tt::audio_device_win32.

◆ name()

virtual std::string tt::audio_device::name ( ) const
pure virtualnoexcept

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.

Implemented in tt::audio_device_win32.

◆ state()

virtual audio_device_state tt::audio_device::state ( ) const
pure virtualnoexcept

Get the current state of the audio device.

Implemented in tt::audio_device_win32.


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