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/Graphics/IGraphicsDeviceService.cs
28 lines | 603 B | text/x-csharp | CSharpLexer
28 lines | 603 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 | ||||
#region Using Statements | ||||
using System; | ||||
#endregion | ||||
namespace Microsoft.Xna.Framework.Graphics | ||||
{ | ||||
public interface IGraphicsDeviceService | ||||
{ | ||||
GraphicsDevice GraphicsDevice | ||||
{ | ||||
get; | ||||
} | ||||
event EventHandler<EventArgs> DeviceCreated; | ||||
event EventHandler<EventArgs> DeviceDisposing; | ||||
event EventHandler<EventArgs> DeviceReset; | ||||
event EventHandler<EventArgs> DeviceResetting; | ||||
} | ||||
} | ||||