Esempio n. 1
0
 private void method_2(IntPtr intptr_1, Class162.Enum16 enum16_0, int int_4, ref Struct66 struct66_0, int int_5)
 {
     if (enum16_0 == Class162.Enum16.const_1)
     {
         Class158 object_ = (Class158)((GCHandle)struct66_0.intptr_1).Target;
         lock (this.queue_1)
         {
             this.queue_1.Enqueue(new WaveOutput.Class164(WaveOutput.Enum19.const_2, object_));
             this.autoResetEvent_0.Set();
         }
     }
 }
Esempio n. 2
0
 public static void smethod_0(IntPtr intptr_1, Class162.Enum16 enum16_0, int int_0, ref Struct66 struct66_1, int int_1)
 {
     if (enum16_0 == Class162.Enum16.const_1)
     {
         try
         {
             Class165 @class = (Class165)((GCHandle)struct66_1.intptr_1).Target;
             @class.method_4();
         }
         catch
         {
         }
     }
 }
Esempio n. 3
0
 public Class158(IntPtr intptr_1, int int_1, GenericAudioStream stream1_1, object object_1)
 {
     this.int_0 = int_1;
     this.class17_0 = new Class17(int_1);
     this.gchandle_0 = GCHandle.Alloc(this.class17_0.method_0(), GCHandleType.Pinned);
     this.intptr_0 = intptr_1;
     this.stream1_0 = stream1_1;
     this.object_0 = object_1;
     this.struct66_0 = default(Struct66);
     this.gchandle_1 = GCHandle.Alloc(this.struct66_0);
     this.struct66_0.intptr_0 = this.gchandle_0.AddrOfPinnedObject();
     this.struct66_0.int_0 = int_1;
     this.struct66_0.int_2 = 1;
     this.gchandle_2 = GCHandle.Alloc(this);
     this.struct66_0.intptr_1 = (IntPtr)this.gchandle_2;
     lock (object_1)
     {
         Exception4.smethod_1(Class162.waveOutPrepareHeader(intptr_1, ref this.struct66_0, Marshal.SizeOf(this.struct66_0)), "waveOutPrepareHeader");
     }
 }
Esempio n. 4
0
 public Class158(IntPtr intptr_1, int int_1, GenericAudioStream stream1_1, object object_1)
 {
     this.int_0               = int_1;
     this.class17_0           = new Class17(int_1);
     this.gchandle_0          = GCHandle.Alloc(this.class17_0.method_0(), GCHandleType.Pinned);
     this.intptr_0            = intptr_1;
     this.stream1_0           = stream1_1;
     this.object_0            = object_1;
     this.struct66_0          = default(Struct66);
     this.gchandle_1          = GCHandle.Alloc(this.struct66_0);
     this.struct66_0.intptr_0 = this.gchandle_0.AddrOfPinnedObject();
     this.struct66_0.int_0    = int_1;
     this.struct66_0.int_2    = 1;
     this.gchandle_2          = GCHandle.Alloc(this);
     this.struct66_0.intptr_1 = (IntPtr)this.gchandle_2;
     lock (object_1)
     {
         Exception4.smethod_1(Class162.waveOutPrepareHeader(intptr_1, ref this.struct66_0, Marshal.SizeOf(this.struct66_0)), "waveOutPrepareHeader");
     }
 }
Esempio n. 5
0
 private void method_2(IntPtr intptr_1, Class162.Enum16 enum16_0, int int_4, ref Struct66 struct66_0, int int_5)
 {
     if (enum16_0 == Class162.Enum16.const_1)
     {
         Class158 object_ = (Class158)((GCHandle)struct66_0.intptr_1).Target;
         lock (this.queue_1)
         {
             this.queue_1.Enqueue(new Class163.Class164(Class163.Enum19.const_2, object_));
             this.autoResetEvent_0.Set();
         }
     }
 }
Esempio n. 6
0
 public static extern Enum18 waveOutWrite(IntPtr intptr_0, ref Struct66 struct66_0, int int_0);
Esempio n. 7
0
 public static extern Enum18 waveOutUnprepareHeader(IntPtr intptr_0, ref Struct66 struct66_0, int int_0);
Esempio n. 8
0
 public static extern Enum18 waveOutWrite(IntPtr intptr_0, ref Struct66 struct66_0, int int_0);
Esempio n. 9
0
 public static extern Enum18 waveOutUnprepareHeader(IntPtr intptr_0, ref Struct66 struct66_0, int int_0);
Esempio n. 10
0
 public static void smethod_0(IntPtr intptr_1, Class162.Enum16 enum16_0, int int_0, ref Struct66 struct66_1, int int_1)
 {
     if (enum16_0 == Class162.Enum16.const_1)
     {
         try
         {
             Class165 @class = (Class165)((GCHandle)struct66_1.intptr_1).Target;
             @class.method_4();
         }
         catch
         {
         }
     }
 }