![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DirectShow
sichuanwww
VegaPrime/Android/LabWindows/Python/ThreeJS
展开
-
控件自适应图片长宽比例
HWND hDL=GetDlgItem(IDC_pic)->GetSafeHwnd(); //控件自适应图片长宽比例 int iWidth=::GetSystemMetrics(SM_CXSCREEN)-150; int iHeight=::GetSystemMetrics(SM_CYSCREEN)-120; if( (float)pFrame->width/iWid原创 2011-12-03 11:41:54 · 636 阅读 · 0 评论 -
调用API获取话筒声音
主要代码如下 设置wav文件格式的结构体 C/C++ code WAVEFORMATEX m_stWaveFrom; m_stWaveFrom.wFormatTag = WAVE_FORMAT_PCM; m_stWaveFrom.nChannels = 1; m_stWaveFrom.nSamplesPerSec = 8000; m_stWaveFrom.原创 2012-05-24 08:30:36 · 1635 阅读 · 0 评论