Class AudioSettings
This class contains some stuff that didn't fit well anywhere else.
Inheritance
System.Object
AudioSettings
Namespace: InsaneScatterbrain.RetroKit
Syntax
public static class AudioSettings
Fields
SampleRate
The sample rate used by RetroKit.
Declaration
public const int SampleRate = 44100
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
ClampVolume(Int32)
Clamps volume between 0 and 100.
Declaration
public static int ClampVolume(int volume)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | volume | The volume. |
Returns
Type | Description |
---|---|
System.Int32 | The clamped volume. |