google-code-export / bitspersampleconv2

Automatically exported from code.google.com/p/bitspersampleconv2
0 stars 0 forks source link

Patch for /trunk/WWMFResamplerTest/main.cpp #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Commenting out two lines in ReadWavHeader function. If those lines are 
uncommented and if the sample size for the input file is 24 bit or 32 bit, then 
the resampler doesn't read the data chunk and hence, resampling fails although 
no error is shown. The output file contains only the header and no audio 
frames. Commenting out these two lines makes the resampler work fine.

Testing done:
Tested it with all combinations of the following sample sizes and sampling 
frequencies for input and output files:
Sample sizes: 16 bit, 24 bit, 32 bit
Sampling rate: 44.1 kHz, 48 kHz, 96 kHz, 192 kHz

Original issue reported on code.google.com by utkarshs...@gmail.com on 15 Oct 2013 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for feedback utkarshspat. patch is applied on Revision 3348

here is updated version:
http://bitspersampleconv2.googlecode.com/files/WWMFResamplerTest107.zip

Original comment by yamamoto2002@gmail.com on 27 Oct 2013 at 4:55