codec_speex.h

来自「ppciaxclient softphone」· C头文件 代码 · 共 31 行

H
31
字号
/*
 * 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 + =
减小字号Ctrl + -
显示快捷键?