Esempio n. 1
0
 // 读取文件名和先前构造好的参数对象(Job类调用)
 public cmdCode(string fp, cmdCode code)
 {
     this.filePath   = fp;
     this.profile    = code.profile;
     this.type       = code.type;
     this.kbps       = code.kbps;
     this.qp         = code.qp;
     this.isAutoALAC = code.isAutoALAC;
     this.outputPath = code.outputPath;
 }
Esempio n. 2
0
        //public void setConfig(string profile, string type, int q, bool isAutoALAC)
        //{
        //    this.codecProfile = profile;
        //    this.codecType = type;
        //    if (string.Equals(type, "TVBR") == true)
        //    {
        //        this.codecQuantity = q;
        //    } else
        //    {
        //        this.codecKbps = q;
        //    }
        //    this.isAutoALAC = isAutoALAC;
        //}

        public void setConfig(cmdCode code)
        {
            this.c = code;
        }