---
title: gain
framework: phase
role: symbol
role_heading: Instance Property
path: phase/phaselistener/gain
---

# gain

Modifies the volume of all audio playback for the listener’s mixers.

## Declaration

```swift
var gain: Double { get set }
```

## Discussion

Discussion For mixers that require a listener, this property modifies the volume of all audio the framework plays back through the listener by way of the listener’s associated mixers. The framework clamps the value to the range between 0 and 1, where 0 silences the audio and 1 doesn’t modify the audio’s original volume.
