---
title: volume
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptureaudiopreviewoutput/volume
---

# volume

The output volume of the audio preview.

## Declaration

```swift
var volume: Float { get set }
```

## Discussion

Discussion A value of 1.0 indicates maximum volume, and a value of 0.0 mutes the audio preview.

## See Also

### Configuring the output

- [outputDeviceUniqueID](avfoundation/avcaptureaudiopreviewoutput/outputdeviceuniqueid.md)
