C++调整PCM文件声音大小(windows)
C++调整PCM文件声音大小(windows)
FILE*ipcmfile;//音频文件
FILE*opcmfile;//音频文件
chardata[10];
intmain(intargc,char*argv[])
{
char*InPath="123.pcm";
char*OutPath="123_04.pcm";
fopen_s(&ipcmfile;,InPath,"rb");
fopen_s(&opcmfile;,OutPath,"wb");
if(NULL==ipcmfile)
{
printf("InPutfi
下载地址
用户评论