lock StreamingSound.Stop for consistency
parent
771e6c234b
commit
abfcdb975d
|
@ -83,10 +83,13 @@ namespace MoonWorks.Audio
|
|||
}
|
||||
|
||||
public override void Stop()
|
||||
{
|
||||
lock (StateLock)
|
||||
{
|
||||
ConsumingBuffers = false;
|
||||
State = SoundState.Stopped;
|
||||
}
|
||||
}
|
||||
|
||||
public override void StopImmediate()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue