---
title: setLinearScale
framework: kernel
role: pseudoSymbol
path: kernel/ioaudiolevelcontrol/1811880-setlinearscale
---

# setLinearScale

This function tells CoreAudio if it should apply a curve to the scaler representation of the volume.

## Declaration

```occ
virtual void setLinearScale(
 booluseLinearScale); 
```

## Parameters

- `useLinearScale`: TRUE instructs CoreAudio to not apply a curve to the scaler representation of the volume, FALSE instructs CoreAudio to apply a curve, which is CoreAudio's default behavior.

## See Also

### Miscellaneous

- [create](kernel/ioaudiolevelcontrol/1811861-create.md)
- [init](kernel/ioaudiolevelcontrol/1811868-init.md)
- [setMaxDB](kernel/ioaudiolevelcontrol/1811889-setmaxdb.md)
- [setMaxValue](kernel/ioaudiolevelcontrol/1811896-setmaxvalue.md)
- [setMinDB](kernel/ioaudiolevelcontrol/1811907-setmindb.md)
- [setMinValue](kernel/ioaudiolevelcontrol/1811910-setminvalue.md)
