diff options
Diffstat (limited to 'ShiftOS_TheReturn/AudioManager.cs')
| -rw-r--r-- | ShiftOS_TheReturn/AudioManager.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/AudioManager.cs b/ShiftOS_TheReturn/AudioManager.cs index 7d01a52..4f90d76 100644 --- a/ShiftOS_TheReturn/AudioManager.cs +++ b/ShiftOS_TheReturn/AudioManager.cs @@ -45,6 +45,8 @@ namespace ShiftOS.Engine { Thread.Sleep(5000); //even when the player isn't playing, this will give a good delay between songs. } + _reader.Dispose(); + _out.Dispose(); } }); t.IsBackground = true; @@ -56,6 +58,8 @@ namespace ShiftOS.Engine _provider.Volume = volume; //persist between songs _out.Volume = volume; } + + } public interface IAudioProvider |
