# Sandbox.Audio.MultiChannelBuffer

Holds up to 8 mix buffers, which usually represent output speakers.

- Kind: class
- Namespace: `Sandbox.Audio`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Constructors

- [`MultiChannelBuffer`](/api/Sandbox.Audio.MultiChannelBuffer/.ctor)

## Properties

- [`ChannelCount`](/api/Sandbox.Audio.MultiChannelBuffer/ChannelCount): How many channels do we have

## Methods

- [`CopyFrom`](/api/Sandbox.Audio.MultiChannelBuffer/CopyFrom): Set this buffer to this value
- [`CopyFromUpmix`](/api/Sandbox.Audio.MultiChannelBuffer/CopyFromUpmix): Copies from one buffer to the other. If the other has less channels, we'll upmix
- [`Dispose`](/api/Sandbox.Audio.MultiChannelBuffer/Dispose): Delete and release all resources. Cannot be used again.
- [`Get`](/api/Sandbox.Audio.MultiChannelBuffer/Get): Get MixBuffer number i
- [`HardLimit`](/api/Sandbox.Audio.MultiChannelBuffer/HardLimit): Clamp each sample to [-1, 1] across all channels to prevent digital clipping.
- [`MixFrom`](/api/Sandbox.Audio.MultiChannelBuffer/MixFrom): Mix the target buffer into this buffer
- [`Scale`](/api/Sandbox.Audio.MultiChannelBuffer/Scale): Scale volume of this buffer
- [`Silence`](/api/Sandbox.Audio.MultiChannelBuffer/Silence): Silence all buffers
