|
HikoGUI
A low latency retained GUI
|
#include <ttauri/audio/audio_system.hpp>
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_system & | operator= (audio_system const &)=delete |
| audio_system & | operator= (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_system > | make_unique (tt::event_queue const &event_queue, std::weak_ptr< audio_system_delegate > delegate) noexcept |
An system of audio devices. Systems are for example: Window Audio Session API (WASAPI), ASIO, Apple CoreAudio
|
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.