[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_sound.cpp,1.49,1.50
Max Horn
fingolfin at users.sourceforge.net
Fri Sep 12 19:00:07 CEST 2003
Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv11550/driver
Modified Files:
d_sound.cpp
Log Message:
YAEB
Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_sound.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- d_sound.cpp 13 Sep 2003 01:59:11 -0000 1.49
+++ d_sound.cpp 13 Sep 2003 01:59:57 -0000 1.50
@@ -717,7 +717,7 @@
// Until the mixer supports LE samples natively, we need to convert our LE ones to BE
for (int32 j = 0; j < (bufferSizeFx[fxi] / 2); j++)
- bufferFx[fxi][j] = TO_BE_16(bufferFx[fxi][j]);
+ bufferFx[fxi][j] = SWAP_BYTES_16(bufferFx[fxi][j]);
fxId[fxi] = id;
}
More information about the Scummvm-git-logs
mailing list