CSPspEmu.Hle.Formats.audio.At3.MaiAT3PlusCoreDecoder.MAPCDSF_decodeTable2_Route0 C# (CSharp) Метод

MAPCDSF_decodeTable2_Route0() статический приватный Метод

static private MAPCDSF_decodeTable2_Route0 ( MaiBitReader mbr0, MaiAT3PlusCoreDecoderChnInfo chn_info ) : int
mbr0 CSPspEmu.Hle.Formats.audio.At3.SUB.MaiBitReader
chn_info MaiAT3PlusCoreDecoderChnInfo
Результат int
        static int MAPCDSF_decodeTable2_Route0(MaiBitReader mbr0, MaiAT3PlusCoreDecoderChnInfo chn_info)
        {
            int rs = 0;

            uint read_counter = chn_info.joint_chn_info.num_band_splited_used;
            if (mbr0.getWithI32Buffer(1) != 0)
            {
                read_counter = (uint)mbr0.getWithI32Buffer(5);
            }

            for (uint a0 = 0; a0 < read_counter; a0++)
            {
                if (chn_info.check_table0[a0] == 1) chn_info.table2[a0] = (uint)mbr0.getWithI32Buffer( ( (chn_info.joint_chn_info.var90 != 0) ? 3 : 2 ) ); //tmp4
                else if (chn_info.check_table0[a0] == 0) chn_info.table2[a0] = 0;
                else if (chn_info.check_table0[a0] == 2) chn_info.table2[a0] = (uint)mbr0.getWithI32Buffer(1);
                else
                {
                    rs = -12;
                    break;
                }
            }

            return rs;
        }
MaiAT3PlusCoreDecoder