<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZVirtioSoundDeviceOutputStreamConfiguration/sink",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZVirtioSoundDeviceOutputStreamConfiguration(py)sink"
  },
  "title" : "sink"
}
-->

# sink

An audio stream sink that defines how the host handles audio data produced by the guest.

```
var sink: VZAudioOutputStreamSink? { get set }
```

## Discussion

Not specifying a sink results in a default handler that suppresses the audio. The default is `nil`.

## See Also

[`VZAudioOutputStreamSink`](/documentation/Virtualization/VZAudioOutputStreamSink)

The base class for an audio output stream sink.

[`VZHostAudioOutputStreamSink`](/documentation/Virtualization/VZHostAudioOutputStreamSink)

Host audio output stream sink plays audio to the host system’s default output device.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)