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(); } } }
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 { } } }
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"); } }
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(); } } }
public static extern Enum18 waveOutWrite(IntPtr intptr_0, ref Struct66 struct66_0, int int_0);
public static extern Enum18 waveOutUnprepareHeader(IntPtr intptr_0, ref Struct66 struct66_0, int int_0);