comparison playercode/mdriver.c @ 17:80fa6dd10e14

Fix some C++ 'ism's
author darius
date Thu, 23 Apr 1998 22:54:49 +0000
parents 437e8455d862
children
comparison
equal deleted inserted replaced
16:e5529b6e3b1c 17:80fa6dd10e14
259 259
260 if ((voice < 0) || (voice >= md_numchn)) 260 if ((voice < 0) || (voice >= md_numchn))
261 return; 261 return;
262 tmp = (ULONG) vol *(ULONG) md_volume * 262 tmp = (ULONG) vol *(ULONG) md_volume *
263 ((voice < md_sngchn) ? (ULONG) md_musicvolume : (ULONG) md_sndfxvolume); 263 ((voice < md_sngchn) ? (ULONG) md_musicvolume : (ULONG) md_sndfxvolume);
264 md_driver->VoiceSetVolume(voice, tmp / 16384 UL); 264 md_driver->VoiceSetVolume(voice, tmp / 16384);
265 } 265 }
266 266
267 267
268 void 268 void
269 Voice_SetFrequency(int voice, ULONG frq) 269 Voice_SetFrequency(int voice, ULONG frq)