![]() |
libdisplaydevice v2026.322.2407
C++ library to modify display devices.
|
A class for capturing associated audio context (settings, info or whatever). More...
#include <src/common/include/display_device/audio_context_interface.h>
Public Member Functions | |
| virtual bool | capture ()=0 |
| Capture audio context for currently active devices. | |
| virtual bool | isCaptured () const =0 |
| Check if the context is already captured. | |
| virtual void | release ()=0 |
| Release captured audio context for the devices (if any). | |
| virtual | ~AudioContextInterface ()=default |
| Default virtual destructor. | |
A class for capturing associated audio context (settings, info or whatever).
Some of the display devices have audio devices associated with them. Turning off and on the devices will not necessarily restore them as the default audio devices for the system.
|
nodiscardpure virtual |
Capture audio context for currently active devices.
*Examples**
Implemented in display_device::NoopAudioContext.
|
nodiscardpure virtual |
Check if the context is already captured.
*Examples**
Implemented in display_device::NoopAudioContext.
|
pure virtual |
Release captured audio context for the devices (if any).
*Examples**
Implemented in display_device::NoopAudioContext.