static Class7() { Class7.string_0 = "0"; Class7.string_1 = "160"; Class7.byte_0 = null; Class7.bool_0 = false; Class7.int_0 = 0; if (Class7.string_0 == "1") { Class7.bool_0 = true; Class7.dictionary_0 = new System.Collections.Generic.Dictionary <int, string>(); } Class7.int_0 = System.Convert.ToInt32(Class7.string_1); System.Reflection.Assembly executingAssembly = System.Reflection.Assembly.GetExecutingAssembly(); using (System.IO.Stream manifestResourceStream = executingAssembly.GetManifestResourceStream("{7e792eae-11c6-48ed-9f5d-c2f96dff9090}")) { int num = System.Convert.ToInt32(manifestResourceStream.Length); byte[] buffer = new byte[num]; manifestResourceStream.Read(buffer, 0, num); Class7.byte_0 = Class19.smethod_24(buffer); manifestResourceStream.Close(); } }
private void method_8(int int_4) { WaitCallback waitCallback = null; Enum1 @enum = this.enum1_0; if (@enum == Enum1.const_2) { this.imethod_5(); } lock (this.object_0) { Stream arg_35_0 = this.stream1_0; this.int_3 = int_4; arg_35_0.Position = (long)int_4; if (@enum == Enum1.const_1) { int count = this.queue_0.Count; float num = 1f / ((float)(this.int_0 * count) / (float)this.imethod_7().short_1); float num2 = 0f; float num3 = 1f; if (this.imethod_7().waveFormatTag_0 == WaveFormatTag.IEEEFloat) { float[] array = new float[this.int_0 >> 2]; using (Queue<Class158>.Enumerator enumerator = this.queue_0.GetEnumerator()) { while (enumerator.MoveNext()) { Class158 current = enumerator.Current; float[] array2 = current.method_3().method_1(); int num4 = this.stream1_0.vmethod_4(array, 0, array.Length); if (num4 == 0) { break; } int i = 0; int num5 = 0; while (i < num4) { array2[i] = num3 * array2[i] + num2 * array[i]; num5++; if (num5 == (int)this.imethod_7().short_0) { num2 += num; num3 -= num; num5 = 0; } i++; } Array.Clear(array2, num4, current.method_3().method_5() - num4); current.method_3().method_6(num4); } goto IL_27D; } } if (this.imethod_7().waveFormatTag_0 == WaveFormatTag.PCM) { using (Class19 @class = new Class19(this.int_0)) { foreach (Class158 current2 in this.queue_0) { short[] array3 = current2.method_3().method_2(); short[] array4 = Class19.smethod_0(@class); int num6 = this.stream1_0.vmethod_3(Class19.smethod_1(@class), this.int_0) >> 1; if (num6 == 0) { break; } int j = 0; int num7 = 0; while (j < num6) { array3[j] = (short)(num3 * (float)array3[j] + num2 * (float)array4[j]); num7++; if (num7 == (int)this.imethod_7().short_0) { num2 += num; num3 -= num; num7 = 0; } j++; } Array.Clear(array3, num6, current2.method_3().method_7() - num6); current2.method_3().method_8(num6); } } } IL_27D: GC.Collect(); this.stopwatch_0.Reset(); this.method_9(0); if (!this.bool_1) { if (waitCallback == null) { waitCallback = new WaitCallback(this.method_12); } ThreadPool.QueueUserWorkItem(waitCallback); } } } }
public static IntPtr smethod_1(Class19 class19_0) { return(class19_0.intptr_0); }
public static short[] smethod_0(Class19 class19_0) { return(Class17.smethod_0(class19_0.class17_0)); }
public static IntPtr smethod_1(Class19 class19_0) { return class19_0.intptr_0; }
public static short[] smethod_0(Class19 class19_0) { return Class17.smethod_0(class19_0.class17_0); }