---
title: "averagePower(forChannel:)"
framework: avfaudio
role: symbol
role_heading: Instance Method
path: "avfaudio/avaudiorecorder/averagepower(forchannel:)"
---

# averagePower(forChannel:)

Returns the average power, in decibels full-scale (dBFS), for an audio channel.

## Declaration

```swift
func averagePower(forChannel channelNumber: Int) -> Float
```

## Parameters

- `channelNumber`: The number of the channel that you want the average power value for.

## Return Value

Return Value The audio channel’s current average power.

## Discussion

Discussion Before asking the player for its average power value, you must call updateMeters() to generate the latest data. The returned value ranges from –160 dBFS, indicating minimum power, to 0 dBFS, indicating maximum power.

## See Also

### Managing audio-level metering

- [isMeteringEnabled](avfaudio/avaudiorecorder/ismeteringenabled.md)
- [updateMeters()](avfaudio/avaudiorecorder/updatemeters().md)
- [peakPower(forChannel:)](avfaudio/avaudiorecorder/peakpower(forchannel:).md)
