aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/AudioManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn/AudioManager.cs')
-rw-r--r--ShiftOS_TheReturn/AudioManager.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/AudioManager.cs b/ShiftOS_TheReturn/AudioManager.cs
index d133f07..7d01a52 100644
--- a/ShiftOS_TheReturn/AudioManager.cs
+++ b/ShiftOS_TheReturn/AudioManager.cs
@@ -51,7 +51,11 @@ namespace ShiftOS.Engine
t.Start();
}
-
+ public static void SetVolume(float volume)
+ {
+ _provider.Volume = volume; //persist between songs
+ _out.Volume = volume;
+ }
}
public interface IAudioProvider