Encode:
1.fixed the bug that it will crash when set command line "-c  sc=1".
2.clean up the code
3.add the test.bat

Encode Command Line :

HVXCEncode -d 1 -m hvxc -r 2000 Ch_f1_8KHZ_1CH.wav -o Ch_f1_8KHZ_1CH_hvxc2.hvx
HVXCDecode -loss 0 Ch_f1_8KHZ_1CH_hvxc2.hvx  Ch_f1_8KHZ_1CH_hvxc2.wav
PESQ +8000 Ch_f1_8KHZ_1CH.wav Ch_f1_8KHZ_1CH_hvxc2.wav

HVXCEncode -d 1 -m hvxc -r 2000 -c  ef=1 Ch_f1_8KHZ_1CH.wav  -o Ch_f1_8KHZ_1CH_hvxc2ef.hvx
HVXCDecode -loss 0 Ch_f1_8KHZ_1CH_hvxc2ef.hvx  Ch_f1_8KHZ_1CH_hvxc2ef.wav
PESQ +8000 Ch_f1_8KHZ_1CH.wav Ch_f1_8KHZ_1CH_hvxc2ef.wav

HVXCEncode -d 1 -m hvxc -r 4000 -c  ef=1 Ch_f1_8KHZ_1CH.wav  -o Ch_f1_8KHZ_1CH_hvxc4ef.hvx
HVXCDecode -loss 0 Ch_f1_8KHZ_1CH_hvxc4ef.hvx  Ch_f1_8KHZ_1CH_hvxc4ef.wav
PESQ +8000 Ch_f1_8KHZ_1CH.wav Ch_f1_8KHZ_1CH_hvxc4ef.wav

HVXCEncode -d 1 -m hvxc -r 2000 -c  vr=1 Ch_f1_8KHZ_1CH.wav  -o Ch_f1_8KHZ_1CH_hvxc2vr.hvx
HVXCDecode -loss 0 Ch_f1_8KHZ_1CH_hvxc2vr.hvx  Ch_f1_8KHZ_1CH_hvxc2vr.wav
PESQ +8000 Ch_f1_8KHZ_1CH.wav Ch_f1_8KHZ_1CH_hvxc2vr.wav

HVXCEncode -d 1 -m hvxc -r 4000 -c  vr=1 Ch_f1_8KHZ_1CH.wav  -o Ch_f1_8KHZ_1CH_hvxc4vr.hvx
HVXCDecode -loss 0 Ch_f1_8KHZ_1CH_hvxc4vr.hvx  Ch_f1_8KHZ_1CH_hvxc4vr.w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