mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-02 00:38:31 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
21 lines
395 B
C#
21 lines
395 B
C#
using Sandbox.Audio;
|
|
|
|
namespace Sandbox;
|
|
|
|
[Title( "Dsp Volume" )]
|
|
[Group( "Audio" )]
|
|
[Icon( "graphic_eq" )]
|
|
[Tint( EditorTint.Green )]
|
|
public class DspVolume : Sandbox.Volumes.VolumeComponent
|
|
{
|
|
[Property]
|
|
public DspPresetHandle Dsp { get; set; }
|
|
|
|
[Property]
|
|
public MixerHandle TargetMixer { get; set; } = new MixerHandle { Name = "Game" };
|
|
|
|
[Property]
|
|
public int Priority { get; set; }
|
|
}
|
|
|