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

Public Types

using super = audio_system
 

Public Member Functions

generator< audio_device & > devices () noexcept override
 The devices that are part of the audio system.
 
- Public Member Functions inherited from hi::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
 
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
 

Friends

class audio_system_win32_notification_client
 

Additional Inherited Members

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

Member Function Documentation

◆ devices()

generator< audio_device & > hi::v1::audio_system_win32::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 hi::v1::audio_system.


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