Ignore:
Timestamp:
Aug 2, 2010, 11:30:35 PM (15 years ago)
Author:
David Azarewicz
Message:

Fix for when u32 byte counter wraps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OCO/trunk/drv16/waudio.cpp

    r526 r533  
    13601360        ulBytesPerIRQ = pConfigInfo->ulPCMConsumeRate >> 6;  // 64 interrupts per second
    13611361                                                                                                                 // we can tweak this as needed but generally this should do rjj
     1362#if 0 // commented out by DAZ
    13621363        // make sure it's an even multiple of 64
    13631364        ulBytesPerIRQ += 0x00000040;
     
    13671368                  ulBytesPerIRQ = 0x800;
    13681369        }
     1370#endif
    13691371        pConfigInfo->ulBytesPerIRQ = ulBytesPerIRQ;
    13701372        dprintf4(("WAVEAUDIO::ConfigDev BytesPerIRQ:%ld",ulBytesPerIRQ));
Note: See TracChangeset for help on using the changeset viewer.