fix StaticSoundInstance.Pause not actually pausing
parent
74ae295036
commit
dbbd6540ab
|
@ -89,7 +89,7 @@ namespace MoonWorks.Audio
|
||||||
|
|
||||||
public override void Pause()
|
public override void Pause()
|
||||||
{
|
{
|
||||||
if (State == SoundState.Paused)
|
if (State == SoundState.Playing)
|
||||||
{
|
{
|
||||||
FAudio.FAudioSourceVoice_Stop(Voice, 0, 0);
|
FAudio.FAudioSourceVoice_Stop(Voice, 0, 0);
|
||||||
State = SoundState.Paused;
|
State = SoundState.Paused;
|
||||||
|
|
Loading…
Reference in New Issue