---
title: VZVirtioSoundDeviceConfiguration
framework: virtualization
role: symbol
role_heading: Class
path: virtualization/vzvirtiosounddeviceconfiguration
---

# VZVirtioSoundDeviceConfiguration

An object that defines a Virtio sound device configuration.

## Declaration

```swift
class VZVirtioSoundDeviceConfiguration
```

## Overview

Overview Use a VZVirtioSoundDeviceConfiguration object to configure an audio device for your VM. After creating this object, assign appropriate values to the streams array property which defines the behaviors of the underlying audio streams for this audio device. After creating and configuring a VZVirtioSoundDeviceConfiguration object, assign it to the audioDevices property of your VM’s configuration.

## Topics

### Creating a sound device configuration

- [init()](virtualization/vzvirtiosounddeviceconfiguration/init().md)

### Accessing the sound streams

- [streams](virtualization/vzvirtiosounddeviceconfiguration/streams.md)

## Relationships

### Inherits From

- [VZAudioDeviceConfiguration](virtualization/vzaudiodeviceconfiguration.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Configurations

- [VZVirtioSoundDeviceOutputStreamConfiguration](virtualization/vzvirtiosounddeviceoutputstreamconfiguration.md)
- [VZVirtioSoundDeviceInputStreamConfiguration](virtualization/vzvirtiosounddeviceinputstreamconfiguration.md)
- [VZAudioDeviceConfiguration](virtualization/vzaudiodeviceconfiguration.md)
- [VZVirtioSoundDeviceStreamConfiguration](virtualization/vzvirtiosounddevicestreamconfiguration.md)
