From 1de3c73bb75f59df96f36f27ad8adabcfe953d3f Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Wed, 9 Aug 2023 16:10:00 -0700 Subject: [PATCH] fix voices being created in the Playing state --- src/Audio/SourceVoice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Audio/SourceVoice.cs b/src/Audio/SourceVoice.cs index e650b5b..dfe9189 100644 --- a/src/Audio/SourceVoice.cs +++ b/src/Audio/SourceVoice.cs @@ -30,7 +30,7 @@ namespace MoonWorks.Audio } } - private SoundState state; + private SoundState state = SoundState.Stopped; public SoundState State { get