Exemple #1
0
        private void method_1()
        {
            AlcError alcError = OpenAL.alcGetError(this.intptr_0);

            if (alcError != AlcError.NoError)
            {
                throw new Exception3(alcError.ToString());
            }
        }
Exemple #2
0
 private static void smethod_1(Class120 class120_0)
 {
     lock (Class120.object_0)
     {
         if (!OpenAL.alcMakeContextCurrent((class120_0 != null) ? class120_0.struct62_0 : Struct62.struct62_0))
         {
             //Delegate129.delegate129_0;
             //"ALC {0} error detected at {1}.";
             OpenAL.alcGetError((class120_0 != null) ? Struct62.smethod_0(class120_0.struct62_0) : IntPtr.Zero).ToString();
             if (class120_0 == null)
             {
                 //"null";
             }
             else
             {
                 class120_0.ToString();
             }
             throw null;
         }
     }
 }