public static long smethod_0(string string_0, Stream[] stream_0) { long length; using (FSBClass1 @class = new FSBClass1()) { @class.byte_0 = FSBClass2.fsbEncryptionKey; @class.enum20_0 = FSBEnum1.const_3; @class.enum21_0 = FSBFlags1.flag_0; for (int i = 0; i < stream_0.Length; i++) { Stream stream = stream_0[i]; stream.Position = 0L; Class16 class2 = AudioManager.smethod_3(stream); Class168 class3 = new Class168(); class3.FileName = i + ".mp3"; class3.enum22_0 = (((class2.method_0() == 1) ? FSBFlags2.flag_6 : FSBFlags2.flag_7) | FSBFlags2.flag_10); class3.int_0 = class2.method_3(); class3.ushort_0 = 255; class3.short_0 = 0; class3.ushort_1 = 255; class3.uint_3 = (uint)class2.method_0(); class3.uint_0 = class2.uint_0; class3.uint_1 = 0u; class3.uint_2 = class3.uint_0 - 1u; class3.float_2 = 1f; class3.float_3 = 10000f; class3.int_1 = 0; class3.short_1 = 0; class3.short_2 = -1; class3.stream_1 = stream; @class.method_33().Add(class3); } @class.method_16(string_0); length = new FileInfo(string_0).Length; } return(length); }
public static Class16 smethod_1(Stream stream_1, Class16 class16_0, int int_3) { return(Stream16.smethod_2(stream_1, class16_0.timeSpan_0, class16_0.method_3(), int_3, false)); }
public TimeSpan AudioLength() { return(TimeSpan.FromSeconds(vmethod_0() / (double)(_class160.method_3() * _class160.method_1()))); }
public static Class16 smethod_1(Stream stream1, Class16 class160, int int3) { return(smethod_2(stream1, class160.TimeSpan0, class160.method_3(), int3, false)); }