91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

VC++開發(fā)環(huán)境,演示怎么音頻采集,并且進行了adpcm編碼,然后演示怎么網絡發(fā)送的源代碼

資源截圖

代碼片段和文件信息

/**********************************************/
/*????????????????????????????????????????????*/
/*****????Copyright?(c)?CMU????1993???????*****/
/*?Computer?Science?Speech?Group?????????????*/
/*?Chengxiang?Lu?and?Alex?Hauptmann???????????*/
/*????????????????????????????????????????????*/
/*??This?program?performs?the?encoder?for?the?*/
/*??64?kb/s?CCITT?ADPCM?codec.?It?reads?16kHz?*/
/*??sampled?14bit?PCM?values?and?writes?high??*/
/*??and?low?band?ADPCM?values(2bits?and?6bits*/
/*??respectively)?out.????????????????????????*/
/*????????????????????????????????????????????*/
/*??With?speed?of?0.4xreal-time?for?coder?????*/
/*??and?0.3xreal-time?for?decoder?on?NeXT.????*/
/*????????????????????????????????????????????*/
/*???????????????????????encoder??????????????*/?
/*??16kHzSamplingx16bit==============>64kb/s??*/
/*????????????????????????????????????????????*/
/**********************************************/

#include?
#include?“adpcm64_coder.h“



void?encode(short?data[NUM_INDATA]unsigned?short?outdata[NUM_OUTDATA]int?fd)
{
int?dlowt;
int?dhigh;
????int?j?k=1;????????????????/*?counter????????????????????????*/
??? int?ilow=0ihigh=0;
int?xlow?xhigh;???????????/*?low?and?high?band?pcm?from?qmf?*/

int?sumeven?sumodd;???????/*?even?and?odd?tap?accumulators??*/
int??il4?wd3;
int?ril?wd2?;
int?eh?mih;
int?ih2;
short??*datap;

register?int??el?mil?wd?wd1?hdu?;
register?int?*xp?*xp_2?*q6p;

????static?int?x[24]?=?????????/*?storage?for?signal?passing?????*/
???????????????????????????????????/*?through?the?qmf????????????????*/
????????????????{0?0?0?0?0?0
????????????????0?0?0?0?0?0
????????????????0?0?0?0?0?0
????????????????0?0?0?0?0?0};

static?int?q6[32]?=?{0?35?72?110?150?190?233?276?323
370?422?473?530?587?650?714?786
858?940?1023?1121?1219?1339?1458
1612?1765?1980?2195?2557?2919?0?0}?;

static?int?iln[32]?=?{0?63?62?31?30?29?28?27?26?25
24?23?22?21?20?19?18?17?16?15?14
13?12?11?10?9?8?7?6?5?4?0?}?;

static?int?ilp[32]?=?{0?61?60?59?58?57?56?55?54?53?52
51?50?49?48?47?46?45?44?43?42?41
40?39?38?37?36?35?34?33?32?0?}?;
/***************************?BLOCK?2L?********************************/

static?int?qm4[16]?=
{0 -20456 -12896 -8968
-6288 -4240 -2584 -1200
20456 12896 8968 6288
4240 2584 1200 0?}?;
/***************************?BLOCK?3L?********************************/
static?int?nbl?=?0?;
static?int?wl[8]?=?{-60?-30?58?172?334?538?1198?3042?}?;
static?int?rl42[16]?=?{0?7?6?5?4?3?2?1?7?6?5?4?3?2
1?0?}?;
static?int?ilb[32]?=?{2048?2093?2139?2186?2233?2282?2332
2383?2435?2489?2543?2599?2656?2714
2774?2834?2896?2960?3025?3091?3158
3228?3298?3371?3444?3520?3597?3676
3756?3838?3922?4008?}?;
static?int?ihn

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????21479??2002-09-19?11:33??音頻示例\adpcm64_coder.c

?????文件????????300??2002-09-19?13:02??音頻示例\adpcm64_coder.h

?????文件??????18804??2002-09-19?11:30??音頻示例\adpcm64_decoder.c

?????文件????????252??2002-09-19?13:02??音頻示例\adpcm64_decoder.h

?????文件??????10128??2001-06-28?20:15??音頻示例\AFXSOCK.H

?????文件??????34177??2000-03-11?17:16??音頻示例\Debug\demo.dll

?????文件?????135216??2012-01-26?15:08??音頻示例\Debug\s1.exe

?????文件?????264584??2012-01-26?15:08??音頻示例\Debug\s1.ilk

?????文件??????12791??2012-01-26?15:08??音頻示例\Debug\s1.obj

?????文件????5494584??2012-01-26?15:08??音頻示例\Debug\s1.pch

?????文件?????312320??2012-01-26?15:08??音頻示例\Debug\s1.pdb

?????文件???????2572??2012-01-26?15:08??音頻示例\Debug\s1.res

?????文件?????100413??2012-01-26?15:08??音頻示例\Debug\s1Dlg.obj

?????文件?????105593??2012-01-26?15:08??音頻示例\Debug\StdAfx.obj

?????文件?????222208??2012-01-26?15:08??音頻示例\Debug\vc60.idb

?????文件?????397312??2012-01-26?15:08??音頻示例\Debug\vc60.pdb

?????文件??????34177??2000-03-11?17:16??音頻示例\demo.dll

?????文件???????9816??2002-09-13?13:28??音頻示例\IPExport.h

?????文件??????14976??2002-06-05?17:25??音頻示例\IPHlpApi.h

?????文件??????29708??2000-02-02?22:11??音頻示例\IPHlpApi.Lib

?????文件???????7962??2002-09-13?13:28??音頻示例\IPTypes.h

?????文件???????1029??2002-09-25?11:39??音頻示例\MSTcpIP.h

?????文件???????3507??2002-08-22?09:37??音頻示例\ReadMe.txt

?????文件???????1078??2002-08-22?09:37??音頻示例\res\s1.ico

?????文件????????394??2002-08-22?09:37??音頻示例\res\s1.rc2

?????文件????????725??2002-09-28?08:30??音頻示例\resource.h

?????文件??????20668??2011-12-21?13:22??音頻示例\s1.aps

?????文件???????1044??2012-01-26?15:08??音頻示例\s1.clw

?????文件???????2105??2002-09-28?13:59??音頻示例\s1.cpp

?????文件???????4146??2002-09-28?16:32??音頻示例\s1.dsp

............此處省略16個文件信息

評論

共有 條評論