Exemplo n.º 1
0
 public Class165(IntPtr intptr_1, int int_0)
 {
     this.intptr_0            = intptr_1;
     this.gchandle_0          = GCHandle.Alloc(this.struct66_0, GCHandleType.Pinned);
     this.struct66_0.intptr_1 = (IntPtr)GCHandle.Alloc(this);
     this.byte_0              = new byte[int_0];
     this.gchandle_1          = GCHandle.Alloc(this.byte_0, GCHandleType.Pinned);
     this.struct66_0.intptr_0 = this.gchandle_1.AddrOfPinnedObject();
     this.struct66_0.int_0    = int_0;
     Exception4.smethod_1(Class162.waveOutPrepareHeader(this.intptr_0, ref this.struct66_0, Marshal.SizeOf(this.struct66_0)), "waveOutPrepareHeader");
 }
Exemplo n.º 2
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");
     }
 }