⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gsm_option.3

📁 gsm程序
💻 3
字号:
.\".\" Copyright 1992 by Jutta Degener and Carsten Bormann, Technische.\" Universitaet Berlin.  See the accompanying file "COPYRIGHT" for.\" details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE..\".PU.TH GSM_OPTION 3 .SH NAMEgsm_option \(em customizing the GSM 06.10 implementation.SH SYNOPSIS#include "gsm.h".PPint gsm_option(handle, option, valueP);.brgsm handle;.brint option;.brint * valueP;.SH "DESCRIPTION"Gsm is an implementation of the final draft GSM 06.10standard for full-rate speech transcoding, a lossyspeech compression algorithm..PPThe gsm_option() function can be used to set and query variousoptions or flags that are not needed for regular GSM 06.10 encodingor decoding, but might be of interest in special cases..PPThe second argument to gsm_option says what option should bechanged. The third argument is either a null pointer, in which casethe option is not changed, just returned;or it is a pointer to an integer containing the valueyou want to set, in which case the previous value willbe returned..PPThe following options are currently defined:.PP.I GSM_OPT_VERBOSEChange or query the GSM 06.10 implementation's verbosity level..br.in+5This option is only supported if the library was compiledwith debugging turned on, and may be used by developers ofcompression algorithms to aid debugging..brThe verbosity level can be changed at any time during encoding or decoding..in-5.sp.I GSM_OPT_FASTEnable, disable or query a faster compression algorithm..br.in+5This implementation offers a not strictly standard-compliant, butfaster compression algorithm that is compatible with the regularmethod..brThe value passed to .br.nf	gsm_option(handle, GSM_OPT_FAST, & value).nf.br functions as a boolean flag; if it is zero, the regular algorithmwill be used, if not, the faster version will be used..brThe availability of this option depends on the hardware used;if it is not available, gsm_option will return -1 on an attemptto set or query it..brThis option can be changed any time during encoding or decoding..in-5.SH "RETURN VALUE"gsm_option() returns -1 if an option is not supported, theprevious value of the option otherwise..SH BUGSPlease direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de..SH "SEE ALSO"toast(1), gsm(3), gsm_explode(3), gsm_print(3)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -