git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8237
d7cf8633-e32d-0410-b094-
e92efae38249
unsigned int SndSys_GetSoundTime (void)
{
unsigned int factor;
- MMRESULT res;
- MMTIME mmtime;
factor = snd_renderbuffer->format.width * snd_renderbuffer->format.channels;
/*
* S_PaintAndSubmit: WARNING: newsoundtime (soundtime (275 < 134217707)
* apparently this sound time wraps quite early?
+ {
+ MMRESULT res;
+ MMTIME mmtime;
mmtime.wType = TIME_SAMPLES;
res = waveOutGetPosition(hWaveOut, &mmtime, sizeof(mmtime));
if(res == MMSYSERR_NOERROR)
return mmtime.u.sample;
-
+ }
*/
}