# Sandbox.Audio.MixBuffer.Scale

```csharp
void Scale(float volume)
```

Scale the buffer by volume

### Parameters

- `volume` (`float`)

Declared in [Sandbox.Audio.MixBuffer](/api/Sandbox.Audio.MixBuffer).
Assembly: `Sandbox.Engine`.
