HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions
v1::audio_system_aggregate Class Reference
Inheritance diagram for v1::audio_system_aggregate:
v1::audio_system

Public Types

using super = audio_system
 
- Public Types inherited from v1::audio_system
using token_type = notifier<>::token_type
 

Public Member Functions

generator< audio_device * > devices () noexcept override
 The devices that are part of the audio system.
 
void add_child (std::unique_ptr< audio_system > new_child)
 
- Public Member Functions inherited from v1::audio_system
 audio_system (audio_system const &)=delete
 
 audio_system (audio_system &&)=delete
 
audio_systemoperator= (audio_system const &)=delete
 
audio_systemoperator= (audio_system &&)=delete
 
token_type subscribe (callback_flags flags, std::invocable<> auto &&func) noexcept
 Subscribe a function to be called when the device list changes.
 
token_type subscribe (std::invocable<> auto &&func) noexcept
 Subscribe a function to be called when the device list changes.
 
auto operator co_await () noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from v1::audio_system
static std::unique_ptr< audio_systemmake_unique () noexcept
 Create an audio system object specific for the current operating system.
 

Member Function Documentation

◆ devices()

generator< audio_device * > v1::audio_system_aggregate::devices ( )
inlineoverridevirtualnoexcept

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.

Returns
A generator-coroutine object that can be iterated over.

Implements v1::audio_system.


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