Example #1
0
 public SubMode(
     int lbrPitch,
     int forcedPitchGain,
     int haveSubframeGain,
     int doubleCodebook,
     LspQuant lspQuant,
     Ltp ltp,
     CodebookSearch innovation,
     float lpcEnhK1,
     float lpcEnhK2,
     float combGain,
     int bitsPerFrame)
 {
     this.lbrPitch         = lbrPitch;
     this.forcedPitchGain  = forcedPitchGain;
     this.haveSubframeGain = haveSubframeGain;
     this.doubleCodebook   = doubleCodebook;
     this.lsqQuant         = lspQuant;
     this.ltp          = ltp;
     this.innovation   = innovation;
     this.lpcEnhK1     = lpcEnhK1;
     this.lpcEnhK2     = lpcEnhK2;
     this.combGain     = combGain;
     this.bitsPerFrame = bitsPerFrame;
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="lbr_pitch"></param>
 /// <param name="forced_pitch_gain"></param>
 /// <param name="have_subframe_gain"></param>
 /// <param name="double_codebook"></param>
 /// <param name="lspQuant"></param>
 /// <param name="ltp"></param>
 /// <param name="innovation"></param>
 /// <param name="lpc_enh_k1"></param>
 /// <param name="lpc_enh_k2"></param>
 /// <param name="comb_gain"></param>
 /// <param name="bits_per_frame"></param>
 public SubMode(int lbr_pitch,
                int forced_pitch_gain,
                int have_subframe_gain,
                int double_codebook,
                LspQuant lspQuant,
                Ltp ltp,
                CbSearch innovation,
                float lpc_enh_k1,
                float lpc_enh_k2,
                float comb_gain,
                int bits_per_frame)
 {
     this.lbr_pitch          = lbr_pitch;
     this.forced_pitch_gain  = forced_pitch_gain;
     this.have_subframe_gain = have_subframe_gain;
     this.double_codebook    = double_codebook;
     this.lsqQuant           = lspQuant;
     this.ltp            = ltp;
     this.innovation     = innovation;
     this.lpc_enh_k1     = lpc_enh_k1;
     this.lpc_enh_k2     = lpc_enh_k2;
     this.comb_gain      = comb_gain;
     this.bits_per_frame = bits_per_frame;
 }