Show More
Commit Description:
Make sound preview use the new volume....
Commit Description:
Make sound preview use the new volume.
Plays the sound at the new volume, not the old volume. Uses nullables, which
I'm a little unsure of how well they'll work out in practice. I think this is a
reasonable place to experiment.
References:
File last commit:
Show/Diff file:
Action:
FNA/src/Audio/SoundState.cs
19 lines | 414 B | text/x-csharp | CSharpLexer
19 lines | 414 B | text/x-csharp | CSharpLexer
r0 | #region License | |||
/* FNA - XNA4 Reimplementation for Desktop Platforms | ||||
* Copyright 2009-2020 Ethan Lee and the MonoGame Team | ||||
* | ||||
* Released under the Microsoft Public License. | ||||
* See LICENSE for details. | ||||
*/ | ||||
#endregion | ||||
namespace Microsoft.Xna.Framework.Audio | ||||
{ | ||||
// http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.audio.soundstate.aspx | ||||
public enum SoundState | ||||
{ | ||||
Playing, | ||||
Paused, | ||||
Stopped | ||||
} | ||||
} | ||||