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

# volume

The current audio volume for the audio renderer.

## Declaration

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

## Discussion

Discussion Use this property for frequent vloume changes; for example, a volume knob or fader. A value of 0.0 silences all audio while a value of 1.0 plays all audio at full volume.

## See Also

### Managing audio output

- [isMuted](avfoundation/avsamplebufferaudiorenderer/ismuted.md)
- [audioOutputDeviceUniqueID](avfoundation/avsamplebufferaudiorenderer/audiooutputdeviceuniqueid.md)
