public Mp3Class(Stream stream1, int int5, Enum4 enum40, int int6) { _class810 = new ZzSoundClass81[int5]; for (var i = 0; i < _class810.Length; i++) { _class810[i] = new ZzSoundClass81(new Class104(enum40)); } FileStream = stream1; _class820 = new Class82(FileStream, int6); _int2 = _class820.method_2(); _long0 = -1L; _class1070 = null; if (!method_0()) { throw new Mp3Exception("Mp3 Decoder: Cannot read header."); } _short0 = 0; for (var j = 0; j < _class810.Length; j++) { _short0 += (short)_class810[j].method_2(); } _int4 = _class810[0].method_1(); WaveFormat0 = new WaveFormat(_int4, _short0); _double0 = WaveFormat0.int_0 * (WaveFormat0.short_1 / _class810.Length) / (_int3 / 8.0); _long1 = 0L; if (_class1070 != null && _class1070.method_10()) { _long0 = Convert.ToInt64(_class1070.method_18((int)(FileStream.Length - _int2) / _class810.Length) * (WaveFormat0.int_0 * (WaveFormat0.short_1 / 1000.0))); } if (_long0 <= 0L) { _long0 = (long)((FileStream.Length - _int2) * _double0); } }
public Mp3Stream(Stream stream1, Enum4 enum40, int int5) { _class810 = new ZzSoundClass81(new Class104(enum40)); FileStream = stream1; _class820 = new Class82(FileStream, int5); _int2 = _class820.method_2(); _long0 = -1L; _class1070 = null; if (!method_0()) { throw new Mp3Exception("Mp3 Decoder: Cannot read header."); } _short0 = (short)_class810.method_2(); _int4 = _class810.method_1(); WaveFormat0 = new WaveFormat(_int4, _short0); _double0 = WaveFormat0.int_0 * WaveFormat0.short_1 / (_int3 / 8.0); _long1 = 0L; if (_class1070 != null && _class1070.method_10()) { _long0 = Convert.ToInt64(_class1070.method_18((int)(FileStream.Length - _int2)) * (WaveFormat0.int_0 * (WaveFormat0.short_1 / 1000.0))); _class830 = _class1070.method_11(); if (_class830 != null && _class830.Int2 == -1) { _class830.Int2 = (int)(FileStream.Length - _int2); } } if (_long0 <= 0L) { _long0 = (long)((FileStream.Length - _int2) * _double0); } }
public override void vmethod_1(Class82 class820, ZzSoundClass class1070) { if (Int2 != 0) { Float3 = Float0[class820.method_13(6)]; } }
private void method_0() { _class1010 = new Class101[1]; _byte4 = new byte[4]; _byte3 = new byte[1732]; _int1 = new int[433]; _class1070 = new ZzSoundClass(); }
public override void vmethod_1(Class82 class820, ZzSoundClass class1070) { if (Int2 == 0) { return; } Float3 = Float0[class820.method_13(6)]; Float7 = Float0[class820.method_13(6)]; }
public virtual void vmethod_0(Class82 class821, ZzSoundClass class1071, Class80 class802, Class80 class803, Class84 class841, Enum4 enum41) { Class820 = class821; Class1070 = class1071; Class800 = class802; Class801 = class803; Class840 = class841; Enum40 = enum41; }
public Class84 method_5(ZzSoundClass class1070, Class82 class820) { if (!_bool0) { method_3(class1070); } var int_ = class1070.method_4(); _class840.method_6(); var @interface = method_4(class1070, class820, int_); @interface.imethod_0(); _class840.method_5(); return(_class840); }
public override void vmethod_0(Class82 class820, ZzSoundClass class1070, Class101 class1010) { if ((Int2 = class820.method_13(4)) == 15) { throw new DecoderException(DecoderError.IllegalSubbandAllocation, null); } if (class1010 != null) { class1010.method_0(Int2, 4); } if (Int2 != 0) { Int3 = Int2 + 1; Float5 = Float1[Int2]; Float6 = Float2[Int2]; } }
public ZzSoundClass method_3() { ZzSoundClass @class = null; try { @class = method_4(); if (_bool1) { @class.method_2(_byte3); _bool1 = false; } } catch (BitstreamException ex) { if (ex.Error == BitstreamError.InvalidFrame) { try { method_7(); @class = method_4(); goto IL_7A; } catch (BitstreamException ex2) { if (ex2.Error != BitstreamError.StreamEof) { throw new BitstreamException(ex2.Error, ex2); } goto IL_7A; } } if (ex.Error != BitstreamError.StreamEof) { throw new BitstreamException(ex.Error, ex); } IL_7A: ; } return(@class); }
private INterface7 method_4(ZzSoundClass class1070, Class82 class820, int int2) { INterface7 @interface = null; switch (int2) { case 1: if (_class920 == null) { _class920 = new Class92(); _class920.vmethod_0(class820, class1070, _class800, _class801, _class840, _class1041.method_0()); } @interface = _class920; break; case 2: if (_class930 == null) { _class930 = new Class93(); _class930.vmethod_0(class820, class1070, _class800, _class801, _class840, _class1041.method_0()); } @interface = _class930; break; case 3: if (_class850 == null) { _class850 = new Class85(class820, class1070, _class800, _class801, _class840, _class1041.method_0()); } @interface = _class850; break; } if (@interface == null) { throw new DecoderException(DecoderError.UnsupportedLayer, null); } return(@interface); }
private void method_3(ZzSoundClass class1070) { var @enum = class1070.method_8(); class1070.method_4(); var num = (@enum == Enum5.Const3 || _class1041.method_0() != Enum4.Const0) ? 1 : 2; if (_class840 == null) { _class840 = new Class84(num); } var float_ = _class1050.method_0(); _class800 = new Class80(0, float_); if (num == 2) { _class801 = new Class80(1, float_); } _int1 = num; _int0 = class1070.method_7(); _bool0 = true; }
public override void vmethod_0(Class82 class820, ZzSoundClass class1070, Class101 class1010) { Int2 = class820.method_13(4); Int4 = class820.method_13(4); if (class1010 != null) { class1010.method_0(Int2, 4); class1010.method_0(Int4, 4); } if (Int2 != 0) { Int3 = Int2 + 1; Float5 = Float1[Int2]; Float6 = Float2[Int2]; } if (Int4 != 0) { Int5 = Int4 + 1; Float9 = Float1[Int4]; Float10 = Float2[Int4]; } }
public bool method_1(int int5) { var @class = _class820.method_3(); if (@class == null) { return(false); } if (_class1070 == null) { _class1070 = @class; } try { _int3 = @class.method_21(); _class810[int5].method_5(@class, _class820); } finally { _class820.method_7(); } return(true); }
public abstract void vmethod_1(Class82 class820, ZzSoundClass class1070);
public abstract void vmethod_0(Class82 class820, ZzSoundClass class1070, Class101 class1010);
public override void vmethod_0(Class82 class820, ZzSoundClass class1070, Class101 class1010) { base.vmethod_0(class820, class1070, class1010); }