s&box docs
API ReferenceSandbox.Audio

public sealed class Sandbox.Audio.MultiChannelBuffer

Holds up to 8 mix buffers, which usually represent output speakers.

Constructors

Showing 1 constructors

Methods

Showing 8 methods

public void CopyFromUpmix(Sandbox.Audio.MultiChannelBuffer other)

Copies from one buffer to the other. If the other has less channels, we'll upmix

public virtual sealed void Dispose()

Delete and release all resources. Cannot be used again.

public void MixFrom(Sandbox.Audio.MultiChannelBuffer samples, float mix)

Mix the target buffer into this buffer

public void Scale(float volume)

Scale volume of this buffer

public void Silence()

Silence all buffers

Properties

Showing 1 properties

public int Sandbox.Audio.MultiChannelBuffer.ChannelCount { get; set; }

How many channels do we have

Metadata

FieldValue
NamespaceSandbox.Audio
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Audio.MultiChannelBuffer

On this page