7#include "audio_device.hpp"
8#include "../unfair_recursive_mutex.hpp"
9#include "../generator.hpp"
13namespace hi::inline
v1 {
21 using callback_token = notifier_type::callback_token;
22 using callback_proto = notifier_type::callback_proto;
50 return _notifier.subscribe(
hi_forward(func), flags);
53 auto operator co_await()
noexcept
55 return _notifier.operator
co_await();
59 notifier_type _notifier;
#define hi_forward(x)
Forward a value, based on the decltype of the value.
Definition utility.hpp:29
DOXYGEN BUG.
Definition algorithm.hpp:15
callback_flags
Definition callback_flags.hpp:12
A set of audio channels which can be rendered and/or captures at the same time.
Definition audio_device.hpp:31
Definition audio_system.hpp:18
static std::unique_ptr< audio_system > make_unique() noexcept
Create an audio system object specific for the current operating system.
A return value for a generator-function.
Definition generator.hpp:28
A notifier which can be used to call a set of registered callbacks.
Definition notifier.hpp:26
True if T is a forwarded type of Forward.
Definition concepts.hpp:130