VirtualBox Main API

Public Member Functions | Public Attributes | List of all members
IAudioSettings Interface Reference

The IAudioSettings interface represents the audio settings for a virtual machine. More...

Inheritance diagram for IAudioSettings:

## Public Member Functions
void | getHostAudioDevice (in AudioDirection usage, [retval] out IHostAudioDevice device)
| Returns the machine's current host audio device for the specified usage.
void | setHostAudioDevice (in IHostAudioDevice device, in AudioDirection usage)
| Sets the machine's current host audio device for the specified usage.

## Public Attributes
readonly attribute IAudioAdapter | adapter
| Associated audio adapter, always present.

## Detailed Description

The IAudioSettings interface represents the audio settings for a virtual machine.

Interface ID:
  `{52F40B16-520E-473F-9428-3E69B0D915C3}`

## Member Function Documentation

## ◆ getHostAudioDevice()

void IAudioSettings::getHostAudioDevice | ( | in AudioDirection | usage,
|  | [retval] out IHostAudioDevice | device
| ) |  |

Returns the machine's current host audio device for the specified usage.

Parameters

  usage | Usage to retrieve audio device for.
  device | Host audio device for the specified direction.

Expected result codes:

  E_NOTIMPL | This method is not implemented yet.

## ◆ setHostAudioDevice()

void IAudioSettings::setHostAudioDevice | ( | in IHostAudioDevice | device,
|  | in AudioDirection | usage
| ) |  |

Sets the machine's current host audio device for the specified usage.

Parameters

  device | Sets the host audio device for the specified usage.
  usage | Usage to set audio device for.

Expected result codes:

  E_NOTIMPL | This method is not implemented yet.

## Member Data Documentation

## ◆ adapter

readonly attribute IAudioAdapter IAudioSettings::adapter

Associated audio adapter, always present.