Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: danzel/MonoGame
...
head fork: danzel/MonoGame
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
4 MonoGame.Framework/PSSuite/Audio/Sound.cs
View
@@ -89,6 +89,7 @@ public Sound(string filename, float volume, bool looping)
this.Looping = looping;
this.Volume = volume;
+ this.Rate = 1.0f;
}
public Sound(byte[] audiodata, float volume, bool looping)
@@ -98,6 +99,7 @@ public Sound(byte[] audiodata, float volume, bool looping)
this.Looping = looping;
this.Volume = volume;
- }
+ this.Rate = 1.0f;
+ }
}
}
7 MonoGame.Framework/PSSuite/PSSGamePlatform.cs
View
@@ -93,7 +93,6 @@ public PSSGamePlatform(Game game)
_game = game;
}
- private bool _initialized;
public static bool IsPlayingVdeo { get; set; }
private int _frameBufferWidth, _frameBufferHeight;
@@ -134,12 +133,6 @@ public override void StartRunLoop()
public override bool BeforeUpdate(GameTime gameTime)
{
- if (!_initialized)
- {
- Game.DoInitialize();
- _initialized = true;
- }
-
// Let the touch panel update states.
TouchPanel.UpdateState();

No commit comments for this range

Something went wrong with that request. Please try again.