Changeset 60 for mppenc/branches/r2d/src/wave_in.c
- Timestamp:
- 09/28/06 18:15:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/r2d/src/wave_in.c
r46 r60 272 272 float* s = data -> S + offset; 273 273 274 ENTER(120);275 276 274 // Read PCM data 277 275 #ifdef _WIN32 … … 376 374 } 377 375 } 378 379 LEAVE(120);380 376 return ReadSamples; 381 377 } … … 453 449 454 450 // finally calculate number of samples 455 if (type->PCMBytes >= 0xFFFFFF00 || 456 type->PCMBytes == 0 || 451 if (type->PCMBytes >= 0xFFFFFF00 || 452 type->PCMBytes == 0 || 457 453 (Uint32_t)type->PCMBytes % (type -> Channels * type->BytesPerSample) != 0) { 458 454 type->PCMSamples = 36000000 * type->SampleFreq;
Note: See TracChangeset
for help on using the changeset viewer.