- PlaySoundEx( whichsound, samp[whichsound], NULL, TRUE);
- FSOUND_3D_SetAttributes(channels[whichsound], gLoc, vel);
- if(terrain.getOpacity(position[i].x,position[i].z)>.2)FSOUND_SetVolume(channels[whichsound], 128*findLengthfast(&bounceness));
- else FSOUND_SetVolume(channels[whichsound], 32*findLengthfast(&bounceness));
- FSOUND_SetPaused(channels[whichsound], FALSE);
+ PlaySoundEx( whichsound, samp[whichsound], NULL, true);
+ OPENAL_3D_SetAttributes(channels[whichsound], gLoc, vel);
+ if(terrain.getOpacity(position[i].x,position[i].z)>.2)OPENAL_SetVolume(channels[whichsound], 128*findLengthfast(&bounceness));
+ else OPENAL_SetVolume(channels[whichsound], 32*findLengthfast(&bounceness));
+ OPENAL_SetPaused(channels[whichsound], false);