Ignore:
Timestamp:
09/28/06 18:15:21 (18 years ago)
Author:
r2d
Message:

added a PsyModel struct, too much members in it. some will be removed later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/r2d/src/wave_in.c

    r46 r60  
    272272    float*  s = data -> S + offset;
    273273
    274     ENTER(120);
    275 
    276274    // Read PCM data
    277275#ifdef _WIN32
     
    376374        }
    377375    }
    378 
    379     LEAVE(120);
    380376    return ReadSamples;
    381377}
     
    453449
    454450                                                                                                                // finally calculate number of samples
    455     if (type->PCMBytes >= 0xFFFFFF00  || 
    456                         type->PCMBytes == 0  || 
     451    if (type->PCMBytes >= 0xFFFFFF00  ||
     452                        type->PCMBytes == 0  ||
    457453                        (Uint32_t)type->PCMBytes % (type -> Channels * type->BytesPerSample) != 0) {
    458454                type->PCMSamples = 36000000 * type->SampleFreq;
Note: See TracChangeset for help on using the changeset viewer.