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
public MixBuffer()
No results match this filter.
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
No results match this filter.
Properties
Showing 2 properties
public float Sandbox.Audio.MixBuffer.LevelAvg { get; set; }
public float Sandbox.Audio.MixBuffer.LevelMax { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Audio |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Audio.MixBuffer |