Permalink
Browse files

Fixed SoundEffectInstance.Resume()

  • Loading branch information...
1 parent 055fbb8 commit ae59f2d2739cabd32012ab9c547021b3c759cbbd Ben (MacBook) committed Jan 19, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 MonoGame.Framework/MacOS/Audio/SoundEffectInstance.cs
@@ -184,7 +184,11 @@ public void Play ()
public void Resume ()
{
- Play ();
+ if (hasSourceId)
+ {
+ controller.PlaySound(soundBuffer);
+ soundState = SoundState.Playing;
+ }
}
public void Stop ()

0 comments on commit ae59f2d

Please sign in to comment.