G
gorden
Unregistered / Unconfirmed
GUEST, unregistred user!
我的源文件格式是录出来的wav格式,保存为文件,用api转换为mp3格式,结果压缩率只有5倍多,不到六倍。
请高手指点为什么?
我的目标格式是这么设定的:
dstPwf =(WAVEFORMATEX *)(malloc(MaxSizeFormat));
memset(dstPwf,0,MaxSizeFormat);
dstPwf->cbSize=MaxSizeFormat;
dstPwf->wFormatTag=WAVE_FORMAT_MPEGLAYER3;
dstPwf->nChannels=1;
dstPwf->wBitsPerSample=8;
dstPwf->nBlockAlign=(dstPwf->nChannels*dstPwf->wBitsPerSample)/8;
dstPwf->nSamplesPerSec=2048;
dstPwf->nAvgBytesPerSec=(dstPwf->nChannels*dstPwf->wBitsPerSample*dstPwf->nSamplesPerSec)/8;
请高手指点为什么?
我的目标格式是这么设定的:
dstPwf =(WAVEFORMATEX *)(malloc(MaxSizeFormat));
memset(dstPwf,0,MaxSizeFormat);
dstPwf->cbSize=MaxSizeFormat;
dstPwf->wFormatTag=WAVE_FORMAT_MPEGLAYER3;
dstPwf->nChannels=1;
dstPwf->wBitsPerSample=8;
dstPwf->nBlockAlign=(dstPwf->nChannels*dstPwf->wBitsPerSample)/8;
dstPwf->nSamplesPerSec=2048;
dstPwf->nAvgBytesPerSec=(dstPwf->nChannels*dstPwf->wBitsPerSample*dstPwf->nSamplesPerSec)/8;