VirtualBox Main API

Public Attributes | List of all members
IHostAudioDeviceChangedEvent Interface Reference

Notification when a host audio device state has changed. More...

Inheritance diagram for IHostAudioDeviceChangedEvent:

## Public Attributes
readonly attribute IHostAudioDevice | device
| Host audio device that has changed.
readonly attribute boolean | new
| `true` if the host device is a newly detected device, `false` if not.
readonly attribute AudioDeviceState | state
| New audio device state.
readonly attribute IVirtualBoxErrorInfo | error
| `null` on success or an error message object on failure.
Public Attributes inherited from IEvent
readonly attribute VBoxEventType | type
| Event type.
readonly attribute IEventSource | source
| Source of this event.
readonly attribute boolean | waitable
| If we can wait for this event being processed.

## Additional Inherited Members
Public Member Functions inherited from IEvent
void | setProcessed ()
| Internal method called by the system when all listeners of a particular event have called IEventSource::eventProcessed.
void | waitProcessed (in long timeout, [retval] out boolean result)
| Wait until time outs, or this event is processed.

## Detailed Description

Notification when a host audio device state has changed.

Interface ID:
  `{8DCC633F-7B03-4F0A-9F40-7A784DD0835A}`

## Member Data Documentation

## ◆ device

readonly attribute IHostAudioDevice IHostAudioDeviceChangedEvent::device

Host audio device that has changed.

## ◆ new

readonly attribute boolean IHostAudioDeviceChangedEvent::new

`true` if the host device is a newly detected device, `false` if not.

## ◆ state

readonly attribute AudioDeviceState IHostAudioDeviceChangedEvent::state

New audio device state.

## ◆ error

readonly attribute IVirtualBoxErrorInfo IHostAudioDeviceChangedEvent::error

`null` on success or an error message object on failure.