基本信息
源码名称:WAV录音播放机源码(VC2017编译,64位软件)
源码大小:94.77M
文件格式:.zip
开发语言:C/C++
更新时间:2021-03-23
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍
本实例能够完成对MIC端的录音,生成WAV,播放WAV。

SrcFormat.wFormatTag = WAVE_FORMAT_PCM;  //源音频格式
SrcFormat.nChannels = MyPasi->fStereo<<1;//1
SrcFormat.nSamplesPerSec =  MyPasi->lSamplingFreq;//22050;//8000;;
SrcFormat.nBlockAlign = 4;//1//数据快对齐:被4整除
SrcFormat.wBitsPerSample = 16;//8;//每个数据的大小:一个采样点(立体声)两个数据。576个样本:576*2*2bytes。
SrcFormat.cbSize = 0; //WAVEFORMATEXym = >16长度无cbsize扩展长度
SrcFormat.nAvgBytesPerSec = SrcFormat.nSamplesPerSec * 4;


【文件目录】

Myaudio2021wav

├── Myaudio2021
│   ├── HistogramCtrl.cpp
│   ├── HistogramCtrl.h
│   ├── Myaudio2021.aps
│   ├── Myaudio2021.cpp
│   ├── Myaudio2021.h
│   ├── Myaudio2021.rc
│   ├── Myaudio2021.vcxproj
│   ├── Myaudio2021.vcxproj.filters
│   ├── Myaudio2021.vcxproj.user
│   ├── Myaudio2021Dlg.cpp
│   ├── Myaudio2021Dlg.h
│   ├── ReadMe.txt
│   ├── WAVHead.cpp
│   ├── WAVHead.h
│   ├── mytag.h
│   ├── mytest.cpp
│   ├── mytest.h
│   ├── res
│   │   ├── Myaudio2021.ico
│   │   └── Myaudio2021.rc2
│   ├── resource.h
│   ├── sn.txt
│   ├── stdafx.cpp
│   ├── stdafx.h
│   ├── targetver.h
│   └── x64
│       └── Release
│           ├── HistogramCtrl.obj
│           ├── Myaudio2021.Build.CppClean.log
│           ├── Myaudio2021.log
│           ├── Myaudio2021.obj
│           ├── Myaudio2021.pch
│           ├── Myaudio2021.res
│           ├── Myaudio2021.tlog
│           │   ├── CL.command.1.tlog
│           │   ├── CL.read.1.tlog
│           │   ├── CL.write.1.tlog
│           │   ├── Myaudio2021.lastbuildstate
│           │   ├── link.command.1.tlog
│           │   ├── link.read.1.tlog
│           │   ├── link.write.1.tlog
│           │   ├── rc.command.1.tlog
│           │   ├── rc.read.1.tlog
│           │   └── rc.write.1.tlog
│           ├── Myaudio2021Dlg.obj
│           ├── WAVHead.obj
│           ├── mytest.obj
│           ├── stdafx.obj
│           └── vc141.pdb
├── Myaudio2021.sln
├── include
│   ├── HistogramCtrl.h
│   ├── adminpass.h
│   ├── music.h
│   ├── mytag.h
│   └── pch.h
├── lib
│   ├── adminpass.lib
│   ├── musiclib.lib
│   └── musiclib.pdb
└── x64
    └── Release
        ├── sn.txt
        └── 使用说明.docx

9 directories, 56 files