コード例 #1
0
 private void CleanAllSoundEngines()
 {
     try
     {
         soundEngine.StopAllPlayers();
         foreach (var se in currentSession.ChildSoundEngines)
         {
             se.StopAllPlayers();
         }
         currentSession.ChildSoundEngines = null;
     }
     catch (Exception e)
     {
         AddConsoleText("Nie udalo sie prawidlowo zamknac silnikow dzwiekowych: " + e.Message);
     }
 }