---
title: "setPhysicalFormat(_:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwarestream/setphysicalformat(_:)"
---

# setPhysicalFormat(_:)

Set the physicalFormat property.

## Declaration

```swift
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.
