/// <summary>
 /// This method will synchronize each command send to SoundToolKit.
 /// </summary>
 public void UpdateAudio()
 {
     if (StkAudioEngine.Good)
     {
         StkAudioEngine.AdvanceTime((ulong)(Time.deltaTime * 1000) + 1);
         StkAudioEngine.Flush();
     }
     else if (!StkAudioEngine.Good && StkAudioEngine.Valid)
     {
         if (m_reinitializeCounter <= MAX_REINITIALIZE_COUNT)
         {
             ReInitialize();
         }
         else
         {
             SoundToolKitDebug.LogError("Manager crashed. Internal issue.");
         }
     }
 }
 /// <summary>
 /// This method will force execution of each command send to SoundToolKit prior to it's call.
 /// Note: Calling this while in game may cause freezes as it enforces waiting for all commands to execute.
 /// </summary>
 public void Finish()
 {
     StkAudioEngine.Finish();
 }