5#include "audio_system.hpp"
6#include "../algorithm/module.hpp"
7#include "../macros.hpp"
10hi_export_module(hikogui.audio.audio_system_aggregate);
12namespace hi {
inline namespace v1 {
16 using super = audio_system;
21 [[nodiscard]] generator<audio_device &>
devices() noexcept
override
23 for (
auto &child : _children) {
24 for (
auto &device: child.system->devices()) {
32 auto new_cbt = new_child->subscribe([
this] {
42 audio_system::callback_token cbt;
45 std::vector<child_type> _children;
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
The HikoGUI API version 1.
Definition lookahead_iterator.hpp:6
Definition audio_system_aggregate.hpp:14
generator< audio_device & > devices() noexcept override
The devices that are part of the audio system.
Definition audio_system_aggregate.hpp:21
T emplace_back(T... args)