Beispiel #1
0
 /// <summary>
 /// Method that updates all the sounds play status.
 /// </summary>
 /// <remarks>Should be called in same thread as user main thread.</remarks>
 /// <exception cref="InvalidOperationException">One or several of the sounds asked for play had invalid data (corrupted or unsupported formats).</exception>
 public void Update()
 {
     if (State != AudioEngineState.Disposed && State != AudioEngineState.Invalidated)
     {
         AudioLayer.Update(AudioDevice);
     }
 }