Private
constructorThe stereo balance of the device if available.
A flag indicating the mute state of a device.
Writing to this property changes the mute state of the device.
Readonly
nameThe name of the device.
Readonly
sessionsReturns the audio sessions bound to the device.
Readonly
typeThe type of the device (input or output).
The current volume of the device.
Writing to this property changes the volume of the device.
Triggering a volume change, or mute change in a callback can cause the listeners to self trigger, leading to an infinite trigger loop.
The type of event to subscribe to.
It can be either volume
, or mute
.
The callback to run when the event is triggered.
Generated using TypeDoc
A class that represents an actual physical or virtual audio device.