s&box docs
API ReferenceSandbox.Audio

public sealed class Sandbox.Audio.MixBuffer

Contains 512 samples of audio data, this is used when mixing a single channel

Constructors

Showing 1 constructors

Methods

Showing 7 methods

public void CopyFrom(Sandbox.Audio.MixBuffer other)

Set this buffer to this value

public virtual sealed void Dispose()

public void RandomFill()

public void Scale(float volume)

Scale the buffer by volume

public void Silence()

Silence this buffer

Properties

Showing 2 properties

public float Sandbox.Audio.MixBuffer.LevelAvg { get; set; }

public float Sandbox.Audio.MixBuffer.LevelMax { get; set; }

Metadata

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

On this page