<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareStream/setPhysicalFormat(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B14HardwareStreamC17setPhysicalFormatyySo0bD16BasicDescriptionVKF"
  },
  "title" : "setPhysicalFormat(_:)"
}
-->

# setPhysicalFormat(_:)

Set the physicalFormat property.

```
func setPhysicalFormat(_ format: AudioStreamBasicDescription) throws
```

## Parameters

`format`

An AudioStreamBasicDescription that describes the data format in which
the hardware for the owning device will perform IO transactions.

---

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)