上一页 1 ··· 7 8 9 10 11
摘要: 1:当无法列出传递函数的所有实参的类型和数目时,可用省略号指定参数表void foo(...);void foo(parm_list,...);2:函数参数的传递原理函数参数是以数据结构:栈的形式存取,从右至左入栈.eg:#include <iostream>void fun(int a, ...){int *temp = &a;temp++;for (int i = 0; i < a; ++i){cout << *temp << endl;temp++;}}int main(){int a = 1;int b = 2;int c = 3;in 阅读全文
posted @ 2011-12-06 14:14 大约 阅读(473) 评论(0) 推荐(0)
摘要: 基于Speex回音消除,支持AEC,VAD,AGC,NS测试版本下载 阅读全文
posted @ 2011-11-24 15:26 大约 阅读(2626) 评论(0) 推荐(0)
摘要: 开发技术:jquery,js baidu map api,json,ajax 阅读全文
posted @ 2011-11-08 11:13 大约 阅读(1699) 评论(5) 推荐(0)
摘要: CeltCodec目前需要交叉编译器编译后才能正常在WIN平台上运行,我这里使用的是(mingw),编译成功会产生一个libcelt.a,另外需要讲libgcc.a也COPY到项目中才正常使用 g_dwNotifySize = (pwfxInput->nAvgBytesPerSec * 20)/ 1000;等分处理公式为: AudioLength=samplingrate * 采样时间(20ms) * channl * 2void TestCeltCodec(short * sAudio)/* sAudio需要编码的数据 */{ //初始化 int err,samplingrate=32 阅读全文
posted @ 2011-11-07 19:25 大约 阅读(846) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11