Changeset 323 for libmpc/trunk/mpcenc
- Timestamp:
- 05/12/07 12:43:05 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/mpcenc/mpcenc.c
r317 r323 1733 1733 memmove ( Main.S, Main.S + BLOCK, CENTER * sizeof(float) ); 1734 1734 1735 // adapt SamplesInWAV to the real number of contained samples 1736 if ( myfeof (Wave.fp) ) { 1737 stderr_printf ( "WAVE file has incorrect header: header: %.3f s, contents: %.3f s \n", 1738 (long double)(SamplesInWAVE) / m.SampleFreq, (long double)(AllSamplesRead) / m.SampleFreq); 1739 break; 1740 } 1741 1735 1742 // read samples 1736 1743 CurrentRead = Read_WAV_Samples ( &Wave, (int)minf(BLOCK, SamplesInWAVE - AllSamplesRead), &Main, CENTER, ScalingFactorl, ScalingFactorr, &Silence ); 1737 1744 AllSamplesRead += CurrentRead; 1738 1739 // adapt SamplesInWAV to the real number of contained samples1740 if ( myfeof (Wave.fp) ) {1741 stderr_printf ( "WAVE file has incorrect header: header: %.3f s, contents: %.3f s \n",1742 (long double)(SamplesInWAVE) / m.SampleFreq, (long double)(AllSamplesRead) / m.SampleFreq);1743 }1744 1745 } 1745 1746
Note: See TracChangeset
for help on using the changeset viewer.