---
title: SetScalarValue
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideolevelcontrol/setscalarvalue
---

# SetScalarValue

Sets the current scalar level value.

## Declaration

```occ
kern_return_t SetScalarValue(float in_scalar);
```

## Parameters

- `in_scalar`: The scalar level value.

## Discussion

Discussion Changing the scalar level value will send a notification to the host to update the object state if successful. The object’s work queue synchronizes access to the value.

## See Also

### Accessing the value

- [SetDecibelValue](videodriverkit/iouservideolevelcontrol/setdecibelvalue.md)
- [GetScalarValue](videodriverkit/iouservideolevelcontrol/getscalarvalue.md)
- [GetDecibelValue](videodriverkit/iouservideolevelcontrol/getdecibelvalue.md)
