|
|
using | super = audio_system |
|
using | notifier_type = notifier<> |
|
using | callback_token = notifier_type::callback_token |
|
using | callback_proto = notifier_type::callback_proto |
|
| 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) |
|
| audio_system (audio_system const &)=delete |
|
| audio_system (audio_system &&)=delete |
|
audio_system & | operator= (audio_system const &)=delete |
|
audio_system & | operator= (audio_system &&)=delete |
| callback_token | subscribe (forward_of< callback_proto > auto &&func, callback_flags flags=callback_flags::synchronous) noexcept |
| | Subscribe a function to be called when the device list changes.
|
|
auto | operator co_await () noexcept |
|
| static std::unique_ptr< audio_system > | make_unique () noexcept |
| | Create an audio system object specific for the current operating system.
|
◆ devices()
|
|
inlinenodiscardoverridevirtualnoexcept |
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: