Fired when audio devices change, either new devices being added, or
existing devices being removed.
|devices|: List of all present audio devices after the change.
Fired when the mute state of the audio input or output changes.
Note that mute state is system-wide and the new value applies to every
audio device with specified stream type.
Gets a list of audio devices filtered based on |filter|.
|filter|: Device properties by which to filter the list of returned
audio devices. If the filter is not set or set to {},
returned device list will contain all available audio devices.
|callback|: Reports the requested list of audio devices.
Gets the system-wide mute state for the specified stream type.
|streamType|: Stream type for which mute state should be fetched.
|callback|: Callback reporting whether mute is set or not for specified
stream type.
Sets lists of active input and/or output devices.
|ids|: Specifies IDs of devices that should be active. If either the
input or output list is not set, devices in that category are
unaffected.
Sets mute state for a stream type. The mute state will apply to all audio
devices with the specified audio stream type.
|streamType|: Stream type for which mute state should be set.
|isMuted|: New mute value.