Пример #1
0
 public void method_10(bool bool2)
 {
     lock (_queue1)
     {
         _queue1.Clear();
         _queue1.Enqueue(new Class164(Enum19.Const6, null));
         _autoResetEvent0.Set();
     }
     _thread0.Join();
     if (bool2)
     {
         _stream10.Dispose();
     }
 }
Пример #2
0
 public void method_1(bool bool1)
 {
     StopPlaying();
     if (bool1 && _stream10 != null)
     {
         try
         {
             _stream10.Dispose();
         }
         finally
         {
             _stream10 = null;
         }
     }
 }
Пример #3
0
 public void method_2(bool bool2)
 {
     if (bool2)
     {
         _stream10.Dispose();
     }
     if (_thread0 != null)
     {
         _thread0.Abort();
     }
     try
     {
         Marshal.FreeHGlobal(_intptr0);
     }
     catch
     {
     }
     Class119.alSourceStop(_intptr1);
     Class119.smethod_3(_intptr1);
     Class119.smethod_9(_intptr2);
     _class1200.Dispose();
 }
Пример #4
0
 public void method_10(bool bool3)
 {
     StopPlaying();
     method_9();
     if (_autoResetEvent0 != null)
     {
         _autoResetEvent0.Close();
     }
     if (_secondaryBuffer0 != null)
     {
         _secondaryBuffer0.Dispose();
         _secondaryBuffer0 = null;
     }
     if (_bool0 && _device0 != null)
     {
         _device0.Dispose();
         _device0 = null;
     }
     if (bool3)
     {
         _stream10.Dispose();
     }
 }