📄 get-3gpp-amr.sh
字号:
#!/bin/shif [ -f amr_float/interf_dec.c ]; then echo "AMR Reference code already seems to be present" exit 0fimkdir -p amr_floatcd amr_floatwget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-700.zip || exit 1unzip 26104-700.zip 26104-700_ANSI_C_source_code.zip || exit 1unzip 26104-700_ANSI_C_source_code.zip || exit 1mv c-code/* . || exit 1chmod u+w *.c *.h makefile.* readme.txt || exit 1rmdir c-code || exit 1mv typedef.h typedef.h.orig || exit 1cat <<EOF > typedef.h || exit 1#ifndef _TYPEDEF_H#define _TYPEDEF_H#include <stdint.h>typedef int8_t Word8;typedef uint8_t UWord8;typedef int16_t Word16;typedef int32_t Word32;typedef float Float32;typedef double Float64;#endifEOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -