📄 codec_speex.h
字号:
/*
* iaxclient: a portable telephony toolkit
*
* Copyright (C) 2003-2004, Horizon Wimba, Inc.
*
* Steve Kann <stevek@stevek.com>
*
* This program is free software, distributed under the terms of
* the GNU Lesser (Library) General Public License
*/
#include "speex/speex.h"
#include "speex/speex_preprocess.h"
#define IAXC_SPEEX_TERMINATION_NORMAL 0 /* normal asterisk-compatible mode: send terminator at end of each "chunk" */
#define IAXC_SPEEX_TERMINATION_EVERY 1 /* include a terminator after each 20ms frame */
#define IAXC_SPEEX_TERMINATION_NONE 2 /* include no terminators at all, encode/decode one frame at a time */
struct iaxc_speex_settings {
int decode_enhance;
float quality;
int bitrate;
int vbr;
int abr; /* abr bitrate */
int complexity;
const SpeexMode *mode;
int termination_mode;
};
struct iaxc_audio_codec *iaxc_audio_codec_speex_new(struct iaxc_speex_settings *settings);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -