<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareStream/virtualFormat",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B14HardwareStreamC13virtualFormatSo0bD16BasicDescriptionVvp"
  },
  "title" : "virtualFormat"
}
-->

# virtualFormat

An AudioStreamBasicDescription that describes the current data format for the stream.
The virtual format refers to the data format in which all IOProcs for the owning device
will perform IO transactions.

```
var virtualFormat: AudioStreamBasicDescription { get throws }
```

---

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)