Mercurial > ~darius > hgwebdir.cgi > mikmod
diff playercode/mplayer.c @ 17:80fa6dd10e14
Fix some C++ 'ism's
author | darius |
---|---|
date | Thu, 23 Apr 1998 22:54:49 +0000 |
parents | 437e8455d862 |
children |
line wrap: on
line diff
--- a/playercode/mplayer.c Thu Apr 23 07:35:49 1998 +0000 +++ b/playercode/mplayer.c Thu Apr 23 22:54:49 1998 +0000 @@ -219,7 +219,7 @@ } } - tvol = 0xffffff UL; + tvol = 0xffffff; t = 0; p = 0; a = pf->voice; @@ -2453,7 +2453,7 @@ * samplevolume */ tmpvol *= envvol; /* * max 256 */ tmpvol *= pf->volume; /* * max 128 */ - tmpvol /= 4194304 UL; + tmpvol /= 4194304; if ((aout->masterchn != -1) && pf->control[aout->masterchn].muted) /* Channel Muting Line */ Voice_SetVolume(t, 0);