---
title: MediaOutputDevice.VolumeControl.relative
framework: mediadevice
role: symbol
role_heading: Case
path: mediadevice/mediaoutputdevice/volumecontrol-swift.enum/relative
---

# MediaOutputDevice.VolumeControl.relative

Relative volume control is supported, changeVolume(by:for:) must be used to change the volume.

## Declaration

```swift
case relative
```

## Mentioned in

Creating a media device extension

## Discussion

Discussion The device only supports relative volume adjustments (up/down by increments). This is common with devices that have hardware volume buttons but do not expose their current volume level or allow direct volume setting.
