少年修仙传客户端代码仓库
client_Hale
2019-04-15 f99a0cd6ed9f5df666b19549e6a7de9bf9b9e9c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
namespace NSpeex
{
    using System;
 
    internal class SubMode
    {
        private readonly int bitsPerFrame;
        private readonly float combGain;
        private readonly int doubleCodebook;
        private readonly int forcedPitchGain;
        private readonly int haveSubframeGain;
        private readonly CodebookSearch innovation;
        private readonly int lbrPitch;
        private readonly float lpcEnhK1;
        private readonly float lpcEnhK2;
        private readonly LspQuant lsqQuant;
        private readonly NSpeex.Ltp ltp;
 
        public SubMode(int lbrPitch, int forcedPitchGain, int haveSubframeGain, int doubleCodebook, LspQuant lspQuant, NSpeex.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;
        }
 
        public int BitsPerFrame { get { return this.bitsPerFrame; } }
        public float CombGain { get { return this.combGain; } }
        public int DoubleCodebook { get { return this.doubleCodebook; } }
        public int ForcedPitchGain { get { return this.forcedPitchGain; } }
        public int HaveSubframeGain { get { return this.haveSubframeGain; } }
        public CodebookSearch Innovation { get { return this.innovation; } }
        public int LbrPitch { get { return this.lbrPitch; } }
        public float LpcEnhK1 { get { return this.lpcEnhK1; } }
        public float LpcEnhK2 { get { return this.lpcEnhK2; } }
        public LspQuant LsqQuant { get { return this.lsqQuant; } }
        public NSpeex.Ltp Ltp { get { return this.ltp; } }
 
    }
}