|
|
using | super = audio_system |
|
| generator< audio_device & > | devices () noexcept override |
| | The devices that are part of the audio system.
|
|
| audio_system (audio_system const &)=delete |
|
| audio_system (audio_system &&)=delete |
|
audio_system & | operator= (audio_system const &)=delete |
|
audio_system & | operator= (audio_system &&)=delete |
| template<forward_of< void()> Func> |
| callback< void()> | subscribe (Func &&func, callback_flags flags=callback_flags::synchronous) noexcept |
| | Subscribe a function to be called when the device list changes.
|
|
auto | operator co_await () const noexcept |
|
|
class | audio_system_win32_notification_client |
|
| static audio_system & | global () noexcept |
| | Create an audio system object specific for the current operating system.
|
◆ devices()
| generator< audio_device & > hi::v1::audio_system_win32::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 hi::v1::audio_system.
The documentation for this class was generated from the following file: