---
title: SetDecibelValue
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudiolevelcontrol/setdecibelvalue
---

# SetDecibelValue

Sets the decibel value of the level control.

## Declaration

```occ
kern_return_t SetDecibelValue(float in_decibel_value);
```

## Parameters

- `in_decibel_value`: The decibel value to set.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

## Discussion

Discussion If successful, changing the scalar value sends a notification to the host to update the object state. This method synchronizes by using the work queue created by the object.

## See Also

### Accessing the Value

- [SetScalarValue](audiodriverkit/iouseraudiolevelcontrol/setscalarvalue.md)
- [GetScalarValue](audiodriverkit/iouseraudiolevelcontrol/getscalarvalue.md)
- [GetDecibelValue](audiodriverkit/iouseraudiolevelcontrol/getdecibelvalue.md)
