removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@677 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2012-05-30 09:00:12 +00:00
parent dbdd675552
commit 5c87f99ad5

View file

@ -862,9 +862,6 @@ static void GetSoundtime (void)
// it is possible to miscount buffers if it has wrapped twice between
// calls to S_Update. Oh well.
#ifdef __sun__
soundtime = SNDDMA_GetSamples();
#else
samplepos = SNDDMA_GetDMAPos();
if (samplepos < oldsamplepos)
@ -881,7 +878,6 @@ static void GetSoundtime (void)
oldsamplepos = samplepos;
soundtime = buffers*fullsamples + samplepos/shm->channels;
#endif
}
void S_ExtraUpdate (void)