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

# setBufferFrameSize(_:)

Set the bufferFrameSize property.

## Declaration

```swift
func setBufferFrameSize(_ size: Int) throws
```

## Parameters

- `size`: An Int whose value indicates the number of frames in the IO buffers.
