internal static bool IsStopped(SoundSource source) { if (source != null) { if (source.State == SoundSourceState.StopPending | source.State == SoundSourceState.Stopped) { return true; } } return false; }