Ignore:
Timestamp:
Mar 9, 2000, 5:18:00 PM (25 years ago)
Author:
mike
Message:

Fixed volume/panning calculation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dsound/new/dsmixer.cpp

    r3027 r3050  
    5757   else
    5858      vol2 = inBuf->volume * (256 + inBuf->pan) / 256;
     59
    5960   len = inBuf->bufferdesc.dwBufferBytes / bytespersample * 1024;
    6061   if ((inBuf->lpfxFormat->nChannels == 2) && (inBuf->lpfxFormat->wBitsPerSample == 16)) {
Note: See TracChangeset for help on using the changeset viewer.