---
title: audioVolume
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phlivephotoeditingcontext/audiovolume
---

# audioVolume

The audio gain to apply to the processed Live Photo.

## Declaration

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

## Discussion

Discussion Values must be between 0.0 and 1.0, inclusive. A value of 1.0 (the default) leaves the audio content of the Live Photo unchanged. A value of 0.0 mutes all audio in the output Live Photo. Setting this property does not process the Live Photo content; instead, it sets the audio gain to be applied when you later process the Live Photo using one of the methods listed in Processing an Editing Context’s Live Photo.

## See Also

### Preparing an Editing Context for Processing

- [frameProcessor](photos/phlivephotoeditingcontext/frameprocessor.md)
- [PHLivePhotoFrameProcessingBlock](photos/phlivephotoframeprocessingblock.md)
