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

#include <ttauri/audio/audio_system.hpp>

Inheritance diagram for tt::audio_system:
tt::audio_system_aggregate tt::audio_system_asio tt::audio_system_win32

Public Member Functions

 audio_system (tt::event_queue const &event_queue, std::weak_ptr< audio_system_delegate > delegate)
 
 audio_system (audio_system const &)=delete
 
 audio_system (audio_system &&)=delete
 
audio_systemoperator= (audio_system const &)=delete
 
audio_systemoperator= (audio_system &&)=delete
 
virtual void init () noexcept
 
virtual void deinit () noexcept
 
virtual std::vector< audio_device * > devices () noexcept=0
 The devices that are part of the audio system.
 

Static Public Member Functions

static std::unique_ptr< audio_systemmake_unique (tt::event_queue const &event_queue, std::weak_ptr< audio_system_delegate > delegate) noexcept
 

Detailed Description

An system of audio devices. Systems are for example: Window Audio Session API (WASAPI), ASIO, Apple CoreAudio

Member Function Documentation

◆ devices()

virtual std::vector< audio_device * > tt::audio_system::devices ( )
pure virtualnoexcept

The devices that are part of the audio system.

Due to complicated threading and callback function interactions audio devices are not destroyed until application shutdown.

Implemented in tt::audio_system_aggregate, and tt::audio_system_win32.


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